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 #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 #40086 (Needs feedback): 500 Internal Server Error: undefined method `is_closed?'https://www.redmine.org/issues/400862024-01-20T13:47:59ZDaniel Drexlmaier
<p>Started GET "/issues/11925"</p>
<p>[3375]: ActionView::Template::Error (undefined method `is_closed?' for nil:NilClass):<br />[3375]: 1: <%= render :partial => 'action_menu' <span>><br />[3375]: 2:<br />[3375]: 3: <h2 class="inline-flex"><</span>= issue_heading(@issue) <span>></h2><br />[3375]: 4: <</span>= issue_status_type_badge(@issue.status) <span>><br />[3375]: 5: <</span> if @issue.is_private? <span>><br />[3375]: 6: <span class="badge badge-private private"><</span>= l(:field_is_private) <span>></span><br />[3375]: 7: <</span> end %></p> Redmine - Defect #38875 (Needs feedback): Additional vulnerabilities reported for v.5.0.5https://www.redmine.org/issues/388752023-07-23T04:45:18ZA Fora
<p>In version 5.0.5:</p>
<p>```</p>
<p>Name: actionpack<br />Version: 6.1.7.2<br />CVE: CVE-2023-28362<br />GHSA: GHSA-4g8v-vg43-wpgf<br />Criticality: Unknown<br />URL: <a class="external" href="https://discuss.rubyonrails.org/t/cve-2023-28362-possible-xss-via-user-supplied-values-to-redirect-to/83132">https://discuss.rubyonrails.org/t/cve-2023-28362-possible-xss-via-user-supplied-values-to-redirect-to/83132</a><br />Title: Possible XSS via User Supplied Values to redirect_to<br />Solution: upgrade to '~> 6.1.7.4', '>= 7.0.5.1'</p>
<p>Name: actionview<br />Version: 6.1.7.2<br />CVE: CVE-2023-23913<br />GHSA: GHSA-xp5h-f8jf-rc8q<br />Criticality: High<br />URL: <a class="external" href="https://discuss.rubyonrails.org/t/cve-2023-23913-dom-based-cross-site-scripting-in-rails-ujs-for-contenteditable-html-elements/82468">https://discuss.rubyonrails.org/t/cve-2023-23913-dom-based-cross-site-scripting-in-rails-ujs-for-contenteditable-html-elements/82468</a><br />Title: DOM Based Cross-site Scripting in rails-ujs for contenteditable HTML Elements<br />Solution: upgrade to '~> 6.1.7.3', '>= 7.0.4.3'</p>
<p>Name: commonmarker<br />Version: 0.23.8<br />GHSA: GHSA-48wp-p9qv-4j64<br />Criticality: High<br />URL: <a class="external" href="https://github.com/gjtorikian/commonmarker/releases/tag/v0.23.9">https://github.com/gjtorikian/commonmarker/releases/tag/v0.23.9</a><br />Title: Commonmarker vulnerable to to several quadratic complexity bugs that may lead to denial of service<br />Solution: upgrade to '>= 0.23.9'</p>
<p>Name: rack<br />Version: 2.2.6.3<br />CVE: CVE-2023-27539<br />GHSA: GHSA-c6qg-cjj8-47qp<br />Criticality: Unknown<br />URL: <a class="external" href="https://discuss.rubyonrails.org/t/cve-2023-27539-possible-denial-of-service-vulnerability-in-racks-header-parsing/82466">https://discuss.rubyonrails.org/t/cve-2023-27539-possible-denial-of-service-vulnerability-in-racks-header-parsing/82466</a><br />Title: Possible Denial of Service Vulnerability in Rack’s header parsing<br />Solution: upgrade to '~> 2.0, >= 2.2.6.4', '>= 3.0.6.1'</p>
<p>Name: sanitize<br />Version: 6.0.1<br />CVE: CVE-2023-36823<br />GHSA: GHSA-f5ww-cq3m-q3g7<br />Criticality: High<br />URL: <a class="external" href="https://github.com/rgrove/sanitize/releases/tag/v6.0.2">https://github.com/rgrove/sanitize/releases/tag/v6.0.2</a><br />Title: Sanitize vulnerable to Cross-site Scripting via insufficient neutralization of `style` element content<br />Solution: upgrade to '>= 6.0.2'<br />```</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 #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 #36996 (Needs feedback): a choice is missing from the list for "notification by...https://www.redmine.org/issues/369962022-04-20T16:48:35ZThierry Gaillard
<p>Hello,<br />and excuse me for my English (I'm French)<br />We work in our organization with redmine and I have a problem with a configuration parameter of a user.<br />How to be notified by email when you can be both author of a request or as assigned person on another request</p>
<p>In french, the choice is :</p>
<ul>
<li>Pour tous les événements des projets sélectionnés...</li>
<li>Seulement pour ce que je surveille</li>
<li>Seulement pour ce que je surveille ou qui m'est assigné</li>
<li>Seulement pour ce que je surveille ou que j'ai créé</li>
</ul>
we would need to have the combination of the last 2 choices (assigned or created) :
<ul>
<li>Seulement pour ce que je surveille, qui m'est assigné ou que j'ai créé</li>
</ul>
<p>I can't find a plugin that could do this...</p>
<p>thank you in advance for your help</p> Redmine - Defect #36245 (Resolved): ActiveSupport::Reloader.to_prepare not working in trunk 21287https://www.redmine.org/issues/362452021-11-25T08:00:50ZAlexander Meindl
<p>With <a class="changeset" title="Extract Redmine::PluginLoader from Redmine::Plugin (#32938). Patch by Takashi Kato." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/21283">r21283</a> in trunk ActiveSupport::Reloader.to_prepare and Rails.configuration.to_prepare is not fired anymore.</p>
<p>ActiveSupport::Reloader.to_prepare is required for plugins (as an example), if some code should loaded after all plugins (other plugins) are loaded.</p>
<p>Maybe there is another possibility with Rails 6 or Zeitwerk for doing this, but imho ActiveSupport::Reloader.to_prepare should work within plugins, too. See <a class="external" href="https://guides.rubyonrails.org/autoloading_and_reloading_constants.html#autoloading-when-the-application-boots">https://guides.rubyonrails.org/autoloading_and_reloading_constants.html#autoloading-when-the-application-boots</a></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 #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 #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 #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 #33138 (Resolved): Apache crashes with Redmine.pm and RedmineCacheCredsMax activehttps://www.redmine.org/issues/331382020-03-12T12:24:20ZDominik Bittl
<p>Hello,</p>
<p>issue as described in the topic.</p>
<p>The Apache keeps crashing with Redmine.pm when RedmineCacheCredsMax is set.</p>
<p>- What infos do you need further? Is there a way to debug this?</p>
<p>System:</p>
<p>Ubuntu 18.04.4 LTS<br />Perl v5.26.1</p>
<pre>
#perl -V
Summary of my perl5 (revision 5 version 26 subversion 1) configuration:
Platform:
osname=linux
osvers=4.9.0
archname=x86_64-linux-gnu-thread-multi
uname='linux localhost 4.9.0 #1 smp debian 4.9.0 x86_64 gnulinux '
config_args='-Dusethreads -Duselargefiles -Dcc=x86_64-linux-gnu-gcc -Dcpp=x86_64-linux-gnu-cpp -Dld=x86_64-linux-gnu-gcc -Dccflags=-DDEBIAN -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/perl-hx1dVS/perl-5.26.1=. -fstack-protector-strong -Wformat -Werror=format-security -Dldflags= -Wl,-Bsymbolic-functions -Wl,-z,relro -Dlddlflags=-shared -Wl,-Bsymbolic-functions -Wl,-z,relro -Dcccdlflags=-fPIC -Darchname=x86_64-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.26 -Darchlib=/usr/lib/x86_64-linux-gnu/perl/5.26 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/x86_64-linux-gnu/perl5/5.26 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.26.1 -Dsitearch=/usr/local/lib/x86_64-linux-gnu/perl/5.26.1 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Duse64bitint -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Ui_libutil -Ui_xlocale -Uversiononly -DDEBUGGING=-g -Doptimize=-O2 -dEs -Duseshrplib -Dlibperl=libperl.so.5.26.1'
</pre>
<pre>
#dpkg -l |grep apache
ii apache2 2.4.29-1ubuntu4.12 amd64 Apache HTTP Server
ii apache2-bin 2.4.29-1ubuntu4.12 amd64 Apache HTTP Server (modules and other binary files)
ii apache2-data 2.4.29-1ubuntu4.12 all Apache HTTP Server (common files)
ii apache2-utils 2.4.29-1ubuntu4.12 amd64 Apache HTTP Server (utility programs for web servers)
ii libapache-dbi-perl 1.12-1 all interface connecting apache server to database via perl's DBI
ii libapache2-mod-perl2 2.0.10-2ubuntu3.18.04.1 amd64 Integration of perl with the Apache2 web server
rc libapache2-mod-shib2 2.6.1+dfsg1-2 amd64 Federated web single sign-on system (Apache module)
ii libapache2-mod-svn 1.9.7-4ubuntu1 amd64 Apache Subversion server modules for Apache httpd
ii libapache2-reload-perl 0.13-1 all module for reloading Perl modules when changed on disk
</pre>
<pre>
vhost:
[...]
<IfModule dav_svn_module>
PerlLoadModule Apache::Redmine
SVNCompressionLevel 0
<Location /repos/>
DAV svn
SVNParentPath /var/opt/apache/XXX/subversion/
SVNListParentPath on
SVNIndexXSLT "/repos-web/view/repos.xsl"
SVNPathAuthz off
SVNAllowBulkUpdates Prefer
SVNCacheRevProps on
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
AuthType Basic
AuthName "Redmine SVN Repository"
AuthUserFile /dev/null
Require all denied
Require all denied
<RequireAny>
<RequireAny>
Require valid-user
</RequireAny>
<RequireAll>
Require method GET PROPFIND OPTIONS REPORT HEAD POST
<RequireAny>
Require ip XXXX
Require env AllowIP
</RequireAny>
</RequireAll>
</RequireAny>
#limit max size to 400MB
LimitRequestBody 424288000
LimitXMLRequestBody 8000000
## for mysql
RedmineDSN "DBI:mysql:database=XXX;host=XXX;port=XXXX"
RedmineDbUser "XXXX"
RedmineDbPass "XXXXXXXXXXXXXXXXXXXXXXXXXXX"
#Cache the last 50 auth entries
RedmineCacheCredsMax 500
</Location>
[...]
</pre> 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 #31815 (Needs feedback): After edition document's attachment redirecting to home...https://www.redmine.org/issues/318152019-07-29T07:50:27ZEvgeny Zhiryakov
<p>Database manager version: MariaDB 10.1.38<br />Ruby version: Ruby 2.3.3<br />Rails version: Rails 5.2.3<br />Redmine version 4.0.4</p>
<a name="Steps-to-reproduce"></a>
<h2 >Steps to reproduce<a href="#Steps-to-reproduce" class="wiki-anchor">¶</a></h2>
<ol>
<li>Go to "Documents" tab</li>
<li>Create if not exists a new document with attachment</li>
<li>Start edit attached file by pressing "Pencil" icon</li>
<li>Change or add information in fields</li>
<li>Press "Save" button</li>
</ol>
<a name="Actual-result"></a>
<h2 >Actual result<a href="#Actual-result" class="wiki-anchor">¶</a></h2>
<p>After saving redirecting to home page.</p>
<a name="Expected-result"></a>
<h2 >Expected result<a href="#Expected-result" class="wiki-anchor">¶</a></h2>
<p>Return to "Documents" tab in same project.</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 #30176 (Confirmed): Anonymous users cannot upload attachment if added to project...https://www.redmine.org/issues/301762018-12-11T05:56:02ZWicky Hu
<p>Hi,</p>
<p>I found an upload issue for anonymous users, here is the details to re-produce the issue:</p>
<p>1. Anonymous role: keep default setting, i.e. NO "Add Issue" permission<br />2. Reporter role: keep default setting, i.e. HAS "Add Issue" permission<br />3. Create a project<br />4. Add Anonymous users to members list of the project, as Reporter<br />5. Now Anonymous user can Add Issue and save<br />6. However, while uploading file, authentication box will popup <br />7. If I change Anonymous role to check "Add Issue", file upload is ok</p>
<p>The expected result is: <br />When Anonymous users added to project as reporter, they can add issue and can upload files,<br />without the needs to change Anonymous role, which will affect all public projects</p>
<pre>
Environment:
Redmine version 3.4.7.stable
Ruby version 2.4.4-p296 (2018-03-28) [x86_64-linux]
Rails version 4.2.11
Environment production
Database adapter Mysql2
SCM:
Subversion 1.7.14
Git 1.8.3.1
Filesystem
Redmine plugins:
clipboard_image_paste 1.13
custom_users_as_assignees 0.0.3
customfield_checkbox_utility 0.0.2
redmine_checklists 3.1.11
redmine_email_inline_images 1.0.0
redmine_helpdesk 0.0.15
redmine_knowledgebase 3.3.1
redmine_lightbox2 0.4.3
redmine_logs 0.1.1
redmine_more_code 1.0.0
redmine_preview_inline 1.0.2
</pre>
<p>Regards<br />Wicky</p> Redmine - Defect #29855 (Confirmed): add_working_days returns wrong datehttps://www.redmine.org/issues/298552018-10-27T06:46:28ZYutaka Hara
<p><code>Redmine::Util::DateCalculation#add_working_days(date, n)</code> returns wrong date when <code>date</code> is holiday and <code>n</code> is a multiple of 5.</p>
<p>Example:</p>
<pre>
irb(main):004:0> Setting.non_working_week_days
=> ["6", "7"]
irb(main):001:0> include Redmine::Utils::DateCalculation
irb(main):002:0> add_working_days(Date.new(2018, 10, 27), 5)
=> Mon, 05 Nov 2018 # Expected Fri, 02 Nov 2018
irb(main):003:0> add_working_days(Date.new(2018, 10, 28), 5)
=> Mon, 05 Nov 2018 # Expected Fri, 02 Nov 2018
</pre>
<p>Tested with <code>trunk@17598</code></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 #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 #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 #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 #25787 (Needs feedback): "Custom field permissions" only work if I select all ro...https://www.redmine.org/issues/257872017-05-08T11:57:39Zozgur yazilimas
<p>I want to add "required" permission to my custom field for specific role and tracker. I'm selecting only related role and tracker to do it but it doesn't work. Field permissions table showing my "required" selection after saving process but this field is not showing as "required" with red "*" symbol on issue page.</p>
<p>If I select all roles on "field permissions" table, it works. But I don't want to add "required" permission to all roles.</p>
<pre>
Environment:
Redmine version 3.0.7.stable
Ruby version 2.3.1-p112 (2016-04-26) [x86_64-linux]
Rails version 4.2.3
Environment production
Database adapter Mysql2
SCM:
Git 1.8.3.1
Filesystem
</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 #25222 (Needs feedback): 404 error when visiting project's repository tab withou...https://www.redmine.org/issues/252222017-02-28T18:32:46ZLluís Vilanova
<p>I have a newly created project with some repositories, but none of them is marked as "main". If I now go to the repository tab, redmine shows a nice error page, saying it could not find an entry or revision in the repo (number 404). More importantly, the non-main repositories do not appear on the side-bar, where they usually are.</p>
<p>If I create an empty main repository using git the error persists, since git has no initial commit in it.</p>
<p>Only after I do some initial commit on the main repo, I can see the list of sub-repos in that project.</p> Redmine - Defect #25106 (Confirmed): "Spent time" in all issues, show as 0 with no permissionhttps://www.redmine.org/issues/251062017-02-16T12:21:37ZSergiy Melnychuk
<p><strong>Step 1</strong>: Create role "Clients" with those Permissions</p>
<p>Path: Administration -> Roles and permissions (Roles) -> New role</p>
<p>I`m uncheck all checkboxes on "Time tracking" area</p>
<p><img src="https://www.redmine.org/attachments/download/17759/roles_permissions.png" style="width:100px;" alt="" /></p>
<p>to see on full size picture press "this"</p>
<p><strong>Step 2</strong>: I`m add User to Test Project with this Role</p>
<p>Path: Projects -> Test Project -> Settings -> Members tab</p>
<p><img src="https://www.redmine.org/attachments/download/17757/projects_test_settings_members.png" alt="" /></p>
<p><strong>Step 3</strong>: Go to my issues list in my Test project, and see this</p>
<p>Path: Projects -> Test Project -> Issues</p>
<p><img src="https://www.redmine.org/attachments/download/17756/project_tasks.png" alt="" /></p>
<p>Its all right, i`m dont see "Spent time"</p>
<p><strong>Step 4</strong>: Go to Path: Projects -> View all issues</p>
<p>Expected: I Shoud not see the column "Spent time" and the values in it. Column "Spent time" is hidden<br />Actual: I can see "Spent time" column and values in it</p>
<p><img src="https://www.redmine.org/attachments/download/17758/issues.png" alt="" /></p> Redmine - Defect #24915 (Needs feedback): Activity shows issues and text of issues which should nothttps://www.redmine.org/issues/249152017-01-24T11:05:35ZThomas Löfgren
<p>If as user only allowed to see your issues (Issues assigned or created by user) and you click on a different member of the project from the Project overview side.</p>
<ul>
<li>You will see all the tickets assigned to that user and some of the content of the tickets as well.</li>
<li>If you click on a ticket from the activity you will get 403 Forbidden.</li>
</ul>
<p>This may be applicable on other kind of activities.</p> Redmine - Defect #24242 (Needs feedback): Adding comments to ticket returns internal server errorhttps://www.redmine.org/issues/242422016-11-02T06:17:52ZPiyush Jain
<p>While adding comments to the ticket am getting internal server error:<br /><pre>
ActiveRecord::StatementInvalid (Mysql2::Error: Incorrect string value: '\xF0\x9F\x91\x8D\x0D\x0A...' for column 'notes' at row 1: INSERT INTO `journals`
</pre></p>
<p>I tired changing the charset from utf8 to utf8mb4 for journals table but it doesn't seems to help.</p>
<p>Can anyone suggest a walk through for this issue.</p>
<p>My Environment<br /><pre>
Environment:
Redmine version 3.3.0.stable
Ruby version 2.3.1-p112 (2016-04-26) [x86_64-linux]
Rails version 4.2.6
Environment production
Database adapter Mysql2
SCM:
Subversion 1.7.14
Git 1.8.3.1
Filesystem
Redmine plugins:
issue_charts 1.3.0
periodictask 3.1.1
redmine_checklists 3.1.3
redmine_email_fetcher 0.3.1
redmine_helpdesk 0.0.15
redmine_issue_history 1.0.0
redmine_omniauth_google 0.0.1
simple_author_change 0.1.2
</pre></p> 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 #23010 (Needs feedback): ActiveRecord::StaleObjectError in issue bulk updatehttps://www.redmine.org/issues/230102016-06-08T07:58:36ZSteven Wong
<p>I used the issue list, and select all issue.<br />then right click and choose assign to someone , then loading for long time and at last occured an blank page.</p>
<p>I checked the log as follows:</p>
<pre>
F, [2016-06-08T15:54:36.314677 #1660] FATAL -- :
ActiveRecord::StaleObjectError (Attempted to update a stale object: Issue):
app/models/issue.rb:182:in `create_or_update'
app/controllers/issues_controller.rb:292:in `block in bulk_update'
app/controllers/issues_controller.rb:278:in `each'
app/controllers/issues_controller.rb:278:in `bulk_update'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
</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 #22861 (Needs feedback): Allow themes to override responsive style sheet.https://www.redmine.org/issues/228612016-05-20T11:33:46ZSébastien Comeau
<p>Modified the scan_themes method in themes.rb to allow themes to override responsive style sheet.</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 #20153 (Needs feedback): Ajax indicator ajaxComplete/ajaxStop do not fire at (do...https://www.redmine.org/issues/201532015-06-23T00:11:43Zgeorgi ivanov
<p>Ajax loading bar does not hide after the document jquery ajaxStart event fires it.</p>
<p>Temporary workaround would be if we add:</p>
<pre><code class="javascript syntaxhl"><span class="kd">function</span> <span class="nx">hideAjaxIndicator</span><span class="p">()</span> <span class="p">{</span>
<span class="nx">$</span><span class="p">(</span><span class="dl">'</span><span class="s1">#ajax-indicator</span><span class="dl">'</span><span class="p">).</span><span class="nx">hide</span><span class="p">();</span>
<span class="p">}</span>
<span class="nx">$</span><span class="p">(</span><span class="nb">document</span><span class="p">).</span><span class="nx">ready</span><span class="p">(</span><span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
<span class="nx">setTimeout</span><span class="p">(</span><span class="nx">hideAjaxIndicator</span><span class="p">,</span> <span class="mi">1000</span><span class="p">);</span>
<span class="p">});</span>
</code></pre><br />to application.js in public/javascript<br />which will force initial .hide on ajaxindicator. 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 #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 #17158 (Needs feedback): 403 error when trying to view project/issue detailshttps://www.redmine.org/issues/171582014-06-11T11:20:20ZMarcin Skoczylas
<p>Hi!</p>
<p>I've had a working instance of Redmine 2.3.0 started on Thin web server (v1.5.1 codename Straight Razor) working for last year: thin start --ssl -e production. Today I wanted to add support to send emails and I configured GMail correctly (via configuration.yml), sending emails works perfectly now... I'm not sure if that broke configuration as I literally added few lines to configuration.yml but...</p>
<p>Now all my users that are not administrators can't access their private projects with 403 error message. If project is public everything works fine, also administrators can access the private projects. List of projects by regular members can be seen in /projects URL, also issues are shown in dashboard, but when member wants to go into the project or issue details the error is thrown (excerpt from production.log):</p>
<p>Started GET "/projects/xxxxx" for 89.x.y.z at 2014-06-11 11:37:50 +0200<br />Processing by ProjectsController#show as HTML<br /> Parameters: {"id"=>"xxxxx"}<br /> Current user: j.member (id=2)<br /> Rendered common/error.html.erb within layouts/base (0.1ms)<br />Filter chain halted as :authorize rendered or redirected<br />Completed 403 Forbidden in 20ms (Views: 10.7ms | ActiveRecord: 1.6ms)<br />What's going on?? What this error means? Where I can start digging, as I do not see any clue in this? I changed member roles to allow for everything, but still they get 403... I'm really desperate as I can't find anything in settings that could cause this. Could you please give me a hint what to do to get this working back?</p>
<p>Edit:<br />I've changed logger to debug and I got some more details:</p>
<pre><code>Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."builtin" = 1 LIMIT 1<br /> Rendered common/error.html.erb within layouts/base (0.1ms)<br />Is this a bug in Redmine? Why selecting roles creates an error?</code></pre>
<p>Edit2:<br />I've upgraded Redmine to 2.5.1 but the problem is still there. This seems as a bug as I can't properly configure this via admin Settings. I gave all privileges to members but still they receive 403 error.</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 #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 #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 #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 #13456 (Needs feedback): <% content_for :header_tags do %> doesn't work inside hookhttps://www.redmine.org/issues/134562013-03-12T17:11:20ZSamuel R.
<p>See <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: <% content_for :header_tags do %> doesn't work inside hook (Closed)" href="https://www.redmine.org/issues/11105">#11105</a> for more details</p> Redmine - Defect #13086 (Needs feedback): "Mysql::Error: Duplicate entry" in fetching revisionshttps://www.redmine.org/issues/130862013-02-05T16:44:44Zzam kp
<p>Hello Team</p>
<p>When i am integrating one of the redmine project with svn i got Error like this</p>
<p>Please help me</p>
<p>ERROR LOG:</p>
<p>ActiveRecord::StatementInvalid (Mysql::Error: Duplicate entry '98-989' for key 'changesets_repos_rev': INSERT INTO `changesets` (`committer`, `committed_on`, `repository_id`, `revision`, `user_id`, `commit_date`, `scmid`, `comments`) <abbr title="'kinson', '2012-12-24 14:42:55', 98, '989', 608, '2012-12-24 14:42:55', NULL, 'changes in adding infotext to survey item table.'">VALUES</abbr>):<br /> app/models/repository/subversion.rb:67:in `fetch_changesets'<br /> app/models/repository/subversion.rb:66:in `fetch_changesets'<br /> app/models/repository/subversion.rb:65:in `reverse_each'<br /> app/models/repository/subversion.rb:65:in `fetch_changesets'<br /> app/controllers/repositories_controller.rb:92:in `show'<br /> passenger (3.0.11) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'<br /> passenger (3.0.11) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'<br /> passenger (3.0.11) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'<br /> passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'<br /> passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'<br /> passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'<br /> passenger (3.0.11) lib/phusion_passenger/utils.rb:479:in `safe_fork'<br /> passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'<br /> passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `__send__'<br /> passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'<br /> passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'<br /> passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:180:in `start'<br /> passenger (3.0.11) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'<br /> passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'<br /> passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'<br /> passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'<br /> passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'<br /> passenger (3.0.11) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'<br /> passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'<br /> passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'<br /> passenger (3.0.11) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'<br /> passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `__send__'<br /> passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'<br /> passenger (3.0.11) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'<br /> passenger (3.0.11) helper-scripts/passenger-spawn-server:99</p>
<p>Rendering /mnt/redmine/home/redmine/redmine/public/500.html (500 Internal Server Error)</p>
<p>also can you Please tell me how the duplicate Id occur??</p>
<p>Thanks</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 #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 #10233 (Confirmed): "update issue" silently ignores "status" field if the user i...https://www.redmine.org/issues/102332012-02-14T08:35:25ZAlex Last
<p>this is very inconsistent:</p>
<p>if a user is not assigned to some project, he still can execute "update issue" requests through REST API (I'm using Redmine Java API for that) and change fields like "summary", but the server <strong>silently</strong> ignores "status ID" field in this case.</p>
<p>once you assign the user to be "developer" in the project, he can update the "issue status" field as well.</p>
<p>REST API should NOT silently ignore some fields and allow others to be changed.<br />need to add a proper message to the response explaining why some fields could not be changed.</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 #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 #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 #7217 (Reopened): Access to SVN Repository of subproject is not allowed if repo ...https://www.redmine.org/issues/72172011-01-03T10:30:26ZTharuka Pathirana
<p>If a subproject is set to show the parent's project repository but a user is only allowed to access the subproject but not the parent project, they are not allowed to access the repository.</p>
<p>Accessing the repository via the web interface works fine, even commit access works (using the <a href="http://www.redmine.org/projects/redmine/wiki/PluginScmExtensions" class="external">SCM Extensions Plugin</a>).<br />Using TortoiseSVN results in a 403 error, even for read operations.</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 #6609 (Reopened): % Done for Parent Tasks [2]https://www.redmine.org/issues/66092010-10-08T07:36:18ZEwan Makepeace
<p>If I have parent tasks and sub tasks and I use manual (per issue) % done values, then the parent gets the average of the values of the subtasks.<br />However if I use the option to set % done from status updates then instead of inheriting its % done from the subtasks it takes it from the status attached on the parent task.</p>
<p>Example:</p>
<p><img src="https://www.redmine.org/attachments/download/4635/parent.jpg" alt="" /></p>
<p>In this case 3 of 4 subtasks are finished and the 4th is in progress, yet the parent task remains at 10% because its status is just 'Developing' (which means not much for a container task).</p>
<p>I actually have two separate requests here:</p>
<ol>
<li>I think that parent tasks should inherit their done% from the sub tasks in both modes (note that when using per-issue Done% values I do not get the option to pick a value for the parent, it is always computed, so why not for the by-status version too?)</li>
<li>Rather than average the <span>Done of the child tasks I would prefer to weight them by the estimated time of each subtask, so if I have 2 x 8 hr tasks finished and one 4 hour task not started the parent would be at 80</span> and not 66%.</li>
</ol> 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 #6082 (Confirmed): acts_as_event email keyhttps://www.redmine.org/issues/60822010-08-09T07:24:10ZFelix Schäfer
<p>When gravatars are enabled, the activity view tries to show the gravatar by passing a user object to the <code>avatar</code> method. While this works for all events that have local users, the changeset model/event can't always create a local user object for the changeset while still having the email of the user that generated this changeset.</p>
<p>Concrete use-case: I have a git repository in which I have cherry-picked 2 revisions from a user not member of my redmine installation, in this case the changeset retains the author not as a user object, but as a string "name <email>" (very much like git presents it), the changeset object only presents the "name" as the author (see <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/entry/trunk/app/models/changeset.rb#L68">source:/trunk/app/models/changeset.rb#L68</a>). While this is correct behavior for places just polling <code>event_author</code> for a name, the <code>avatar</code> won't get the email address from it, though that information is present. I've changed the activity view to try to use <code>committer</code> (the whole "name <email>", which <code>avatar</code> parses corectly) if the "normal" way doesn't yield an avatar, the following line <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/entry/trunk/app/views/projects/activity.rhtml#L10">source:trunk/app/views/projects/activity.rhtml#L10</a></p>
<pre><code class="ruby syntaxhl"><span class="o"><</span><span class="sx">%= avatar(e.event_author, :size =</span><span class="o">></span> <span class="s2">"24"</span><span class="p">)</span> <span class="k">if</span> <span class="n">e</span><span class="p">.</span><span class="nf">respond_to?</span><span class="p">(</span><span class="ss">:event_author</span><span class="p">)</span> <span class="o">%></span></code></pre>
<p>to read:</p>
<pre><code class="ruby syntaxhl"><span class="o"><</span><span class="sx">%= (avatar(e.event_author, :size =</span><span class="o">></span> <span class="s2">"24"</span><span class="p">)</span> <span class="k">if</span> <span class="n">e</span><span class="p">.</span><span class="nf">respond_to?</span><span class="p">(</span><span class="ss">:event_author</span><span class="p">))</span> <span class="n">or</span> <span class="p">(</span><span class="n">avatar</span><span class="p">(</span><span class="n">e</span><span class="p">.</span><span class="nf">committer</span><span class="p">,</span> <span class="ss">:size</span> <span class="o">=></span> <span class="s2">"24"</span><span class="p">)</span> <span class="k">if</span> <span class="n">e</span><span class="p">.</span><span class="nf">respond_to?</span><span class="p">(</span><span class="ss">:committer</span><span class="p">))</span> <span class="o">%></span></code></pre>
<p>This solves the problem for changesets, but will not solve it for the generic case.</p>
<p>I see 2 options here to deal with that: either extend <code>acts_as_event</code> to also provide a method/an interface to query the author's email address (but that feels somewhat kludgy), or mock a (temporary) user object with the information we have (basically the name for the <code>to_s</code> method and the email address for <code>email</code>) to provide the same interface as for "local users". This might break further along down the way though if anything polling the events expects to receive a full user object but only gets one with a very limited interface.</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 #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 #4953 (Confirmed): "In the past N days" filter displays N+1 dayshttps://www.redmine.org/issues/49532010-03-01T09:26:54ZGiuliano Simoncelli
<p>Go in /time_entries/report (all projects)<br />Select "Last 7 days" <br />Select "days" in details, add something, the report shows and sums 8 days.</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 #2414 (Reopened): 'Add News Button' in 'Add news'https://www.redmine.org/issues/24142008-12-29T17:40:32ZKarl Heinz Marbaise
<p>I have observed a little 'Bug', cause if i going to News and click on 'Add news' I'm forwarded to the 'Add news' area but the 'Add news' Button is displayed anymore.<br />My opinion is not to display the 'Add news' Button there. Take a look at the attached screen shot.</p>
<p>May be this is a feauture? or already fixed on a newer revision ?</p>
<ul>
<li>Revision 2081 on trunk<br />my environment:<br /><pre>minden205:/usr/local/vhosts/redmine # ruby script/about
About your application's environment
Ruby version 1.8.6 (x86_64-linux)
RubyGems version 1.3.0
Rails version 2.1.1
Active Record version 2.1.1
Action Pack version 2.1.1
Active Resource version 2.1.1
Action Mailer version 2.1.1
Active Support version 2.1.1
Application root /usr/local/vhosts/redmine
Environment development
Database adapter mysql
Database schema version 101
</pre></li>
</ul> 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>