Redmine: Issueshttps://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292024-03-27T19:09:20ZRedmine
Redmine Redmine - Defect #40488 (New): Login page: the button 'Sign in' is displayed after clicking on t...https://www.redmine.org/issues/404882024-03-27T19:09:20ZАлександр Мазарчук
<strong>STR</strong> :
<ul>
<li>Open the login page</li>
<li>Navigate to 'Sign in' button</li>
<li>Click on the page on any place</li>
</ul>
<p><strong>Result</strong> :<br />The button 'Sign in' is displayed after clicking on the page according mockups</p>
<p><strong>Expected result:</strong><br />The button 'Sign in' is located on the page according to the mockups</p> Redmine - Defect #40449 (New): Add updated_on field in the issue journalhttps://www.redmine.org/issues/404492024-03-25T13:52:42ZThomas Hoffmann
<p>We would like to synchronize the redmine issues with our internal system via API.<br />For this purpose, we fetch the issues with:</p>
<pre>
curl -H "X-Redmine-API-Key: secret" "https://domain.com/issues/58.json?include=children%2Cattachments%2Crelations%2Cchangesets%2Cjournals%2Cwatchers%2Callowed_statuses" -vv
</pre>
<p>The journal is returned but we can't determine, which entry changed. <br />Therefore, it would be helpful to not only have the created_on but also the updated_on field.</p>
<p>The file app/views/issues/show.api.rsb needs an extra line at line 61:</p>
<p>...<br /> api.created_on journal.created_on<br /> <strong>api.updated_on journal.updated_on</strong><br /> api.private_notes journal.private_notes<br />...</p> Redmine - Defect #40448 (New): Accessing relations during issue destructionhttps://www.redmine.org/issues/404482024-03-25T12:19:11ZGuillaume Herpin
<p>Hello,</p>
<p>My goal is to propagate the deletion of an issue to change a custom field of the linked issue. So, I intercept the destruction of an issue.</p>
<p>I am encountering a problem with my script. During the destruction of an issue, I am unable to access the issue’s relations.</p>
<p>Is this a known and unsolvable problem due to the framework’s architecture, or am I just handling it very poorly?</p>
<p>Thank you in advance for your help.</p> Redmine - Defect #40362 (New): Autocomplete double hash keep system test failshttps://www.redmine.org/issues/403622024-03-07T16:40:16ZMassimo Rossello
<p>In latest versions of Redmine (5.0.8 and 5.1.2) the system test 'test_inline_autocomplete_for_issues_with_double_hash_keep_syntax' fails for no '.tribute-container' section is found</p> Redmine - Defect #40215 (New): 422 Invalid form authenticity token.https://www.redmine.org/issues/402152024-02-08T17:20:47ZMemphis admin
<p>Error 422 Invalid form authenticity token is poping when accessing redmine from a different subnet.</p> Redmine - Defect #40189 (New): about packaging and distribution on fedorahttps://www.redmine.org/issues/401892024-02-03T04:04:57ZNeftali Yagua
<p>We would like to package redmine for the fedora distribution, however we hace not found information in the sources about the licenses with the distribution is allowed.</p> Redmine - Defect #38833 (New): Alignment Issue with Custom Text Field in Redminehttps://www.redmine.org/issues/388332023-07-10T23:45:35ZMatt Savin
<p>Hello Redmine Developers,</p>
<p>I would like to bring an alignment issue to your attention regarding the Custom Text field in Redmine.</p>
<p>Currently, the Custom Text field is center aligned, whereas the Custom Long Text field is left aligned. It is generally considered a common convention to have text aligned to the left. Therefore, I would like to request if there is a way to make the Custom Text field left aligned, similar to the Custom Long Text field.</p>
<p>This alignment consistency would greatly improve the user experience and ensure a more cohesive design within Redmine.</p>
<p>Thank you for your attention to this matter. I appreciate your efforts in continuously improving Redmine and addressing user feedback.</p>
<p>Best regards,<br />Matt</p> Redmine - Defect #38581 (New): 2 different queries with the same fields on "My page" are not alignedhttps://www.redmine.org/issues/385812023-05-23T13:33:30Zthuruk thuruk
<p>I made a query for issues that need further feedback, and a query for those I'm working on currently. Both these queries are on "My page", but the columns aren't aligned.<br />Here is a screenshot of the same issue on this very Redmine :<br /><img src="https://www.redmine.org/attachments/download/30482/clipboard-202305231532-boi1g.png" alt="" /></p> Redmine - Defect #38177 (New): Authentification oauth2https://www.redmine.org/issues/381772023-01-12T20:28:44ZAntoine PINON
<p>Bonjour,<br />Suite à l’annonce de Microsoft, l’authentification basique sera désactivée en janvier 2023.<br />Comment m’assurer que Redmine supporte ce protocole d’authentification d’ici-là car le pool de mail ne fonctionnera plus.</p> Redmine - Defect #38025 (New): Add free SSL certificate to demo.redmine.orghttps://www.redmine.org/issues/380252022-12-08T16:00:55ZFrancewhoa (Francois Carpentier)
<p><strong>Challenge</strong></p>
<p>The challenge is that <a class="external" href="https://demo.redmine.org">https://demo.redmine.org</a> does not presently support secured connection (HTTPS). Details about this and screenshots are into this other issue/ticket <a class="issue tracker-1 status-1 priority-4 priority-default" title="Defect: demo.redmine.org SSL_ERROR_UNSUPPORTED_VERSION (New)" href="https://www.redmine.org/issues/38024">#38024</a>.</p>
<p><strong>Suggested Resolution</strong></p>
<p>How about adding a free, secure, and very popular Let's Encrypt SSL certificate ? Documentation is at <a class="external" href="https://letsencrypt.org">https://letsencrypt.org</a> Optionally, this type of certificate can automatically renew itself to any future new version of TLS.</p>
<p><strong>Contribution</strong></p>
<p>Any volunteer for adding an SSL certificate to <a class="external" href="https://demo.redmine.org">https://demo.redmine.org</a> ? Both me and the Ubertus.org team would be happy, as volunteer, to contribute testing and documentation, if needed.</p> Redmine - Defect #37552 (New): Accessibility, overview project/issue ; issues view, filters/optio...https://www.redmine.org/issues/375522022-08-04T13:19:54ZJohannes Fischer - dzb lesen
<p>Overview-page of a project or view-page of an issue: Sometimes there is an actions-button calling a menu. The button is visually recognizable by three dots ("..."). For example in the overview-page of a project there are the actions "new subproject", "close" and "configuration" in the menu, in the view mode of an issue there are the actions "copy link" and "delete" in this menu. There are two defects about this button:</p>
<ol>
<li>It is not keyboard-accessible. Reason: In HTML it is a <span>. Instead please use a <button> (or <a> with href-attribute), so that you can focus it by tab key and activate it by enter.</li>
<li>For screenreader users it is not obvious, when the menu is expanded and when collapsed. Please use an attribute aria-expanded on the <button> or <a href> and set the values according to the expanding-state by JavaScript: aria-expanded="true" while the menu is expanded and else aria-expanded="false".</li>
</ol>
<p>Both defects are also applicable on the issues view, expandable elements "filters" and "options". The difference is that in number 1 the button is not a <span>, but a <legend>. You could set a <button> before the <fieldset> and put the click event on the <button>. Number 2 is the same, aria-expanded is missing.</p>
<p>I work with German Centre for Accessible Reading and in the public sector we need to use accessible software.</p> Redmine - Defect #37550 (New): Accessibility, formatting buttons: focus order / accessibility label https://www.redmine.org/issues/375502022-08-04T09:13:53ZJohannes Fischer - dzb lesen
<p>Editing of issues, forum messages: The focus order (using tab key) of formatting buttons (above description textarea) is wrong. Reason: There are attributes <strong>tabindex="200"</strong> on the <button> elements in HTML. Can you please <strong>delete those tabindex-attributes</strong> (or set the value to "0")? It's important for users with mobility impairments who use only a keyboard for navigation, as with tabindex=200 the focus navigates first through the formatting buttons and after through all other interactive elements of the website.</p>
<p>Additionally those buttons have only an attribute title as accessibility label. Blind users work with a screenreader, but a screenreader does not read out a title always for sure. Please add an <strong>attribute aria-label</strong> with same content, for example aria-label="Strong" where you have title="Strong".</p> Redmine - Defect #37224 (New): Add watchers to issuehttps://www.redmine.org/issues/372242022-06-08T21:17:40ZLászló Bokodi
<p>I've upgraded my Redmine 3.4.2 to 5.0 and after upgrade I think i get wrong behaviour about adding watchers to existing issues (different from 3.4.2). I've tested it on clean bitnami Redmine 5.0 too.</p>
<p>I tested the next scenario:</p>
<p>I have 3 users and a group.</p>
<ul>
<li><strong>User 1</strong> has default <strong>Manager</strong> role. Manager role can see all issues except private issue (Issues visibility: <strong>All non private issues</strong>)</li>
<li><strong>User 2 is member of Group1</strong> and has <strong>CreatedOrAssigned</strong> role. This role's Issues visibilitiy is set to <strong>Issues created by or assigned to the user</strong>.</li>
<li><strong>Only SpentTime</strong> has <strong>OmlySpentTime</strong> role. This role can't do anything with issues.</li>
</ul>
<p>When i create a new issue in my test project, I can set all of them as whatchers.<br />But, when I want to add watcher to existing issue (no attached watchers on it), I can only set <strong>User 1</strong> and <strong>Group1 (without User 2)</strong>.</p>
<p>On Redmine 3.4.2 this wasn't problem.<br />I could add all users to existing issues as watchers.</p>
<p>I think this is the right behaviour with this sussgestion:<br />Don't show a user or a group on wathchers list (new or existing issue), which has only role(s) without issue visibility settings (like <strong>Only SpentTime</strong> user in my test).</p> Redmine - Defect #36229 (New): API - Question/Problemhttps://www.redmine.org/issues/362292021-11-23T20:04:34Zduane ellis
<p>So - I am using the Python-Redmine package - (it works but it is painful to figure out :-()</p>
<p>To create an issue, I need to get (pass) the USER ID [which I think is a number] to assign the issue to.</p>
<p>Problem: The get users api in the python package reports "Forbidden" - it is redmine that is rejecting the request to list all users ok - thats a permissions problem.</p>
<p>Since I cannot look up anybody (I do not have permissions) i need to have users on their own determine their USER ID, where in the displays can a person figure out their user id? Which as I understand is a number</p>
<p>Note: I think this is sort of comical - (A) I can't use the API to create an issue without an USER ID, and (B) I have no means to determine what the ID is via the API {permissions issue} and (C) the GUI/HTML interface does not show this in for example the "about user" display, therefore there is no means to use the API to create an issue. It's a bad security chicken and egg problem! Suggestions please?</p> Redmine - Defect #35872 (New): Attendee listbox ordering problem solutionhttps://www.redmine.org/issues/358722021-09-13T08:58:41ZOsman Yozgatlioglu
<p>!!</p> Redmine - Defect #35826 (New): a long time subversion diff blocked all other requestshttps://www.redmine.org/issues/358262021-08-30T07:11:05Zpeng wang
<p>I have a big changed revision in my repository and the 'diff' command may cost 5 minutes to show the difference between this revision and its last one, then when I click "View differences" to show the differences in redmine, the server will not response any other request from another browser, is there any thing I can do to avoid this issue?</p> Redmine - Defect #35359 (New): assignee dropdown list ascending orderhttps://www.redmine.org/issues/353592021-06-05T11:02:47ZSangram Jadhav
<p>How to filter assignee dropdown list by ascending order</p> Redmine - Defect #35224 (New): Adding new project impossible with mandatory custom field of type ...https://www.redmine.org/issues/352242021-05-10T19:35:59ZMarc Cramer
<p>Redmine: 4.1.2<br />Rails: 5.2.4.4<br />PostgreSQL: 12.5<br />No Plugins</p>
<p>I was just hit by this issue, kind of a logical bug:</p>
<p>I cannot add a new project if there is a mandatory custom field with a user<br />drop-down list, since there are no users initially--but I cannot add users<br />unless the project has been created...</p>
<p>To reproduce:</p>
<p>- Add a custom field to projects<br />- Field type: Users<br />- Make the field mandatory<br />- Try to add a new project</p>
<p>Expected behaviour:</p>
<p>- Find a prefilled list of users in the drop down<br />- Able to submit (create new project)</p>
<p>Current behaviour:</p>
<p>- User list is empty (possibly because the project has no users?)<br />- Toggling inheritage of users does not help<br />- Cannot submit project because the custom field is still empty but mandatory</p>
<p>Workaround:</p>
<p>- Make custom field optional<br />- Add project (with empty user selection)<br />- Add users to the project<br />- Edit project again and select user from drop down list</p>
<p>Am I missing something trivial?</p>
<p>Thanks</p> Redmine - Defect #35168 (New): Activity tab not showing recent datahttps://www.redmine.org/issues/351682021-04-27T06:02:20ZDavid L
<p>Even though I committed a change, it does not show up in Activity.</p>
<p>Issues, Changesets and News were enabled in the Activity view filters.</p>
<p>I have noticed this problem with regular issues in the past. I linked Redmine to revisions and now see it with that.</p> Redmine - Defect #35153 (New): Add a touch iconhttps://www.redmine.org/issues/351532021-04-25T10:56:26ZKota Shiratsuka
<p>The image was edited using <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/Logo">Logo</a></p> Redmine - Defect #34820 (New): Associated Revisions not shown up on Activity Pagehttps://www.redmine.org/issues/348202021-03-01T12:38:05ZAnonymous
<p>If I create a project and connect it to a Git repository and this project has one or more subprojects and I reference an issue of the subproject in the commit, then the "Associated revisions" are displayed under the issue, but not on the activity page of the Subproject displayed.</p>
<p>Someone know how to fix that ?</p> Redmine - Defect #34276 (New): Atom feeds of Issue lists don't respect the sort orderhttps://www.redmine.org/issues/342762020-11-17T21:51:13ZAndrew Mo
<p>When viewing lists of issues there are options to view the list as "Atom, CSV & PDF" output. The sorted content in the CSV & PDF output reflects the selected list settings in the current view, but that's not the case for the Atom feed. For my test instance with just a few Issues, the Atom list is always in descending order. Note that the same problem exists on this redmine.org site, but I can't work out what the sort order is here in the Atom feed - but it's not Ascending order, like I asked for.</p>
<p><strong>My Environment:</strong><br /> Redmine version 4.1.1.stable<br /> Ruby version 2.5.1-p57 (2018-03-29) [x86_64-linux-gnu]<br /> Rails version 5.2.4.2<br /> Environment production<br /> Database adapter PostgreSQL<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />SCM:<br /> Mercurial 4.5.3<br /> Git 2.17.1<br /> Filesystem<br />Redmine plugins:<br /> redmine_env_auth 1.1<br /> redmine_language_change 0.1.0<br /> redmine_wiki_lists 0.0.9</p> Redmine - Defect #34255 (New): Adding new group results in Error 500https://www.redmine.org/issues/342552020-11-12T17:59:07ZSven Culley
<p>When I try to add a new group (groups/new) I get an Error 500 with the following log message</p>
<pre><code>Completed 500 Internal Server Error in 15ms (ActiveRecord: 9.7ms)
ActiveRecord::NotNullViolation (Mysql2::Error: Field 'mail_notification' doesn't have a default value: INSERT INTO `users` (`login`, `hashed_password`, `firstname`, `lastname`, `created_on`, `updated_on`, `type`) VALUES ('', '', '', 'Group name', '2020-11-12 18:55:38', '2020-11-12 18:55:38', 'Group')):</code></pre>
<p>Details regarding Redmine</p>
<pre><code>Environment:
Redmine version 4.1.1.stable
Ruby version 2.5.5-p157 (2019-03-15) [x86_64-linux-gnu]
Rails version 5.2.4.2
Environment production
Database adapter Mysql2
</code></pre>
<p>Any suggestions on how to get this fixed?</p> Redmine - Defect #34108 (New): "Is duplicate of" and "Has duplicate" issue relations can be a cir...https://www.redmine.org/issues/341082020-10-13T03:50:04ZGo MAEDA
<p>You can make two issues circular reference with the following steps:</p>
<p>1. Suppose that there are two issues A and B<br />2. Open the issue A and add a "Is duplicate of" relation to issue B<br />3. Open the issue B and add a "Is duplicate of" relation to issue A</p>
<p>After the above operation, each of those two issues will have two relations against the opponent, "Has duplicate and Is duplicate of" (see the screenshot below). Such logically wrong relations should not be created.</p>
<p><img src="https://www.redmine.org/attachments/download/26068/circular-relation.png" style="width: 306px;border: 1px solid #ccc;" alt="" /></p>
<p>The curcular reference causes a serious problem when you try to close one of those issues. If you attempt to close the issue, Redmine raises SystemStackError exception and hangs.</p>
<pre>
SystemStackError (stack level too deep):
lib/plugins/acts_as_customizable/lib/acts_as_customizable.rb:92:in `detect'
lib/plugins/acts_as_customizable/lib/acts_as_customizable.rb:92:in `block in custom_field_values'
lib/plugins/acts_as_customizable/lib/acts_as_customizable.rb:81:in `collect'
lib/plugins/acts_as_customizable/lib/acts_as_customizable.rb:81:in `custom_field_values'
app/models/journal.rb:193:in `start'
app/models/journal.rb:77:in `initialize'
app/models/issue.rb:823:in `init_journal'
app/models/issue.rb:1859:in `block in close_duplicates'
app/models/issue.rb:1851:in `each'
app/models/issue.rb:1851:in `close_duplicates'
app/models/issue.rb:215:in `create_or_update'
app/models/issue.rb:1862:in `block in close_duplicates'
app/models/issue.rb:1851:in `each'
app/models/issue.rb:1851:in `close_duplicates'
app/models/issue.rb:215:in `create_or_update'
app/models/issue.rb:1862:in `block in close_duplicates'
app/models/issue.rb:1851:in `each'
app/models/issue.rb:1851:in `close_duplicates'
app/models/issue.rb:215:in `create_or_update'
app/models/issue.rb:1862:in `block in close_duplicates'
app/models/issue.rb:1851:in `each'
app/models/issue.rb:1851:in `close_duplicates'
app/models/issue.rb:215:in `create_or_update'
app/models/issue.rb:1862:in `block in close_duplicates'
app/models/issue.rb:1851:in `each'
app/models/issue.rb:1851:in `close_duplicates'
app/models/issue.rb:215:in `create_or_update'
app/models/issue.rb:1862:in `block in close_duplicates'
app/models/issue.rb:1851:in `each'
app/models/issue.rb:1851:in `close_duplicates'
app/models/issue.rb:215:in `create_or_update'
app/models/issue.rb:1862:in `block in close_duplicates'
app/models/issue.rb:1851:in `each'
</pre> Redmine - Defect #33702 (New): Allow pasting dates into date fieldshttps://www.redmine.org/issues/337022020-07-06T11:48:06ZMartin Wilber
<p>With the new release of Redmine, it is not possible to paste date values into date fields. The only mechanism is to use the date picker which is more time consuming when updating many dates.</p>
<p>The old release of Redmine allowed pasting into date fields.</p> Redmine - Defect #33629 (New): 403 on Versions via API and individual versions via WebUI and APIhttps://www.redmine.org/issues/336292020-06-18T15:07:06ZSeverin Schols
<p>When trying to get a listing of the project's version or information on an individual version via the API, Redmine replies with a 403 error. A similar happens when clicking a version, like in the file overview of a project, I get a 403 error as well.</p>
<p>My user does have permissions to edit versions for that project, I can see and modify them in the project's configuration. I have not found any other permission that might be missing here.</p>
<p>Am I missing anything, or is this actually a bug?</p>
<pre>
Environment:
Redmine version 4.1.0.stable
Ruby version 2.5.7-p206 (2019-10-01) [x86_64-linux]
Rails version 5.2.4.1
</pre> Redmine - Defect #33616 (New): Assignee & Author Dropdown Sorthttps://www.redmine.org/issues/336162020-06-17T14:38:13ZVictor Reinhart
<p>In Redmine 4.1.1.stable, the Assignee and Author dropdowns seems to be in a random order.<br />Redmine plugins:<br /> redmine_agile 1.5.3<br /> redmine_issue_dynamic_edit 0.7.2<br />In the "Issues" tab, we add "Assignee", and see:<br /><<me>><br />active (in bold)<br /> (a list of users in what seems like a random order)<br />locked (in bold)<br /> (a list of locked users in what seems like a random order)</p>
<p>Desired: A way to default the sort by first name, last name. About 100 users show in our dropdown, it is difficult to find the right person. We recently upgraded to 4.1.1 from version 2.something.</p>
<p>I tried looking in Administration, Settings, Display, and have "Users display format" in "First Last" setting. <br />The dropdown does display the names in First Last format.</p>
<p>They just are in the wrong order. They are not sorted by Last Name. They are not sorted by First Name. They are not sorted by Login. They are not sorted by creation date.</p>
<p>Please advise.</p>
<p>We use Redmine daily and really like it.<br />Thank you!</p> Redmine - Defect #33148 (New): application stuck if query with filter "Issue" and with large amou...https://www.redmine.org/issues/331482020-03-13T16:44:15ZTaine Woo
<p>Project -> Issue,<br />Add filter "Issue", operator "Is", value: please input a lot of IDs, such as 1,2,3,4,5,6,7.<br />If the amount of the IDs is too large (in my case, more than 200 IDs), the query is stuck, and there is not SIGQUIT signal sent to webserver to terminal the request.<br />The webserver will keep waiting for the application to response the request, passenger-status shows the CPU usages of the redmine process is 100%.<br />At this point, the webserver process can not response for further requests.<br />If you continue retry the query for more times to make all webserver process are occupied, all users can not use the webserver (always loading).</p>
<p>Please set the timeout for requests.</p> Redmine - Defect #32664 (New): Adding an empty reply to a forum message does not show any errorhttps://www.redmine.org/issues/326642019-12-20T00:45:35ZGo MAEDA
<p>Steps to reproduce:</p>
<p>1. Open any forum topic and click "Reply" <br />2. Attach any file and click "Submit" <br />3. You will see "Successful update" message but the reply is not added. The attachment is silently discarded</p>
<p>Expected behavior:</p>
<p>"Content cannot be blank" error should be shown.</p> Redmine - Defect #32610 (New): A inner join can be removedhttps://www.redmine.org/issues/326102019-12-11T17:24:53Zjwjw yy
<p>There is a query<br /><pre>
SELECT DISTINCT(issues.id) FROM issues INNER JOIN projects ON projects.id = issues.project_id INNER JOIN issue_statuses ON issue_statuses.id = issues.status_id LEFT OUTER JOIN users ON users.id = issues.assigned_to_id LEFT OUTER JOIN trackers ON trackers.id = issues.tracker_id LEFT OUTER JOIN enumerations ON enumerations.id = issues.priority_id AND enumerations.type IN ('IssuePriority') LEFT OUTER JOIN versions ON versions.id = issues.priority_id WHERE (projects.status <> 9 AND projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='issue_tracking')) AND ((issues.status_id IN (SELECT id FROM issue_statuses WHERE is_closed=0)) AND projects.id = 3821) ORDER BY issues.id DESC LIMIT 501;
</pre><br />which actually can be simplied due to the foreign key and presence constraint<br />-- remove LEFT OUTER JOIN (because of id being PK, already done by postgres)<br />-- remove INNER JOIN (because of FK; no need to add issues.project_id IS NOT NULL / issues.status_id IS NOT NULL because of constraint)<br />-- remove DISTINCT (FK)</p>
<p>After removing, the query becomes: <br /><pre>
SELECT issues.id FROM issues INNER JOIN projects ON projects.id = issues.project_id LEFT OUTER JOIN enumerations ON enumerations.id = issues.priority_id AND enumerations.type IN ('IssuePriority') WHERE (projects.status <> 9 AND projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='issue_tracking')) AND ((issues.status_id IN (SELECT id FROM issue_statuses WHERE is_closed=0)) AND projects.id = 3821) ORDER BY issues.id DESC LIMIT 501;
</pre></p>
<p>It can make the code easier to read and faster</p> Redmine - Defect #32193 (New): Add turn on/off button to control sending security notificationshttps://www.redmine.org/issues/321932019-10-04T05:17:58ZHinako Tajima
<p>For sending security notifications, I wish to add the function that to make possible with controlling turn on/off by configuration or management console.</p>
<p>セキュリティ通知メールの送信を設定でON/OFFできるようにしてほしい。</p> Redmine - Defect #32168 (New): Allow issue id with "#" prefix for the value of issue ids filterhttps://www.redmine.org/issues/321682019-09-29T01:27:15ZGo MAEDA
<p>I found an inconsistent behavior regarding issues filter.</p>
<p>"Parent task" and "Subtasks" filter accept issue ids with "#" prefix (e.g. #123), however, "Issues" filter does not. I think "Issues" filter should also behave the same.</p>
<table>
<tr>
<th>Filter value</th>
<th>"Parent task" / "Subtasks" filter </th>
<th>"Issue" filter </th>
</tr>
<tr>
<td> <code>10,11</code> </td>
<td> OK </td>
<td> OK </td>
</tr>
<tr>
<td> <code>#10,#11</code> </td>
<td> OK </td>
<td> "Issue is invalid" error </td>
</tr>
<tr>
<td> <code>10, 11</code> </td>
<td> OK </td>
<td> "Issue is invalid" error </td>
</tr>
</table>
<p><img src="https://www.redmine.org/attachments/download/24000/validation-error@2x.png" srcset="https://www.redmine.org/attachments/download/24000/validation-error@2x.png 2x" style="width: 548px;border: 1px solid #ccc;" alt="" /></p> Redmine - Defect #31972 (New): An empty group_count badge is displayed when grouped with created_onhttps://www.redmine.org/issues/319722019-08-29T02:09:34ZMizuki ISHIKAWA
Reproduction procedure
<ul>
<li>Use MySQL</li>
<li><a href="https://dev.mysql.com/doc/refman/5.6/en/mysql-tzinfo-to-sql.html" class="external">Time zone data</a> is not loaded</li>
<li>Change user language from UTC to something else</li>
<li>Group by created_on at issues/index</li>
</ul>
<p>When the above conditions are met, the group_count badge will be displayed as empty as shown in the screenshot.<br /><img src="https://www.redmine.org/attachments/download/23727/ScreenShot-2019-08-29-10.49.27.png" style="width: 500px;border: 1px solid #ccc;" alt="" /></p>
<p>It doesn't matter if group_count is nil because MySQL doesn't get group_count if it doesn't load time zone data.<br />The problem is that an empty badge is displayed at that time.</p>
<p>Badge should also be hidden if group_count is not successfully acquired(like <a href="http://www.redmine.org/projects/redmine/repository/entry/trunk/app/views/timelog/_list.html.erb#L25" class="external">timelog</a>).</p>
<p>This is a problem with trunk.</p> Redmine - Defect #31957 (New): ActionMailer need to limit how many maximum connections it opens https://www.redmine.org/issues/319572019-08-27T08:44:55Zstrhuan blomquist
<p>Microsoft office 365 smtp server has made some changes that will cause<br />this error message</p>
<p>Email delivery error: 432 4.3.2 STOREDRV.ClientSubmit; sender thread limit exceeded <br />basically</p>
<p>New throttling limit for concurrent connections that submit messages<br />The service has various limits to prevent abuse and to ensure fair use. An additional limit is being added. Under the new limit, up to three concurrent connections are allowed to send email messages at the same time. If an application tries to send more than three messages at the same time by using multiple connections, each connection will receive the following error message:</p>
<p>432 4.3.2 STOREDRV.ClientSubmit; sender thread limit exceeded</p>
<p><a class="external" href="https://docs.microsoft.com/en-us/exchange/troubleshoot/send-emails/smtp-submission-improvements">https://docs.microsoft.com/en-us/exchange/troubleshoot/send-emails/smtp-submission-improvements</a></p>
<p>other projects have worked around it by introducing a <br />maxConnections: 3 limitation to there mailers<br />ex</p>
<p><a class="external" href="https://support.sisense.com/hc/en-us/community/posts/360029660673--Custom-SMTP-Email-Server-Solution-for-Outlook365-error-432-4-3-2-STOREDRV-ClientSubmit-sender-thread-limit-exceeded-">https://support.sisense.com/hc/en-us/community/posts/360029660673--Custom-SMTP-Email-Server-Solution-for-Outlook365-error-432-4-3-2-STOREDRV-ClientSubmit-sender-thread-limit-exceeded-</a></p>
<p>my setup</p>
<p>Environment:<br /> Redmine version 4.0.2.stable<br /> Ruby version 2.6.1-p33 (2019-01-30) [x86_64-linux]<br /> Rails version 5.2.2<br /> Environment production<br /> Database adapter Mysql2<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp</p> Redmine - Defect #31932 (New): Add Sponsor in the Group Results By Drop Down for Custom Querieshttps://www.redmine.org/issues/319322019-08-21T16:22:24ZRazmig Varsam
<p>Is it possible to add the Sponsor in the Group Results By drop down section in the custom query section? Right now, that option is not there and I find that it's beneficial to sort tickets by Sponsor by not having to export to Excel or Google Sheets to do so.</p>
<p>I know that you can more than one Sponsor per ticket so I don't know if that's the issue.</p> Redmine - Defect #31912 (New): ActionView::Template::Error (undefined method `name' for nil:NilCl...https://www.redmine.org/issues/319122019-08-16T05:31:26ZAnonymous
<p>Got this error and didn't know, what to do.</p>
<pre>
85:
86: <p><strong><%=l(:field_description)%></strong></p>
87: <div class="wiki">
88: <%= textilizable @issue, :description, :attachments => @issue.attachments %>
89: </div>
90: </div>
91: <% end %>
app/helpers/application_helper.rb:899:in `block in parse_redmine_links'
app/helpers/application_helper.rb:845:in `gsub!'
app/helpers/application_helper.rb:845:in `parse_redmine_links'
app/helpers/application_helper.rb:666:in `block (2 levels) in textilizable'
app/helpers/application_helper.rb:665:in `each'
app/helpers/application_helper.rb:665:in `block in textilizable'
app/helpers/application_helper.rb:686:in `parse_non_pre_blocks'
app/helpers/application_helper.rb:664:in `textilizable'
app/views/issues/show.html.erb:88:in `_app_views_issues_show_html_erb___1321938688800518045_47270008401700'
app/controllers/issues_controller.rb:106:in `block (2 levels) in show'
app/controllers/issues_controller.rb:99:in `show'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
</pre>
<pre>
Environment:
Redmine version 3.4.4.stable
Ruby version 2.5.1-p57 (2018-03-29) [x86_64-linux-gnu]
Rails version 4.2.10
Environment production
Database adapter Mysql2
SCM:
Git 2.17.1
Filesystem
Redmine plugins:
no plugin installed
</pre> Redmine - Defect #31710 (New): Assigned on search issues not ordered by namehttps://www.redmine.org/issues/317102019-07-11T18:43:05ZHynek Petrla
<p>assigned_to_values isn't ordered by user name.</p>
<p>Fix:<br />Posiible fix, change line in query.rb to:<br />assigned_to_values += (Setting.issue_group_assignment? ? principals : users).sort_by{|h| [ h.status, h.name ]}.collect{|s| [s.name, s.id.to_s, l("status_#{User::LABEL_BY_STATUS[s.status]}")] }</p> Redmine - Defect #31345 (New): Author names in "Commits per author" statistics is unreadable if t...https://www.redmine.org/issues/313452019-05-12T05:41:53ZGo MAEDA
<p>You can see a live example on <a class="external" href="https://bugs.ruby-lang.org/projects/ruby-trunk/repository/git/statistics">https://bugs.ruby-lang.org/projects/ruby-trunk/repository/git/statistics</a> (login required).</p>
<p><img src="https://www.redmine.org/attachments/download/23029/commits-per-author@2x.png" srcset="https://www.redmine.org/attachments/download/23029/commits-per-author@2x.png 2x" style="width: 856px;" alt="" /></p> Redmine - Defect #31111 (New): About custom fields in List format or Key/value list formathttps://www.redmine.org/issues/311112019-03-28T07:17:42ZAyami Yasuoka
<p>1.<br />Format:List<br />If you change the contents of the list, the change is not reflected at all in past issues.</p>
<p>2.<br />Format:Key/value list<br />If you change the contents of the list, the change will be reflected in all past issues.</p>
<p>I want a function that falls in the middle of these(No.1 & No.2).<br />For example, when changing the contents of the list on the “Custom field” edit screen of the management menu, check the check box of the project for which the change is to be reflected.<br />When you press the "save" button, all changes will be reflected in the project issues checked in the checkbox.</p> Redmine - Defect #30771 (New): Author of issue is listed at assignee drop boxhttps://www.redmine.org/issues/307712019-02-07T12:55:39ZVD DV
<p>The issue author that has role with disabled "Issues can be assigned to this role" is still listed at Assignee dropbox (while editing the issue).</p> Redmine - Defect #29819 (New): 3.4.6, SQLSERVER 2014. Incorrect syntax near 'OFFSET'https://www.redmine.org/issues/298192018-10-19T14:43:02ZNathan Biggs
<p>I'm trying to setup a new Redmine instance of version 3.4.6 using SQLSERVER 2014. When I run rake db:migrate I get the following error.</p>
62 InsertBuiltinRoles: migrating =========================================<br />rake aborted!<br />StandardError: An error has occurred, this and all later migrations canceled:
<p>TinyTds::Error: Incorrect syntax near 'OFFSET'.: EXEC sp_executesql N'SELECT 1 AS one FROM [roles] WHERE [roles].[name] = N''Non member'' COLLATE Latin1_General_CS_AS_WS ORDER BY [roles].[id] ASC OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY'<br />C:/Sites/redmine346/db/migrate/062_insert_builtin_roles.rb:6:in `up'<br />C:in `migrate'</p>
<p>Caused by:<br />ActiveRecord::StatementInvalid: TinyTds::Error: Incorrect syntax near 'OFFSET'.: EXEC sp_executesql N'SELECT 1 AS one FROM [roles] WHERE [roles].[name] = N''Non member'' COLLATE Latin1_General_CS_AS_WS ORDER BY [roles].[id] ASC OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY'<br />C:/Sites/redmine346/db/migrate/062_insert_builtin_roles.rb:6:in `up'<br />C:in `migrate'</p>
<p>Caused by:<br />TinyTds::Error: Incorrect syntax near 'OFFSET'.<br />C:/Sites/redmine346/db/migrate/062_insert_builtin_roles.rb:6:in `up'<br />C:in `migrate'<br />Tasks: TOP => db:migrate<br />(See full trace by running task with --trace)</p>
<p>Any suggestions would be greatly appreciated</p> Redmine - Defect #29681 (New): "x%x%" is rendered as "&" in Textile formatterhttps://www.redmine.org/issues/296812018-09-27T01:17:20ZGo MAEDA
<p>The character sequence described in the subject is always rendered as "&" in Textile formatter. You can easily reproduce this issue by entering the sequence in a description field of an issue.</p>
<p>You see '<code>=> "&"</code>' in the second line of the following text. Actually, it is 'x % x %" (I cannot spell it without spaces due to the bug).</p>
<pre>
2.3.3 :001 > ['x', '%', 'x', '%'].join
=> "&"
</pre> Redmine - Defect #29625 (New): application.css imported by themes not covered by cache control ve...https://www.redmine.org/issues/296252018-09-17T15:47:10ZT Goeg
<p>The subject and <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Browser js/css cache remains after upgrade (Closed)" href="https://www.redmine.org/issues/24617#note-12">#24617-12</a> pretty much says it all.</p>
<p>After an update, the old application.css still gets used by browsers' caches, with no means other than renaming the file and its import statements in the used theme to force cache invalidation.</p>
<p>Partial workaround:<br />public/themes/<activetheme>/stylesheets/application.css</p>
<p>Change import statement<br />@import url(../../../stylesheets/application.css);</p>
<p>to some other name (e.g. application_v2.css)</p>
<p>Rename public/stylesheets/application.css to e.g. application_v2.css</p>
<p>Also apply the cache control hack in the mentioned ticket.</p>
<p>However, you can still never go back to application.css as browsers will still keep it cached forever. A fix is needed that makes the filename unique on every update, much like all other resources.<br />This may also affect other resources delivered by themes (e.g. images), so a best practice should be given for how to avoid that as well.</p> Redmine - Defect #29622 (New): Adding a 'Custom Field' to 'Activities (time tracking)' prevents t...https://www.redmine.org/issues/296222018-09-17T08:36:05ZErcan Demirel
<p>Two projects have identical values for time tracking activity and custom field:</p>
<p><a class="attachment" href="https://www.redmine.org/attachments/21441">field_work_settings.png</a><br /><a class="attachment" href="https://www.redmine.org/attachments/21440">consulting_settings.png</a></p>
<p>But if you try to move an issue from one project to the other and create a time entry with that time tracking activity, the following errors occur:</p>
<p><a class="attachment" href="https://www.redmine.org/attachments/21442">time_entry_error.png</a></p>
<p>The validation for the time entry should not fail, since both projects have the same activity with the same custom field value.</p>
<p>Our workflow dictates to create a time entry on every issue update, regardless of the content of the update. So moving the issue to another project, then creating a time entry is out of the question.</p>
<p>Seperate values for identical activities can be seen in the database, so inclusion validation always seems to fail:</p>
<pre>
19 | QA | 3 | f | TimeEntryActivity | t | 3 | 14 |
18 | QA | 3 | f | TimeEntryActivity | t | 2 | 14 |
14 | QA | 3 | f | TimeEntryActivity | t | | |
</pre> Redmine - Defect #29450 (New): Addressing the test issues and spammer problems on Redmine.orghttps://www.redmine.org/issues/294502018-08-28T14:00:53ZAnonymous
<p>It seems that people often create the test issues on Redmine.org, potentially due to low discoverability of the demo site for Redmine and the identical design of both <strong>redmine.org</strong> and <strong>demo.redmine.org</strong> which is confusing.<br />To solve this problem, the following propositions might be the best:<br />1. Have a different landing page for Redmine.org (it's even better if it will be multilingual) which would look more modern, serve more of a presentation purpose and clearly point out that there is a demo site specifically for testing, then finally link to different modules of Redmine's Redmine. A great inspiration site for Redmine could be the one made for [Blender](<a class="external" href="https://www.blender.org">https://www.blender.org</a>).<br />2. Edit the yellow box message when submitting the new issue (see the attachment), where the first line would be the explanation with the <ins>bold</ins> and <ins>red text</ins>, urging users not to submit test issues and instead use the Demo site.</p>
<p>Best Regards.</p> Redmine - Defect #29158 (New): API don't shows value label of a costum fieldhttps://www.redmine.org/issues/291582018-06-29T07:32:32ZKonrad Kreitmair
<a name="General-informations"></a>
<h3 >General informations<a href="#General-informations" class="wiki-anchor">¶</a></h3>
<p><strong>Ruby version:</strong> 2.1.5-p273<br /><strong>Rails version:</strong> 4.2.8 <br /><strong>Redmine version:</strong> 3.4.4.stable.17183</p>
<a name="Informations-about-the-specification-of-the-custom-field"></a>
<h3 >Informations about the specification of the custom field<a href="#Informations-about-the-specification-of-the-custom-field" class="wiki-anchor">¶</a></h3>
<p><strong>Format:</strong> Key/value list<br /><strong>Multiple values:</strong> True<br /><strong>Display:</strong> checkboxes<br /><strong>Required:</strong> no<br /><strong>Used as a filter:</strong> no<br /><strong>Visible:</strong> to any users<br /><strong>Trackers:</strong> Patch<br /><strong>Projects:</strong> a subproject</p>
<a name="The-Problem"></a>
<h3 >The Problem<a href="#The-Problem" class="wiki-anchor">¶</a></h3>
<p>In the response of an API call for an issue (<url>/1234.xml) with an custom field specified, i find a custom field element like this:<br /><pre><code class="xml syntaxhl"><span class="nt"><custom_field</span> <span class="na">id=</span><span class="s">"1"</span> <span class="na">name=</span><span class="s">"applied-to"</span> <span class="na">multiple=</span><span class="s">"true"</span><span class="nt">></span>
<span class="nt"><value</span> <span class="na">type=</span><span class="s">"array"</span><span class="nt">></span>
<span class="nt"><value></span>1<span class="nt"></value></span>
<span class="nt"><value></span>2<span class="nt"></value></span>
<span class="nt"><value></span>3<span class="nt"></value></span>
<span class="nt"></value></span>
<span class="nt"></custom_field></span>
</code></pre></p>
<p>So the problem is, that i get back the values of the custom field, but not the labels for this values.</p>
<p>When i visit the webpage for this issue, the labels of the values are displayed, so it is no permission issue.</p> Redmine - Defect #28871 (New): Adding the window AD activity directory to verify redmine permissi...https://www.redmine.org/issues/288712018-05-24T07:59:55Zkui liu
<p>LDAP validation information is shown in the attached diagram below, and the window AD server test is successful; add users and validate the LDAP auth that just created. Failed to login with new user redmine; login user: domain \users or users</p> Redmine - Defect #28705 (New): 403/Not allowed on issue view for non member usershttps://www.redmine.org/issues/287052018-05-08T09:00:49ZJens Stein
<p>I translate "Non member users" as a group of users which are authenticated but not otherwise authorised to access a project.<br />So everybody who is able to log-in but is not a member of the project should be in that group.</p>
<p>We added the group "Nicht-Mitglieder" (which is the translated version of "Non member users") in a role called "TicketViewer" to some of our projects and authenticated (so not anonymous) users are not able to view the issues in the project.</p>
<p>The TicketViewer role is a very basic role simply allowing to view tickets and see the watchlist (maybe it is needed to enable self-adding to the watchlist).</p>
<p>We use Redmine 3.3.4.stable.16947.</p>
<p>Unfortunately nobody except explicitly added users is able to view the issues.<br />We don't want to add everybody in the house to the several projects (that would mean to add 1000+ employees plus several partners in/of the company) and everybody would receive notifications and updates of the wiki, news, forums etc. and would be able to view all entities of these information types (because there is no option to administer the permissions to access the several moduls and/or restrict access to news, forums etc.).</p>
<p>I add screenshots of the added role in an example project and the roles configuration.<br />Maybe i made a error on setting it up.<br />Is there any other way to ensure a group (and it should be a dynamically changing group of authenticated users - e.g. employees which don't belong to the project as reporters, developers or any other set of roles/functions within the project), let's call them authenticated non-members,</p>
<pre><code>authenticated non-members are able to view tickets<br /> authenticated non-members are not able to view any other module<br /> authenticated non-members are enabled to add themselves to the watchlist<br /> authenticated non-members won't receive any news or forum notifications</code></pre>
<p>Any advice, tipps, workarounds?<br />I added a comment on the problem to the closest existing ticket <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Restricted permissions for non member/anonymous on a given project not working (Closed)" href="https://www.redmine.org/issues/23655">#23655</a>.</p>
<p>Thanks in advance,</p>
<p>JT</p> Redmine - Defect #28404 (New): "Cancel" does not cancel a ticket updatehttps://www.redmine.org/issues/284042018-03-22T11:49:57ZMoritz Winter
<p>If I start to update a ticket (e.g. write some notes) and then hit the cancel button I would expect all my changes to be deleted. If I update the ticket again without reloading the page all previously made (but canceled) changes are still there.<br />This behavior caused some confusion among our users. Is there a possibility this could be fixed?</p>
<p>Redmine version: 3.4.3<br />Ruby version: 2.3.0<br />Rails version: 4.2.8</p> Redmine - Defect #27566 (New): API can add custom fields journal entry although it is disabled on...https://www.redmine.org/issues/275662017-11-19T09:59:41ZMaria Oskar
<p><strong>What we do:</strong></p>
<ol>
<li>Create Custom Field</li>
<li>Set
<ul>
<li>Visible: to any users</li>
<li>Trackers: Uncheck all</li>
<li>Projects: Uncheck all</li>
</ul></li>
</ol>
<p><a class="thumbnail" title="settings" href="https://www.redmine.org/attachments/19527"><img alt="settings.JPG" src="https://www.redmine.org/attachments/thumbnail/19527/300" /></a></p>
<p><strong>What we have:</strong><br />This way we can't edit or view this custom fields in any issues.<br />This custom field will not be seen in issues.</p>
<p>But we can add any value to this field programmatically in a plugin using the CustomValue model. And we can add an entry to the Journal about changing this field using the JournalDetails model.<br />At the same time, according to our settings: the issue should not have this field.</p>
<p>After these actions on the issue page:<br />We don’t see the field and its value<br />But we can see journal entries about changes in this field (that should not be).</p>
<p><a class="thumbnail" title="settings" href="https://www.redmine.org/attachments/19528"><img alt="journal_entries.JPG" src="https://www.redmine.org/attachments/thumbnail/19528/300" /></a></p>
<p>I think it's better to get an error when we try to change a value of the field that does not exist in an issue and add an entry to the journal.<br />It turns out that field settings don’t mean anything.<br />The field is simply hidden. Despite we have special settings to change visibility.<br />Values of custom fields and journal details are not checked on matching the field settings before saving.<br />This behavior is controversial and someone can use it for their own purposes.</p>
<p><strong>We have some questions</strong></p>
<p>First of all, we need your feedback on following questions:</p>
<ul>
<li>Is this behavior correct, undesirable or incorrect?</li>
<li>Can we base our solutions on this behavior?</li>
<li>Can we use this behavior for their own purposes in plugins development?</li>
<li>Is it better to avoid using this behavior?</li>
</ul>
<p><em>Thanks!</em></p> Redmine - Defect #27300 (New): Annoying login prompt when accessing content on redmine.orghttps://www.redmine.org/issues/273002017-10-25T13:17:01ZMartin von Wittich
<p>Hi,</p>
<p>I often google for something redmine-related, e.g. "redmine plugins", and I then I follow one of the links, e.g. to <a class="external" href="http://www.redmine.org/plugins">http://www.redmine.org/plugins</a> .</p>
<p>Unfortunately, many times I get a login form instead of the requested page although the page in question could be easily served without me being logged in. My browser automatically fills the form fields with my login data so all I have to do is to click on "Login", but the login form then unfortunately redirects me to <a class="external" href="http://www.redmine.org/my/page">http://www.redmine.org/my/page</a> instead of the requested site which makes this issue very annoying.</p>
<p>I don't know what exactly is triggering this; I tried to reproduce it by manually removing my session cookie, but I was unable to manually reproduce this issue. Maybe the session has to expire on the server side to cause it?</p> Redmine - Defect #26321 (New): Activity view should not show raw texthttps://www.redmine.org/issues/263212017-07-03T08:52:19ZRobert Schneider
<p>E.g., when one writes a comment, in the activity view the line with the description (which is in <span class="description"> tags) should be rendered somehow and not just shown as plain text.</p>
<p>It doesn't need to be or it sould not be textile/markdown rendering, since I wouldn't expect headings or clickable links. Just strip off any formatting, show only the text of links, remove images, ... I don't know what else has to be done.</p>
<p><img src="https://www.redmine.org/attachments/download/18665/screenshot.png" alt="" /></p> Redmine - Defect #25867 (New): Assignable users should respect database collationhttps://www.redmine.org/issues/258672017-05-16T20:10:20ZPavel Rosický
<p>mysql collation: utf8_general_ci<br />['a','u','č'] should be sorted as ['a','č','u'] but because of ruby sort it's reordered back as ['a','u','č']</p>
<pre>
def assignable_users
users = project.assignable_users(tracker).to_a
users << author if author && author.active?
if assigned_to_id_was.present? && assignee = Principal.find_by_id(assigned_to_id_was)
users << assignee
end
users.uniq.sort
end
</pre>
<p>I can provide a patch, are you interested or is it desired behaviour?</p>
<pre>
Environment (not important, all redmine versions and databases are affected):
Redmine version 3.3.3.devel.16557
Ruby version 2.1.5-p273 (2014-11-13) [x64-mingw32]
Rails version 4.2.8
Environment production
Database adapter Mysql2
SCM:
Subversion 1.9.5
Git 2.11.0
Filesystem
Redmine plugins:
no plugin installed
</pre> Redmine - Defect #25473 (New): "Message XYZ can not be processed" is the only error message logge...https://www.redmine.org/issues/254732017-03-29T23:08:48ZLibrary Systems Dept
<p>First of all, thanks for Redmine. It's been infinitely helpful as a replacement ticketing system for an older desktop application based system we used years ago. Additionally, the integrated wiki support is one of many reasons it is so popular with our team.</p>
<a name="Problem"></a>
<h4 >Problem<a href="#Problem" class="wiki-anchor">¶</a></h4>
<p>An email was sent in with a pattern like this:</p>
<pre><code>[CCDC #123456] RE: 2017 Renewal</code></pre>
<p>and Redmine proceeded to scrape it. It evidently found the <code>#123456</code> pattern and based on this log message:</p>
<pre>
^[[1m^[[36mIssue Load (0.6ms)^[[0m ^[[1mSELECT `issues`.* FROM `issues` WHERE `issues`.`id` = 104351 LIMIT 1^[[0m
</pre>
<p>the scraping process attempted to match the new email against an existing ticket. There isn't a ticket number 104351 in our system, so presumably the attempt to find and eventually update the existing ticket failed and the scraping process abandoned the attempt. This resulted in the email being moved to the folder we specified for rejected emails.</p>
<p>When we checked the <code>development.log</code> file (we have our <code>RAILS_ENV</code> set to <code>develoment</code> when the scraping script runs), this was the only related error message that we found:</p>
<pre>
Message XYZ can not be processed
</pre>
<a name="Our-Redmine-installation-details"></a>
<h4 >Our Redmine installation details<a href="#Our-Redmine-installation-details" class="wiki-anchor">¶</a></h4>
<p><code>redmine@server01:/opt/redmine$ bin/about</code><br /><pre>
/var/lib/gems/2.3.0/gems/htmlentities-4.3.1/lib/htmlentities/mappings/expanded.rb:465: warning: key "inodot" is duplicated and overwritten on line 466
sh: 1: darcs: not found
sh: 1: hg: not found
sh: 1: cvs: not found
sh: 1: bzr: not found
sh: 1: git: not found
Environment:
Redmine version 3.3.2.stable.16201
Ruby version 2.3.1-p112 (2016-04-26) [x86_64-linux-gnu]
Rails version 4.2.7.1
Environment production
Database adapter Mysql2
SCM:
Subversion 1.9.3
Filesystem
Redmine plugins:
no plugin installed
</pre></p>
<p>Please let me know if you need any more information.</p>
<a name="Requests"></a>
<h4 >Requests<a href="#Requests" class="wiki-anchor">¶</a></h4>
<ul>
<li>Can the verbosity of the error message be increased? It would be great if it mentioned something regarding being unable to find an existing ticket to update.</li>
</ul>
<ul>
<li>Can we disable or override the behavior when a match isn't found? It may be useful to allow a new ticket to be created (what we wanted here) if Redmine cannot locate an existing ticket.</li>
</ul> Redmine - Defect #23643 (New): Activity page shows news description instead of summaryhttps://www.redmine.org/issues/236432016-08-23T12:33:05ZJW Fuchs
<p>It seems unintuitive that the summary of a news entry is only used in a project's overview and not also for the activity page.</p>
<p>Test news item:<br /><img src="https://www.redmine.org/attachments/download/16564/test_news.PNG" alt="" /></p>
<p>This is shown on the overview page:<br /><img src="https://www.redmine.org/attachments/download/16565/project_overview.PNG" alt="" /></p>
<p>This is shown on the activity page:<br /><img src="https://www.redmine.org/attachments/download/16566/project_activity.PNG" alt="" /></p>
<p>The activity page should also display the news summary.</p> Redmine - Defect #23394 (New): Auto-assign on category selection does not work when assignee is a...https://www.redmine.org/issues/233942016-07-21T11:08:19ZJW Fuchs
<p>When the assignee is set as a mandatory field, the auto-assign function related to category does not work.</p>
<p>Test setting:<br /><img src="https://www.redmine.org/attachments/download/16390/01_required_field.PNG" alt="" /></p>
<p>Category definition:<br /><img src="https://www.redmine.org/attachments/download/16391/02_category_settings.PNG" alt="" /></p>
<p>Attempt to create issue:<br /><img src="https://www.redmine.org/attachments/download/16392/03_error_on_creation.PNG" alt="" /></p>
<p>If the assignee requirement is removed, the assignee is set as expected after a category has been chosen and the issue has been created.</p>
<pre>
Environment:
Redmine version 3.3.0.stable
Ruby version 2.1.8-p440 (2015-12-16) [i386-mingw32]
Rails version 4.2.6
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.16
Git 2.7.4
Filesystem
Redmine plugins:
no plugin installed
</pre> Redmine - Defect #22977 (New): A project member has no access and gets no notification, when bein...https://www.redmine.org/issues/229772016-06-03T15:03:31ZMilan Brabec
<p>Hi, I have an issue, where not other help was effective (public help, wiki, forum).<br />In Redmine 3.2.2 (Czech localization) I have problem using watchers functionality and notifying them when an issue changes.<br />We have a non-public project called "Ukoly" and a role called "Zadavatel".<br />User "milanb" (me) created a task asigned to himself and added a watcher (user "londruj").<br />User "londruj" is a member of "Ukoly" with a role "Zadavatel" - see <em>screenshot1.png</em> attached.<br />Role "Zadavatel" has all available Redmine rights - see <em>screenshot2.png</em>.<br />Notification for the user "londruj" is set.<br />When the issues changes, the user "londruj" does not get any notification.<br />When accessing the give issues using a direct link, the user "londruj" gets 403 error.</p> Redmine - Defect #21580 (New): After changing a sub issue in the issue via right click and conten...https://www.redmine.org/issues/215802015-12-21T18:56:51ZNils Grimm
<p>If a change has been done via right click content menu in the issue sub task list the refresh will always scroll the webpage to the start.</p>
<p>On larger tickets the user has to scroll down again.</p> Redmine - Defect #21222 (New): ActiveRecord::StatementInvalid when trying to update user_setuphttps://www.redmine.org/issues/212222015-11-12T10:53:15ZSerghei Zagorinyak
<p>From time to time Redmine begins to fail every request with this error:</p>
<p><code>Started GET "/redmine/issues/78317" for 172.23.24.178 at 2015-11-12<br />13:03:15 +0300<br />Processing by IssuesController#show as HTML<br /> Parameters: {"id"=>"38317"}<br />Completed 500 Internal Server Error in 2.0ms<br />ActiveRecord::StatementInvalid (TinyTds::Error: Attempt to initiate<br />a new Adaptive Server operation with results pending: EXEC sp_execut<br />esql N'SELECT MAX([settings].[updated_on]) AS max_id FROM [settings]<br />'):<br /> app/models/setting.rb:226:in `check_cache'<br /> app/controllers/application_controller.rb:97:in `user_setup'</code></p>
<p>So every action that requires update of user_setup failes with this error. This situation is barely reproducible and occurs as often as once in a few months making it absolutely impossible to use Redmine till it is restarted.</p>
<p>Environment setting are the following:</p>
<p><code> Redmine version 2.5.0.stable<br /> Ruby version 2.1.5-p273 (2014-11-13) [x86_64-linux]<br /> Rails version 3.2.17<br /> Environment production<br /> Database adapter SQLServer</code></p> Redmine - Defect #20597 (New): Ajax indicator is displayed below modal boxeshttps://www.redmine.org/issues/205972015-08-23T04:19:13ZNicolas Rodriguez
<p>z-index should be set to a higher value than 100 to be displayed correcly.</p> Redmine - Defect #19861 (New): Activities "save" and "reset"of project setting have no effect if ...https://www.redmine.org/issues/198612015-05-17T04:15:06ZToshi MARUYAMARedmine - Defect #19811 (New): Attachment back_url in loginhttps://www.redmine.org/issues/198112015-05-11T12:52:22ZAnton Antilopa
<p>When user needs to be authenticated to download an attachment, he/she logs in as usual, but because the <code>back_url</code> points to a file download instead of a HTML page, the login form stays visible.</p>
<p>This is confusing some users. I believe the page should be refreshed automatically to show the <code>welcome#index</code>.</p>
<p>Is this fixable? For now I just extended the <code>attachment#show</code> to also work for binary files (show the download link), but it doesn't look very good and it doesn't fix the <code>attachment#download</code> links in <code>back_url</code>, only the <code>attachment#show</code> ones.</p>
<p><a href="#" onclick="$('#collapse-2b7382bb-show, #collapse-2b7382bb-hide').toggle(); $('#collapse-2b7382bb').fadeToggle(150);; return false;" id="collapse-2b7382bb-show" class="icon icon-collapsed collapsible">Environment</a><a href="#" onclick="$('#collapse-2b7382bb-show, #collapse-2b7382bb-hide').toggle(); $('#collapse-2b7382bb').fadeToggle(150);; return false;" id="collapse-2b7382bb-hide" class="icon icon-expended collapsible" style="display:none;">Environment</a><div id="collapse-2b7382bb" class="collapsed-text" style="display:none;"><pre>
Redmine version 3.0.2.stable
Ruby version 1.9.3-p194 (2012-04-20) [x86_64-linux]
Rails version 4.2.1
Environment production
Database adapter Mysql2</pre></div></p> Redmine - Defect #17768 (New): (Probably) incorrect display of RTL languageshttps://www.redmine.org/issues/177682014-09-01T08:06:22ZMichael Heinze
<p>Hello,</p>
<p>just for fun I changed my Redmine language to "arabic" which is a right-to-left language. ;-)</p>
<p>I noticed that the brackets in the list of languages are not displayed correctly ("(" appears twice), see attachment.</p>
<p>Although have to admit that I don't know how the correct display looks like, in the way it is displayed now it looks somehow incorrect.</p>
<p><img src="https://www.redmine.org/attachments/download/12311/redmine_rtl_languages.png" alt="" /></p> Redmine - Defect #17071 (New): Adding Watchers UX Is Not Cleanhttps://www.redmine.org/issues/170712014-06-03T19:23:28ZBrett Patterson
<p>With the update to 2.5.1 and the implementation of feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Watchers list too big in new issue form (Closed)" href="https://www.redmine.org/issues/8562">#8562</a>, you now have to add users one at a time, instead of en masse.</p>
<p>It would seem more effective if the interface allowed you to search for a user, check the checkbox, then search for another user, check their checkbox, and search for a third user and check that checkbox then click "Add" and all three users are added to the watch list. The current implementation breaks that functionality.</p> Redmine - Defect #16145 (New): Apache git Authnhttps://www.redmine.org/issues/161452014-02-21T19:21:04ZAnton Rubets
<p>hi i cant integrate git with redmine. I have looked at wiki topic and configure apache, grack, git but when i trying clone git repo i see</p>
<pre>
Can't locate object method "some_auth_required" via package "Apache2::Redmine" at /usr/local/lib/perl5/site_perl/5.16/mach/Apache2/Redmine.pm line 321.\n
</pre>
<p>I change little the Redmine.pm code <br /><pre>
package Apache2::Redmine;
=head1 Apache2::Redmine
</pre></p>
<p>Its more comfortable for me in freebsd.<br />If someone have issues for this?<br />P.S. with default Redmine.pm the same<br />Thx for help</p> Redmine - Defect #15711 (New): Assignee does not receive email with "only for things I watch or I...https://www.redmine.org/issues/157112013-12-16T09:23:20ZSang Tan
<p>My assignee does not receive email even I select "only for things I watch or I'm involved in" for each users.<br />Do I mess anything?</p> Redmine - Defect #15676 (New): "Latest" revisions on repository view is confusedhttps://www.redmine.org/issues/156762013-12-11T04:28:18ZToru Haraguchi
<p>On repository view, when move from a ticket view by clicking on an associated revision, the revision list is titled as "Latest revisions", but actually the list does not include the latest revisions on the repository but does only until the revision selected on the ticket view.</p>
<p>A colleague of mine is claiming that this title is confusing in Japanese when it is translated straightly to "最新リビジョン".</p>
<p>Please let me suggest to remove the word "最新" from the label "label_latest_revsion_plural" in Japanese translation to avoid the confusion above.</p>
<p>I myself understand that the view is designed to be common among various context and that it will not be a problem once the colleague get accustomed with the latest revision control system, but as a correct process, I could not refuse this post.</p> Redmine - Defect #14976 (New): authentication required configurablehttps://www.redmine.org/issues/149762013-09-24T11:59:03ZHuang Ruhua
<p>when authentication required option is checked, all url required logined. but i expect some url is accessible to anonymous users, like '/attachments/download/3029/picture431-1.png', or else these image can't be displayed in email</p> Redmine - Defect #14969 (New): ActiceSupport::TimeWithZone failed in migrate_from_mantis.rakehttps://www.redmine.org/issues/149692013-09-23T03:30:30ZMac Chang
<p>The Redmine installation information as below:</p>
<p>@Information</p>
<p>Redmine 2.3.3.stable</p>
<p>Default administrator account changed True<br />Attachments directory writable True<br />Plugin assets directory writable True<br />RMagick available (optional) True</p>
<p>Environment:<br />Redmine version 2.3.3.stable<br />Ruby version 1.9.3-p231 (2012-05-25) [i386-mingw32]<br />Rails version 3.2.13<br />Environment production<br />Database adapter Mysql2<br />Redmine plugins:<br />no plugin installed</p>
<p>Mantis Bug Tracker version: 1.2.15<br />@</p>
<p>I referred from this page's SQL coding (<a class="external" href="http://www.webismymind.be/upload/documents/migrate_from_mantis_1_2.sql">http://www.webismymind.be/upload/documents/migrate_from_mantis_1_2.sql</a>), altered and update my Mantis database time format.</p>
<p>Also, I edited the migrate_from_mantis.rake script, connection seems fine on a fresh installed Redmine until I encounter this error:</p>
<p>"*comparison of Fixnum with ActiveSupport::TimeWithZone failed*"</p>
<p>Please advice me what is the error and what I have to edit on my migrate_from_mantis.rake script. See attachment for more information. Thank you.</p> Redmine - Defect #14709 (New): Attachment filesize is displayed to 3 decimal placeshttps://www.redmine.org/issues/147092013-08-19T08:31:14ZTobias Fischer
<p>Attachment filesizes are displayed to 3 decimal places which is highly unusual. I'm using Redmine 2.3.2.<br />This seemed to be introduced with one of the latest updates...</p>
<p>I would suggest to display filesizes with 2 decimal places again.</p> Redmine - Defect #14203 (New): Add support for the 'notes://' protocol handlerhttps://www.redmine.org/issues/142032013-06-04T04:51:23ZStepan Karandin
<p>IBM Lotus Notes is a rich client. After installation it registers in operating system additional protocol "notes"</p>
<p>An URI looks like notes://SERVER/442579BB0045C177/0/250334F0B767F79B44257B8000199EEB</p>
<p>As normal every browser handles this URI well. After the click Lotus Notes window is opened, but in Redmine it looks like plain text in both ways.</p>
<p>notes://SERVER/442579BB0045C177/0/250334F0B767F79B44257B8000199EEB<br />[[notes://SERVER/442579BB0045C177/0/250334F0B767F79B44257B8000199EEB]]</p> Redmine - Defect #13592 (New): ActiveRecord::RecordNotUnique for git repositoryhttps://www.redmine.org/issues/135922013-03-25T22:28:45ZGriffin Smith
<p>I've installed Redmine and linked it to a git repository that's been running development for a very long time (heavy, active development for about a year). Upon trying to load the Repository tab for the project I get an error. Here's the relevant section of the log:</p>
<p>Started GET "/redmine/projects/<project_name>/repository" for 173.164.56.105 at 2013-03-25 16:22:29 -0600<br />Processing by RepositoriesController#show as HTML<br /> Parameters: {"id"=>"fredchat"}<br /> Current user: admin (id=1)<br />Completed 500 Internal Server Error in 912ms</p>
<p>ActiveRecord::RecordNotUnique (Mysql2::Error: Duplicate entry '1-2a5b30caa8969dded7f57c9cda5f914ea88ea29f' for key 'changesets_repos_rev': INSERT INTO `changesets` (`comments`, `commit_date`, `committed_on`, `committer`, `repository_id`, `revision`, `scmid`, `user_id`) VALUES ('Merge branch \'autoupdate\' of <info_removed> into autoupdate', '2012-09-14 12:08:21', '2012-09-14 12:08:21', 'My Name <<a class="email" href="mailto:myemail@myemail.com">myemail@myemail.com</a>>', 1, '2a5b30caa8969dded7f57c9cda5f914ea88ea29f', '2a5b30caa8969dded7f57c9cda5f914ea88ea29f', 4)):<br /> app/models/repository/git.rb:222:in `save_revision'<br /> app/models/repository/git.rb:211:in `block (2 levels) in save_revisions'<br /> app/models/repository/git.rb:208:in `block in save_revisions'<br /> app/models/repository/git.rb:207:in `each'<br /> app/models/repository/git.rb:207:in `save_revisions'<br /> app/models/repository/git.rb:154:in `fetch_changesets'<br /> app/controllers/repositories_controller.rb:114:in `show'</p> Redmine - Defect #13508 (New): About default filter for assigneehttps://www.redmine.org/issues/135082013-03-18T13:00:50Zpoornima dhanasekaran
<p>Hi,</p>
<p>In gantt, By default the show page has status as filter. We get the assignee filter while clicking the <br />'Add filter' only. I need to show my gantt view with respect to "status" & "Assigneee" by default.<br />I tried to add the js code for assignee in query/_filters page but im not getting the output. Please anybody help me out?.</p>
<p>Thanks,<br />Poornima Dhanasekaran.</p> Redmine - Defect #11077 (New): After migrating from Mantis to RedMine 2.0 and changing tracker la...https://www.redmine.org/issues/110772012-06-02T07:25:28ZJustus Pieke
<p>Dear all,</p>
<p>I am not sure if I can trust Red Mine in a live environment. We studies Red Mine migrated from Mantis to 2.0. Then implemented our process by configuring the tracker label and workflow. After conficuring we lost all migrated issues. Does any one know what went wrong?</p>
<p>Losing all commercial data in a live situation will be disaster.</p>
<p>When we know why the database suddenly deletes almost all items we know something but now we have no clue!</p> Redmine - Defect #11075 (New): "Manage members" permission allows user to elevate own permissionshttps://www.redmine.org/issues/110752012-06-01T14:36:15ZRick Mason
<p>1. Create a role which has only one permission, "Manage members".<br />2. Create a user who is not in any groups, but is in the new role on a single project.<br />3. Log in as that user. <br />4. Go to the only project you can see, and click settings.<br />5. Click "Edit" next to your username and grant yourself access to any role. This can include a role which has full permissions to the project and its settings.</p>
<p>Granting a user "Manage members" is therefore equivalent to granting them the most powerful role available on a project, because they can elevate their own permissions.</p>
<p>They shouldn't be able to modify their own permissions. Arguably they shouldn't be able to grant permissions higher than their own to anyone else either.</p> Redmine - Defect #10589 (New): Auto change my account by another onehttps://www.redmine.org/issues/105892012-04-03T04:28:22ZNhan Nguyen
<p>I'm facing a redmine problem as following:<br />I logged on redmine by my account and do some actions (as show repository or show diff from repository, etc), sometime, it took long time to complete showing then my account had been changed by another one (having 50 users using redmine)so that it will be major problem about security if someone auto has my account (admin).</p>
<p>this problem sometime occurs so that i can't debug to find root cause.</p>
<p>Could you give me some comment about this?</p>
<p>Thank<br />Nhanntit</p> Redmine - Defect #10483 (New): After creating a new relation on a issue the relation is not disp...https://www.redmine.org/issues/104832012-03-19T16:59:30ZDieter Egert
<p>I have a isse created. Then I open the issue details and a a relation to an other issue:</p>
<ul>
<li>Related issues: add, </li>
<li>select 'follows' in pulldown menue</li>
<li>key in issue no</li>
<li>key in 1 into field 'Delay'</li>
<li>Select 'Add' button</li>
</ul>
<p>Expected: Relation is shown to other issue no<br />Displayed: No relation is shown. (This error does not always appear..!)<br />But: After refreshing of browser the relation is shown</p>
<p>Used: <br />Firefox 10.0.2 (also found on earlier versions)<br />Redmine 1.3.0.stable (also on Redmine 1.3.1.stable 8857)<br />Ruby version 1.8.7<br />Ruby Gems 1.6.2<br />Rack 1.1.1</p> Redmine - Defect #10202 (New): Access to svn may not be granted by redmine.pm if user is authenti...https://www.redmine.org/issues/102022012-02-10T18:29:59ZTiemo Vorschuetz
<p>If a user is part of two roles, one that granted access and one that does not allow repository browsing, and if the user is authenticated through an external LDAP server (e.g. MS AD) the access to the svn repository may fail. This depends on the order the permissions are calculated inside the while loop below.</p>
<p>The is_member function inside the redmine.pm file should be modified as shown below.</p>
<p>...<br /> my $ret;<br /> while (my ($hashed_password, $salt, $auth_source_id, $permissions) = $sth->fetchrow_array) {<br />...</p>
<p>should be changed to</p>
<p>...<br /> my $ret = 0;<br /> while ((my ($hashed_password, $salt, $auth_source_id, $permissions) = $sth->fetchrow_array) and not $ret) {<br />...</p>
<p>Regards,<br />Tiemo</p> Redmine - Defect #9560 (New): "Short" commit messages show textile formattinghttps://www.redmine.org/issues/95602011-11-13T14:57:16ZDan Clarke
<p>I do love the fact you can use textile formatting in commit messages, however when it shows a short version of the commit, it can mess up the textile formatting, see the screenshot below:<br /><img src="http://f.cl.ly/items/3Y1T1I3c3F0x1M1m1z01/Google%20Chrome.jpg" alt="" /></p>
<p>However in the bigger view it works fine:<br /><img src="http://f.cl.ly/items/3B1Y3v3X1b2j060I112o/Google%20Chrome-1.jpg" alt="" /></p>
<p>It just might be worth looking at the length without textile and make sure it will fit in, if it doesn't just show the link, or let it flow until the end of the syntax?</p> Redmine - Defect #9425 (New): Attachment links fail when the file names contain the syntax patter...https://www.redmine.org/issues/94252011-10-14T12:44:47ZMartin Alexander Neumann
<p>After uploading a file whose name contains ''_-_'' and creating a link to the file using the "<code>attachment:</code>" syntax, no html link is generated after saving.</p> Redmine - Defect #9377 (New): <br /> is not inserted before macro in Wikihttps://www.redmine.org/issues/93772011-10-05T17:24:55ZMasamitsu Murase
<p><br /> tag is not inserted before macros in Wiki.</p>
<p>For example,<br /><pre>
abc
!{{hello_world}}
</pre><br />should be converted to<br /><pre>
<p>abc<br />Hello world! Object: Journal, Called with no argument.</p>
</pre></p>
<p>However, it is converted to<br /><pre>
<p>abc
Hello world! Object: Journal, Called with no argument.</p>
</pre></p>
<p>Detail and cause:<br /><br /> in Wiki is inserted by <code>hard_break</code> method in "lib/redmine/wiki_formatting/textile/formatter.rb".<br />This method replaces "\n" with "<br />" as follows:<br /><pre>
text.gsub!( /(.)\n(?!\n|\Z| *([#*=]+(\s|$)|[{|]))/, "\\1<br />" ) if hard_breaks
</pre></p>
<p>It seems that "[{|]" prevents insertion of "<br />" before CSS style and in table, because CSS style in Wiki starts with "{" and cells of table are separated by "|".<br />Macros in Wiki also start with double "{"s, so "<br />" is not inserted before macros.<br />I think that <code>hard_break</code> method should be<br /><pre>
text.gsub!( /(.)\n(?!\n|\Z| *([#*=]+(\s|$)|\{[^{]|\|))/, "\\1<br />" ) if hard_breaks
</pre><br />to replace "\n" before macros.</p>
Environment:
<ul>
<li>Redmine version 1.2.1</li>
<li>Ruby version 1.8.7 (patch 174)</li>
<li>Rails version 2.3.5</li>
</ul> Redmine - Defect #8889 (New): Activity page not refreshed correctly on updates which are not eventshttps://www.redmine.org/issues/88892011-07-23T15:42:36ZEtienne Massip
<p>Since of <a class="changeset" title="Add etag check on the activity view to avoid rendering when not modified." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/2982">r2982</a>, any updates made to issues (among others, see <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Showing date in activity page is wrong (Closed)" href="https://www.redmine.org/issues/5425">#5425</a> or <a class="issue tracker-1 status-1 priority-5 priority-high2" title="Defect: ETag on activity page ignores module, theme, project name changes (New)" href="https://www.redmine.org/issues/5749">#5749</a>) which are not handled as <code>events</code>, like Description update or even move to a different Tracker, won't be seen in the activity report if you refresh the page.</p>
<p>So you'll see potentially wrong description and wrong tracker in issue events labels.</p>
<p>Couldn't we get rid of the <code>stale?</code> check ?</p>
<p>It does not prevent the events to be fetched from db and the activity report can be <em>big</em>, but maybe not that big (about 61k for current Redmine activity).</p> Redmine - Defect #8539 (New): accessing issue raises error "undefined method `closed?' for nil:Ni...https://www.redmine.org/issues/85392011-06-06T11:13:00ZTerence Mill
<p>We have a taks that raises following error if we try to access it in any way (edit, view, history, context menu in issues list view ). The issue although is correctly listed in issue list view, and all values get displayed. We are not sure, since when that raises, but the issue was moved between projects in history, that is what we can remember, although that don't have to be the cause for that error.</p>
<p>How can we accces that issue again, or at least remive it completly<br /><pre>
NoMethodError (undefined method `closed?' for nil:NilClass):
app/models/issue.rb:421:in `blocked?'
app/models/issue.rb:421:in `blocked?'
app/models/issue.rb:430:in `new_statuses_allowed_to'
app/controllers/issues_controller.rb:112:in `show'
passenger (3.0.2) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
passenger (3.0.2) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
passenger (3.0.2) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
passenger (3.0.2) lib/phusion_passenger/utils.rb:479:in `safe_fork'
passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:180:in `start'
passenger (3.0.2) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
passenger (3.0.2) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
passenger (3.0.2) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
passenger (3.0.2) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
passenger (3.0.2) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.2) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.2) helper-scripts/passenger-spawn-server:99
</pre></p> Redmine - Defect #8407 (New): All words keeps on getting checkedhttps://www.redmine.org/issues/84072011-05-19T20:31:18ZT Leung
<p>All words is defaulting to "checked" everytime I use the quick search area on the upper-right hand corner. While pressing enter from the text box in the search does not bring the "all words" to checked.</p> Redmine - Defect #7834 (New): API Issue XML cannot represent empty arrayshttps://www.redmine.org/issues/78342011-03-11T10:15:30Zmilki milk
<p>When trying to retrieve issues from a project with no issues, there is a typecast issue from the xml conversion.</p>
<p>I am using Redmine trunk, Rails 2.3.11</p>
<p>Sample code:<br /><pre>
#!/usr/local/bin/ruby
require 'rubygems'
require 'active_resource'
class Issue < ActiveResource::Base
self.site = 'http://demo.redmine.org/'
end
issue = Issue.find(:first, :params => { :project_id => 3 })
</pre></p>
<p>And the output:<br /><pre>
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/hash/conversions.rb:99:in `typecast_xml_value': can't typecast "" (RuntimeError)
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/hash/conversions.rb:121:in `typecast_xml_value'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `inject'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/hash/conversions.rb:120:in `each'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/hash/conversions.rb:120:in `inject'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/hash/conversions.rb:120:in `typecast_xml_value'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/hash/conversions.rb:78:in `from_xml'
from /usr/local/lib/ruby/gems/1.8/gems/activeresource-2.3.11/lib/active_resource/formats/xml_format.rb:22:in `decode'
from /usr/local/lib/ruby/gems/1.8/gems/activeresource-2.3.11/lib/active_resource/connection.rb:79:in `get'
from /usr/local/lib/ruby/gems/1.8/gems/activeresource-2.3.11/lib/active_resource/connection.rb:217:in `with_auth'
from /usr/local/lib/ruby/gems/1.8/gems/activeresource-2.3.11/lib/active_resource/connection.rb:79:in `get'
from /usr/local/lib/ruby/gems/1.8/gems/activeresource-2.3.11/lib/active_resource/base.rb:857:in `find_every'
from /usr/local/lib/ruby/gems/1.8/gems/activeresource-2.3.11/lib/active_resource/base.rb:778:in `find'
</pre></p>
<p>The problem is different from <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Bug in index.xml.builder (issues) (Closed)" href="https://www.redmine.org/issues/4745">#4745</a> and <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: 'can't typecast' in REST API for issues (Closed)" href="https://www.redmine.org/issues/5226">#5226</a>. Let's examine the xml returned from the call:</p>
<pre>
<?xml version="1.0" encoding="UTF-8"?><issues type="array" offset="0" total_count="0" limit="25"></issues>
</pre>
<p>Ok, that looks fine. Let's see how it's turned into an ActiveResource:<br /><pre>
{"type"=>"array", "total_count"=>"0", "limit"=>"25", "offset"=>"0"}
</pre></p>
<p>This last line is passed into typecast_xml_value in /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.11/lib/active_support/core_ext/hash/conversions.rb. In this code, it will do the following:</p>
<pre>
_, entries = Array.wrap(value.detect { |k,v| k != 'type' })
if entries.nil? || (c = value['__content__'] && c.blank?)
[]
else
case entries.class.to_s
when "Array"
when "Hash"
else
raise "can't typecast #{entries.inspect}
end
</pre>
<p>The first line sets entries to "0" (or whatever is the value of the next key), so it will always hit the exception. The seoncd line shows that an explicit empty key <i>content</i> is used to detect an empty array. Thus, if I patch index.api.rsb:</p>
<pre>
+if @issues.empty?
+ api.array :issues, api_meta( :__content__ => '', :total_count => @issue_count, :offset => @offset, :limit => @limit)
+else
...
</pre>
<p>Then the returned xml is correct. This patch will not work however because it interferes with the json format, which works fine by representing an empty array with []. I've attached the simple script, a proposed patch that fixes the problem but breaks json, and a test. It may be that the json/xml template needs to be split again.</p> Redmine - Defect #7651 (New): 'Invalid form authenticity token' when updating issue causes datalosshttps://www.redmine.org/issues/76512011-02-18T13:41:01Zsam marshall
<p>When updating an issue to add a comment, if your session is no longer valid, you receive the error:</p>
<p>'Invalid form authenticity token.'</p>
<p>While this part is correct behaviour, it causes dataloss because:</p>
<p>a) The page with the error does not contain the text of the comment you submitted.<br />b) At least in Firefox 3.6, the Back button returns to the issue you were updating, but without the text.</p>
<p>I don't operate the redmine server in question, but I verified that this still occurs on demo.redmine.org, so it is a current issue.</p>
<p>To reproduce:</p>
<p>0. Use the Firefox browser with web developer extension (or any other browser with similar features)</p>
<p>1. Go to an issue<br />2. Click Update<br />3. Type some text into a comment<br />4. In the web developer toolbar, choose Cookies / Clear Session Cookies<br />5. Submit the comment<br />6. Error page appears</p>
<p>Actual behaviour:</p>
<p>Error page does not contain text you entered in <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: ajax pagination of projects (Closed)" href="https://www.redmine.org/issues/3">#3</a>. If you click the Back button, you are returned to the form but without your text.</p>
<p>Expected behaviour:</p>
<p>Error page should additionally contain the text of the comment you entered. Or, alternatively, the Back button should take you to the update page that includes your text.</p>
<p>Notes:</p>
<p>1) Clearing session cookies is fairly common behaviour when testing web applications. While it's obvious that doing this will break a Redmine session (i.e. you shouldn't do it), Redmine doesn't have to add injury to insult by causing annoying dataloss as a result.</p>
<p>2) Other form data is probably lost too but who cares - it's the potentially page-long comment that can be really annoying.</p>
<p>3) I haven't verified what happens with other update form errors such as simultaneous edit. If the same thing happens there, then those could benefit from being fixed, too.</p> Redmine - Defect #7496 (New): "Custom queries" should use natural orderinghttps://www.redmine.org/issues/74962011-01-31T08:58:28ZAnonymous
<p>The custom queries are currently sorted, but instead it would be better to use natural sorting so that numbers get ordered correctly, what I mean by this is that currently this is how Redmine displays custom queries:</p>
<ul>
<li>1. Foo</li>
<li>10. Bar</li>
<li>2. Car</li>
</ul>
<p>When using natural ordering, it should appear as:</p>
<ul>
<li>1. Foo</li>
<li>2. Car</li>
<li>10. Bar</li>
</ul> Redmine - Defect #7293 (New): Activity page displays wrong status of modified issueshttps://www.redmine.org/issues/72932011-01-11T18:58:01ZEtienne Massip
<p>Constated on Redmin's main website and demo site as well :</p>
<p>In the Activity tab, the (New) entry displayed for an issue creation changes for a (Resolved) entry if issue's status is modify to be Resolved and so on...</p>
<p>E.g., look at item 7292 on today's page.</p>
<p>This is very weird, so maybe is it a browser (IE8) bug...although I rebooted.</p> Redmine - Defect #7104 (New): Accessing core Setting.* values in a plugin's init causes the plugi...https://www.redmine.org/issues/71042010-12-13T18:12:39ZRobert Chady
<p>If you access a core value from Setting, such as host_name from a plugin's init.rb, then the plugin's settings will not be properly loaded.</p>
<p>To reproduce, create a simple plugin that does something like:</p>
<p><code>myurl = Setting.host_name</code></p>
<p>and then add in some settings</p>
<p><code>settings :default => {<br /> 'myvar' => 'myval' <br />}, :partial => 'settings/mysettings'</code></p>
<p>And then try to access the configure page from Administration / Plugins. You can also go in to the console and try to access Setting.plugin_#{your_plugin_name} here -- you will see it is not available. Meanwhile, all aspects of your plugin work fine, other than the settings and anything that tries to reference the settings.</p> Redmine - Defect #7036 (New): add project, and subproject to new issue email notificationhttps://www.redmine.org/issues/70362010-12-03T18:15:25ZGerry Hawkins
<p>On the creation of an issue I am not seeing the project or sub project information as part of the email notification. Maybe I have not configured something correctly and RTFM is the right answer.</p>
<p>If not I think it would be helpful to have it as part of the issue creation email.</p>
<p>e.g. for a new issue opened in project A, subproject b<br />• Author: <br />• Project: A -> b <br />• Status:</p>
<p>I am using 1.0.1.</p> Redmine - Defect #6725 (New): Acronyms don't work for Russian languagehttps://www.redmine.org/issues/67252010-10-22T10:55:14ZАлександр Шестаков
<p>For example:</p>
<p>Россия(Russsia in Russian)</p>
<p>don't works :(</p> Redmine - Defect #6419 (New): %Done <= 99 filter not removing row for version that's 100% completehttps://www.redmine.org/issues/64192010-09-16T19:38:35ZN G
<p>I have a version that's attached to a subproject of a project. When all the tasks for this version are 100% complete, the Gantt shows a row for this version in spite of a filter on the <span>Done <= 99. All the tasks/bugs for this version have disappeared from the Gantt but I'd think the version itself should also disappear (at least that's what I'm looking/hoping for). Currently, the Gantt is showing really old versions that are 100</span> complete so there's a lot more data there than needed.</p> Redmine - Defect #6023 (New): All members are displayed in issue summaries, even if they cannot b...https://www.redmine.org/issues/60232010-08-03T12:48:12ZEmmanuel Bourgerie
<p>Hi !</p>
<p>Issues cannot be assigned to some users, but these users are still displayed in issue summary (first column, third row).</p> Redmine - Defect #5745 (New): Auto-set status when assigning issues via bulk-updatehttps://www.redmine.org/issues/57452010-06-23T15:22:33ZNick Peelman
<p>So you right click on an issue (or multiple issues) in the issue list, hover over assigned, and assign an issue to a user. Redmine generates an email (or multiple emails). Repeat to set the status to Assigned or Pending. Redmine generates another email (or several more emails).</p>
<p>You can avoid this by just going in and editing the issue(s), but it would be nice if you could shrink that down to one step. Given the configurability of issue statuses, I don't know if it would need to go as far as making that a configuration option on the Issue Statues or not, its pretty specific to those bulk updates, as you don't <strong>always</strong> want to change the status when assigning issues (particularly if there's a status already set). I've been chewing over how to mod/patch it for a while now and haven't come up with anything.</p> Redmine - Defect #5545 (New): Active Directory user account with a password {space} failed LDAP a...https://www.redmine.org/issues/55452010-05-18T09:23:21ZHansen Ler
<p>Tested with Redmine v0.9.4.</p>
<p>Under Settings > Authentication<br />Minimum password length: 1</p>
<p>AD User: test<br />AD Password: {space}</p>
<p>LDAP Authentication failed.</p>
<p>I've tested with manual User account by creating a new user with a password {space} which works fine. Doesn't seem to have this issue if we are using {space} as password. LDAP authentication with {space} and one character causes an issue.</p>
<p>However, if we change the following:</p>
<p>Under Settings > Authentication<br />Minimum password length: 2</p>
<p>AD User: test<br />AD Password: {space}1<br />LDAP Authentication success!</p>
<p>Password has to be accompanied with a character if space has is to be used. Curious, I tried a special character as password for the AD using '@'. It passes.</p>
<p>I usually use space as password for test users, so it's easy for them to login.</p>
<p>Conclusion: Issue with parsing {space} password with AD?</p> Redmine - Defect #5118 (New): "Follow"ing issues not updated on preceding issue changehttps://www.redmine.org/issues/51182010-03-18T14:33:31ZRahul Srivastava
<p>Hi,</p>
<p>I did the following using Redmine:-<br />1) Created a set of issues A and B<br />2) Set the time of A from 18th to 20th.<br />2) Set the condition that B always follows A which means B now has the time 21st to 22nd.</p>
<p>The dates were accordingly updated. Now I did the following:-<br />1) Created a new issue C from 18th to 20th.<br />2) Set the condition that A follows C which means A is updated to 21st to 22nd.</p>
<p>Ideally in this case, both A and B should be "shifted" to newer dates. But currently only A is getting updated from 21st to 22nd which leads to a clash between A and B(21st to 22nd). Should I use something else to force B to be updated too?</p> Redmine - Defect #5020 (New): Advanced Subversion Integration Howto is confusinghttps://www.redmine.org/issues/50202010-03-09T19:41:09ZKirk Stork
<p>The howto <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/HowTo_Automate_repository_creation">HowTo Automate repository creation</a> is confusing with respect to required software, and inconistent with respect to the reposman.rb arguments.</p>
<p>I would just edit the wiki, but I haven't been able to get this working, so obviously I'm not qualified to do that.</p>
<p>Examples:</p>
<ol>
<li>Is a perl module required or not? If so, what is it and where does one get it? The howto mentions a perl module and suggests it is needed, but then says the new reposman.rb supersedes it. I don't have one installed, but I can't tell if this is the source of my troubles or not.</li>
<li>The argument 'key' is listed as a required argument, but does not appear in the example command lines. Is it required or not?</li>
<li>The argument 'redmine-host' is listed as a mandatory argument, but the examples do not use it (they use 'redmine'). Which of these is correct?</li>
</ol>
<p>Additionally, it would be helpful to address the case where the redmine installation is in a sub-url, like</p>
<p><a class="external" href="http://my.server.com/redmine">http://my.server.com/redmine</a></p>
<p>Does the howto apply to that case? What is the proper way to specify the 'redmine-host' argument in this case?</p>
<p>When following the instructions to the best of my ability (using the optional argument --owner _www on OSX server), i get the error</p>
<p><code>sudo ruby reposman.rb --redmine-host my.server.com/redmine --svn-dir /Library/Repositories/svn/ --key keymaterial --owner _www<br /></code></p>
<p><code>unable to create /Library/Repositories/svn/project name : can't find group for root</code></p>
<p>Is it me, or is it the howto?</p>
<p>Finally, the section on security suggests there's a need to make a httpd.conf entry to secure the WS. But there's no mention of the key in this discussion. Isn't the key the means to secure the web service? With a key in use, is the <Location> entry needed? If so, should it look like the one presented?</p>
<p>Thanks - clearly if I could this working it makes a powerful combination and an important feature for Redmine.</p>
<p>Database: Ver 14.12 Distrib 5.0.82, for apple-darwin10.0 (i386) using EditLine wrapper<br />Ruby: ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]<br />Rails 2.3.5<br />svn, version 1.6.5 (r38866)</p> Redmine - Defect #4141 (New): Attachments added in a comment via email are not displayed in the t...https://www.redmine.org/issues/41412009-10-30T06:05:57ZDavid Muir
<p>Attachments are not added to the issue when commenting on an issue via email.<br />Working fine when creating issues though.</p> Redmine - Defect #2536 (New): A few incorrect behaviours of bold (upon header and new-line)https://www.redmine.org/issues/25362009-01-19T11:47:22ZJens Berlips
<a name="Problem1"></a>
<h2 >Problem1:<a href="#Problem1" class="wiki-anchor">¶</a></h2>
<pre>
h3. test
* test (note wrong position)
* test
</pre>
<h3>test
<ul>
<li>test</li>
</ul></h3>
<ul>
<li>test (note wrong position)</li>
</ul>
<a name="Problem2"></a>
<h2 >Problem2:<a href="#Problem2" class="wiki-anchor">¶</a></h2>
<pre>
h3. test
* test
* test
</pre>
<h3>test
<ul>
<li>test</li>
</ul></h3>
<ul>
<li>test</li>
</ul>
<p>NOTE: The last example shows that one is in bold, the first problem is still there (wrong position).</p> Redmine - Defect #980 (New): "For all projects" custom querieshttps://www.redmine.org/issues/9802008-04-03T00:18:25ZPaul Macdonnell
<p>I have setup several custom queries and marked them as "For all projects".<br />The first time I view this query, it works great. If I then select one of the issues in the list, then click on the custom query again, the issue list is restricted to just the issues in the project of the current issue. ie, it doesn't show all issues for all projects. If I go back out to "My page", click on "View all issues" under "Issues assigned to me", then click on the custom query again, it lists everything again.</p>
<p>I am running 0.7.devel.1315 on:<br />ruby 1.8.5 (2007-06-07 patchlevel 52) [i386-linux]<br />Rails 2.0.2</p>