Redmine: Issueshttps://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292024-03-29T03:15:49ZRedmine
Redmine Redmine - Defect #40497 (New): testhttps://www.redmine.org/issues/404972024-03-29T03:15:49Zthanapon jaiauea
<p>asd</p> Redmine - Defect #40490 (New): login page back_url always use http not httpshttps://www.redmine.org/issues/404902024-03-28T03:56:29ZBill Hsu
<p>I hava a Redmine 5.1.2.stable executed in container, and I use Apache HTTPD to proxy https to http port 3000. Evertyhing is working perfect, but my webpage is scaned by system and get a "Site does not enforce HTTPS" issue.<br />It says my login URL's back_url is http, not https. But all my service is running in https URL. How can I solve this issue to be</p>
<p><a class="external" href="https://redmine.XXX.com/login?back_url=https%3A%2F%2Fredmine.XXX.com%2F">https://redmine.XXX.com/login?back_url=https%3A%2F%2Fredmine.XXX.com%2F</a></p>
<p>not</p>
<p><a class="external" href="https://redmine.XXX.com/login?back_url=http%3A%2F%2Fredmine.XXX.com%2F">https://redmine.XXX.com/login?back_url=http%3A%2F%2Fredmine.XXX.com%2F</a></p> 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 #40444 (New): The text on the location box isn't fully displayed after setting t...https://www.redmine.org/issues/404442024-03-23T16:50:38ZLiliia Dovzhyk
<p><strong>Preconditions:</strong></p>
<p>The text size on the device is set to XXL</p>
<p><strong>Steps to reproduce:</strong></p>
<blockquote><blockquote>
<p>1. Tap the "Weather icon".<br />2. Swipe left to the "Weather location" page.<br />3. Pay attention to the location box.</p>
</blockquote></blockquote>
<p><strong>Actual result:</strong> The text on the location box isn't fully displayed after setting the text size on the device to XXL.</p>
<p><strong>Expected result:</strong> The text on the location box is fully displayed after setting the text size on the device to XXL.</p> Redmine - Defect #40426 (Needs feedback): Can't view on Redminehttps://www.redmine.org/issues/404262024-03-19T11:57:41ZLoi Nguyen
<p>Dear Team Supoort,</p>
<p>In my internal system there is a redmine system to serve users. I had a project 5 years ago. Now I have to trace the log as well as that ticket. I can still open that ticket but I cannot open the file. attach on that ticket, is this the redmine system that deletes itself or something like that? help me</p>
<p>Thanks</p> Redmine - Defect #40413 (New): The issue list fiter "Watched by" only dereferences "watched by gr...https://www.redmine.org/issues/404132024-03-15T21:20:32ZFelix Schäfer
<p>When using the <code><< me >></code> value for the "Watched by" filter on the issue list, group memberships will be dereferenced and issues the user watches via groups will be show in the results (if the user has <code>view_issue_watchers</code> permission, see <a class="issue tracker-1 status-1 priority-4 priority-default" title="Defect: Issue list filter "Watched by: me" only shows issues watched via group for projects with the view... (New)" href="https://www.redmine.org/issues/40412">#40412</a>).</p>
<p>Group memberships however will not be considered for this filter when using named users for the value of the filter. Groups memberships should also be applied for named users.</p>
<p>Note: This also means that using this filter with <code><< me >></code> will produce different results for a user than when the user selects herself In the list.</p> Redmine - Defect #40412 (New): Issue list filter "Watched by: me" only shows issues watched via g...https://www.redmine.org/issues/404122024-03-15T21:16:52ZFelix Schäfer
<p>When using the "Watched by: me" filter on the issue list, the filtered list will show all issues the current user is directly watching. The filtered list will also show issues watched via a group membership, but only for issues in a project the user has the <code>view_issue_watchers</code> permission.</p> Redmine - Defect #40410 (New): Watcher groups on new issue form get dereferenced on validation errorhttps://www.redmine.org/issues/404102024-03-15T21:04:35ZFelix Schäfer
<p>When creating a new issue, selecting a group as a watcher and causing a validation error (for example leave the subject blank), all users of the group will be selected in addition to the initially selected group.</p>
<p>This test shows the problem:</p>
<pre><code class="diff syntaxhl"><span class="gh">diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index cce8ddc625..fb401c701d 100644
</span><span class="gd">--- a/test/functional/issues_controller_test.rb
</span><span class="gi">+++ b/test/functional/issues_controller_test.rb
</span><span class="p">@@ -4778,6 +4778,25 @@</span> class IssuesControllerTest < Redmine::ControllerTest
assert_select 'input[name=?][value="8"][checked=checked]', 'issue[watcher_user_ids][]'
end
+ def test_post_create_with_failure_should_not_dereference_group_watchers
<span class="gi">+ @request.session[:user_id] = 1
+ post(
+ :create,
+ :params => {
+ :project_id => 5,
+ :issue => {
+ :tracker_id => 1,
+ :watcher_user_ids => ['11']
+ }
+ }
+ )
+ assert_response :success
+
+ # The group's user was not explicitely selected
+ assert_select 'input[name=?][value="8"][checked=checked]', 'issue[watcher_user_ids][]', 0
+ assert_select 'input[name=?][value="11"][checked=checked]', 'issue[watcher_user_ids][]', 1
+ end
+
</span> def test_post_create_should_ignore_non_safe_attributes
@request.session[:user_id] = 2
assert_nothing_raised do
</code></pre>
<p>(Please note: The test above the one proposed in the diff uses the <code>:not(checked)</code> pseudo-selector, this however does not seem to work as expected)</p> Redmine - Defect #40403 (New): Subtasks of all levels are shown in the parent issuehttps://www.redmine.org/issues/404032024-03-14T20:51:05ZAndré Polykanine
<p>This thing is better shown by an example.<br />Given we have three issues: issue 1 which is a parent issue; issue 2, subtask of issue 1; and issue 3, subtask of issue 2.<br />In this situation, when I go to issue 1, I expect to see only issue 2 as its subtask, but I see two subtasks, issues 2 and 3. If I go to issue 2, everything is correct: I see issue 1 as parent and issue 3 as subtask.<br />It would be nice to separate direct subtasks from subtasks of other levels.</p> Redmine - Defect #40362 (New): Autocomplete double hash keep system test failshttps://www.redmine.org/issues/403622024-03-07T16:40:16ZMassimo Rossello
<p>In latest versions of Redmine (5.0.8 and 5.1.2) the system test 'test_inline_autocomplete_for_issues_with_double_hash_keep_syntax' fails for no '.tribute-container' section is found</p> Redmine - Defect #40348 (New): Parent Task field not available in Import issues screenhttps://www.redmine.org/issues/403482024-03-05T21:55:39ZFrancisco Vega
<p>Hi,<br />I'm having troubles when importing issues. I make an import of 5 tasks. Then, I assign those task to several subtasks in a CSV file as Parent Tasks, basically to import all subtasks in this second step.<br />However, when importing, the field "Parent Task" doesn't appear in the list, so I can't make . Parent TaskField is active in the corresponding tracker. I test it in 2 different instances (4.2.2. and 5.1.2.), and they have the same problem. I can't find a configuration for this, is there someting that I'm missing? Many txs!</p>
<p>(sorry, my instance is in spanish. The field name in spanish for "Parent Task" is "Tarea Padre", and is not there)</p>
<p><img src="https://www.redmine.org/attachments/download/32053/clipboard-202403051849-2kdqp.png" alt="" /></p> Redmine - Defect #40347 (New): Mismatching main project and subprojecthttps://www.redmine.org/issues/403472024-03-05T19:23:50ZSirius Black
<p>I was trying to create new subprojects by first creating a new main project and then adding the subprojects to it. Initially, everything seemed to work fine. However, later on, I noticed that some of the newly created projects, along with their subprojects, were being placed under existing projects. Eventually, the projects tab became rearranged, and all of the projects were mismatched. It's important to mention that all the project settings are correctly aligned with their respective subprojects. Now I'm stuck and unable to reverse the process or proceed with it. I've also restarted my server, but the issues persist. Please help.</p> Redmine - Defect #40323 (New): Filter for tracker doesn't display choicehttps://www.redmine.org/issues/403232024-02-28T09:42:08ZEmmanuel REVY
<p>Hello,</p>
<p>I have an issue on Redmine 5.1.1, on the issues page, when I want to applicate filter, for example "Tracker", it doesn't display the list of tracker, so it's impossible de filter and applied.</p>
<p><img src="clipboard-202402281041-sdhdf.png" alt="" /></p>
<p>Here is my Redmine installation :</p>
<p>nvironment:<br /> Redmine version 5.1.1.stable<br /> Ruby version 3.1.2-p20 (2022-04-12) [x86_64-linux-gnu]<br /> Rails version 6.1.7.6<br /> Environment production<br /> Database adapter Mysql2<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />Redmine settings:<br /> Redmine theme Circle (includes JavaScript)<br />SCM:<br /> Git 2.39.2<br /> Filesystem <br />Redmine plugins:<br /> additionals 3.2.0-main<br /> redmine_agile 1.6.8<br /> redmine_checklists 3.1.23<br /> redmine_ckeditor 1.2.4<br /> redmine_contacts 4.4.0<br /> redmine_contacts_helpdesk 4.2.2<br /> redmine_issue_view_columns 2.0.3<br /> redmine_lightbox 1.0.2<br /> redmine_people 1.6.5<br /> redmine_reporter 2.0.4<br /> redmineup_tags 2.0.13</p>
<p>Regards.</p> Redmine - Defect #40310 (New): Open Wiki Syntax quick reference in a modalhttps://www.redmine.org/issues/403102024-02-25T23:18:54ZMarius BĂLTEANU
<p>Based on the work done in <a class="issue tracker-3 status-5 priority-4 priority-default closed" title="Patch: Jstoolbar help files should import images from the asset pipeline (Closed)" href="https://www.redmine.org/issues/40137">#40137</a>, I'm wondering if it is a good ideea to open the quick reference in a jQuery modal instead of the current implementation.</p>
<p>Current:<br /><img src="https://www.redmine.org/attachments/download/32027/Screenshot%202024-02-26%20at%2001.16.02.png" style="height:500px;border: 1px solid grey;" alt="" /></p>
<p>Modal:<br /><img src="https://www.redmine.org/attachments/download/32028/Screenshot%202024-02-26%20at%2001.17.23.png" style="height:500px;" alt="" /></p> Redmine - Defect #40303 (New): Design of the code block in the issue list block column is brokenhttps://www.redmine.org/issues/403032024-02-23T08:23:05ZYasu Saku
<p>I believe the following incorrect css is being applied to the code block in the issue list block column.</p>
<p><a class="external" href="https://www.redmine.org/projects/redmine/repository/svn/entry/branches/5.1-stable/public/stylesheets/application.css#L293">https://www.redmine.org/projects/redmine/repository/svn/entry/branches/5.1-stable/public/stylesheets/application.css#L293</a><br /><pre><code class="css syntaxhl"><span class="nt">table</span><span class="nc">.issues</span> <span class="nt">td</span><span class="nc">.block_column</span> <span class="nt">span</span> <span class="p">{</span><span class="nl">font-weight</span><span class="p">:</span> <span class="nb">bold</span><span class="p">;</span> <span class="nl">display</span><span class="p">:</span> <span class="nb">block</span><span class="p">;</span> <span class="nl">margin-bottom</span><span class="p">:</span> <span class="m">4px</span><span class="p">;}</span>
<span class="nt">table</span><span class="nc">.issues</span> <span class="nt">td</span><span class="nc">.block_column</span> <span class="nt">pre</span> <span class="p">{</span><span class="nl">white-space</span><span class="p">:</span><span class="nb">normal</span><span class="p">;}</span>
</code></pre></p>
<p>For example:<br /><a class="external" href="https://redmine.org/projects/redmine/issues?utf8=%E2%9C%93&set_filter=1&sort=id%3Adesc&f%5B%5D=issue_id&op%5Bissue_id%5D=%3D&v%5Bissue_id%5D%5B%5D=40014&f%5B%5D=&c%5B%5D=tracker&c%5B%5D=status&c%5B%5D=subject&c%5B%5D=updated_on&c%5B%5D=category&group_by=&c%5B%5D=description&t%5B%5D=">https://redmine.org/projects/redmine/issues?utf8=%E2%9C%93&set_filter=1&sort=id%3Adesc&f%5B%5D=issue_id&op%5Bissue_id%5D=%3D&v%5Bissue_id%5D%5B%5D=40014&f%5B%5D=&c%5B%5D=tracker&c%5B%5D=status&c%5B%5D=subject&c%5B%5D=updated_on&c%5B%5D=category&group_by=&c%5B%5D=description&t%5B%5D=</a><br /><img src="https://www.redmine.org/attachments/download/32026/clipboard-202402231722-kyavh.png" alt="" /></p> Redmine - Defect #40301 (New): Issue - New version: Error when create a version with custom field...https://www.redmine.org/issues/403012024-02-22T14:17:32ZMorris Penasso
<p>Following this path:<br />Open existing issue -> Edit -> Target Version -> Create new one with green button.</p>
<p>I have a "File" custom field that is not required but when i try to save version after enter the name, the system say me that the custom field is not valid.<br />I try to delete it and create another one but i obtain the same error ( only with "File" custom field ).</p>
<p>System informations:</p>
<p>Environment:<br /> Redmine version 5.1.0.stable<br /> Ruby version 3.0.2-p107 (2021-07-07) [x86_64-linux-gnu]<br /> Rails version 6.1.7.6<br /> Environment production</p>
<p>SCM:<br /> Mercurial 6.1.1<br /> Git 2.34.1<br /> Filesystem <br />Redmine plugins:<br /> redmine_dmsf 3.1.3</p> Redmine - Defect #40298 (Needs feedback): Regarding databasehttps://www.redmine.org/issues/402982024-02-22T06:19:47Zprasanna kothapalli
<p>Mysql database is not working</p> Redmine - Defect #40297 (New): Projects Quick Search includes Favorite Projects and Recently Used...https://www.redmine.org/issues/402972024-02-21T14:33:09ZChristian R
<p>Projects Quick Search includes Favorite Projects and Recently Used above search results. The real search results may appear on the very bottom of the results.</p> Redmine - Defect #40276 (New): Following issues dates do no update when non-working days are upda...https://www.redmine.org/issues/402762024-02-20T01:44:12ZDotan Cohen
<p>When updating the non-working days administrative option, extant issues set as "Following" do not have their start and due dates updated to reflect the change in non-working days.</p>
<p>To test:<br />0. Have the system configured as non-working days: Saturday, Sunday<br />1. Create an issue to be completed on Thursday.<br />2. Create an issue that Follows the previous issue, with 0 days' delay (which means that this issue will be done the next day, e.g. Friday)<br />3. Ensure that in fact, the new issue is correctly set to start and be due on Friday.<br />4. In `Administration -> Settings -> Issue tracking -> Non-working days` change the setting to Friday, Saturday.<br />5. Return to the "Following" issue.</p>
<p>Expected results:<br />The "Following" issue should have its start and due dates set to the next Sunday.</p>
<p>What actually happens:<br />The "Following" issues' start and due dates have not been updated.</p>
<p>Note that removing the Following relationship and putting it back does in fact set the correct start and due dates (e.g. to Sunday).</p>
<p>```<br />Environment:<br /> Redmine version 5.1.1.stable<br /> Ruby version 3.2.3-p157 (2024-01-18) [x86_64-linux]<br /> Rails version 6.1.7.6<br /> Environment production<br /> Database adapter PostgreSQL<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />Redmine settings:<br /> Redmine theme Default<br />SCM:<br /> Subversion 1.14.2<br /> Mercurial 6.3.2<br /> Bazaar 3.3.2<br /> Git 2.39.2<br /> Filesystem <br />Redmine plugins:<br /> no plugin installed<br />```</p> Redmine - Defect #40249 (Needs feedback): Clear filter option is not working properlyhttps://www.redmine.org/issues/402492024-02-18T07:51:27Ztesting buddy
<p>while clicking clear filter button , status check box is not cleared</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 #40121 (New): InvalidCrossOriginRequest exception raised by automated pentests o...https://www.redmine.org/issues/401212024-01-24T11:58:52ZLiane Hampe
<a name="Problem"></a>
<h2 >Problem<a href="#Problem" class="wiki-anchor">¶</a></h2>
<p>When an automated pentest or a malicous user requests for example:</p>
<pre>
https://<your-domain>.tld/projects/autocomplete.js
</pre>
<p>the following exception will be raised:</p>
<pre>
An ActionController::InvalidCrossOriginRequest occurred in projects#autocomplete:
Security warning: an embedded <script> tag on another site requested protected JavaScript. If you know what you're doing, go ahead and disable forgery protection on this action to permit cross-origin JavaScript embedding.
</pre>
<p><strong>Note:</strong> Any other url containing *.js will raise this exception.</p>
<p>All currently supported versions of Redmine are affected.</p>
<a name="Solution"></a>
<h2 >Solution<a href="#Solution" class="wiki-anchor">¶</a></h2>
<p>The solution is to rescue from ActionController::InvalidCrossOriginRequest.</p>
<p>The attached patch file fix_invalid_cross_origin_request_exception.patch gives an example how to do that. A test is also included.</p> Redmine - Defect #40100 (New): User ordering by name is incorrect for french languagehttps://www.redmine.org/issues/401002024-01-23T14:33:10Zphilippe lhardy
<p>by example in user list to pick for ticket assignement users with accentuated characters don't follow natural french ordering.<br />It should normalize name with accentuated characters like éè to correponding non accenutated letter prior of ordering.<br />when the list is very long it can lead to the false impression that user is not registered.</p>
<p>in redmine : Claire < Clovis < Clément < Constantin < Cyril < Céline</p>
<p>while we would expect : Céline (Celine) < Claire < Clément (Clement) < Clovis < Constantin < Cyril</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 #40052 (Confirmed): Unpermitted parameters: :utf8, :_method, :authenticity_token...https://www.redmine.org/issues/400522024-01-12T13:50:01ZLiane Hampe
<p>There is a warning comming probably from CustomFieldEnumerationsController#update_each_params:</p>
<pre><code class="ruby syntaxhl"> <span class="no">Current</span> <span class="ss">user: </span><span class="n">admin</span> <span class="p">(</span><span class="nb">id</span><span class="o">=</span><span class="mi">1</span><span class="p">)</span>
<span class="no">CustomField</span> <span class="no">Load</span> <span class="p">(</span><span class="mf">0.1</span><span class="n">ms</span><span class="p">)</span> <span class="no">SELECT</span> <span class="s2">"custom_fields"</span><span class="p">.</span><span class="nf">*</span> <span class="no">FROM</span> <span class="s2">"custom_fields"</span> <span class="no">WHERE</span> <span class="s2">"custom_fields"</span><span class="o">.</span><span class="s2">"id"</span> <span class="o">=</span> <span class="p">?</span> <span class="no">LIMIT</span> <span class="p">?</span> <span class="p">[[</span><span class="s2">"id"</span><span class="p">,</span> <span class="mi">2</span><span class="p">],</span> <span class="p">[</span><span class="s2">"LIMIT"</span><span class="p">,</span> <span class="mi">1</span><span class="p">]]</span>
<span class="err">↳</span> <span class="n">app</span><span class="o">/</span><span class="n">controllers</span><span class="o">/</span><span class="n">custom_field_enumerations_controller</span><span class="p">.</span><span class="nf">rb</span><span class="p">:</span><span class="mi">66</span><span class="p">:</span><span class="k">in</span> <span class="sb">`find_custom_field'
Unpermitted parameters: :utf8, :_method, :authenticity_token, :commit, :custom_field_id # <--- WARNING!
TRANSACTION (0.1ms) begin transaction
↳ app/models/custom_field_enumeration.rb:57:in `</span><span class="n">block</span> <span class="p">(</span><span class="mi">2</span> <span class="n">levels</span><span class="p">)</span> <span class="k">in</span> <span class="n">update_each</span><span class="err">'</span>
</code></pre>
<p>Transmitted params are:<br /><pre><code class="ruby syntaxhl"><span class="no">Started</span> <span class="no">PUT</span> <span class="s2">"/custom_fields/2/enumerations"</span> <span class="k">for</span> <span class="mf">192.168</span><span class="o">.</span><span class="mf">3.25</span> <span class="n">at</span> <span class="mi">2024</span><span class="o">-</span><span class="mo">01</span><span class="o">-</span><span class="mi">12</span> <span class="mi">14</span><span class="p">:</span><span class="mi">36</span><span class="p">:</span><span class="mi">41</span> <span class="o">+</span><span class="mo">0100</span>
<span class="no">Processing</span> <span class="n">by</span> <span class="no">CustomFieldEnumerationsController</span><span class="c1">#update_each as HTML</span>
<span class="no">Parameters</span><span class="p">:</span> <span class="p">{</span><span class="s2">"utf8"</span><span class="o">=></span><span class="s2">"✓"</span><span class="p">,</span> <span class="s2">"authenticity_token"</span><span class="o">=></span><span class="s2">"RN//3j3QMblduDEe326nLo63fbre28/fL091OexG097Qb9Mn5dEsyYUZNhVnX//KBz7QR1sJQ9XT5eBsx2YCZw=="</span><span class="p">,</span> <span class="s2">"custom_field_enumerations"</span><span class="o">=></span><span class="p">{</span><span class="s2">"1"</span><span class="o">=></span><span class="p">{</span><span class="s2">"position"</span><span class="o">=></span><span class="s2">"0"</span><span class="p">,</span> <span class="s2">"name"</span><span class="o">=></span><span class="s2">"Wert 1"</span><span class="p">,</span> <span class="s2">"active"</span><span class="o">=></span><span class="s2">"1"</span><span class="p">},</span> <span class="s2">"2"</span><span class="o">=></span><span class="p">{</span><span class="s2">"position"</span><span class="o">=></span><span class="s2">"1"</span><span class="p">,</span> <span class="s2">"name"</span><span class="o">=></span><span class="s2">"Wert 2"</span><span class="p">,</span> <span class="s2">"active"</span><span class="o">=></span><span class="s2">"1"</span><span class="p">},</span> <span class="s2">"3"</span><span class="o">=></span><span class="p">{</span><span class="s2">"position"</span><span class="o">=></span><span class="s2">"2"</span><span class="p">,</span> <span class="s2">"name"</span><span class="o">=></span><span class="s2">"Wert 3"</span><span class="p">,</span> <span class="s2">"active"</span><span class="o">=></span><span class="s2">"1"</span><span class="p">}},</span> <span class="s2">"commit"</span><span class="o">=></span><span class="s2">"Speichern"</span><span class="p">,</span> <span class="s2">"custom_field_id"</span><span class="o">=></span><span class="s2">"2"</span><span class="p">}</span>
</code></pre></p>
<pre><code class="ruby syntaxhl"><span class="c1"># CustomFieldEnumerationsController#update_each_params</span>
<span class="k">def</span> <span class="nf">update_each_params</span>
<span class="c1"># params.require(:custom_field_enumerations).permit(:name, :active, :position) does not work here with param like this:</span>
<span class="c1"># "custom_field_enumerations":{"0":{"name": ...}, "1":{"name...}}</span>
<span class="n">params</span><span class="p">.</span><span class="nf">permit</span><span class="p">(</span><span class="ss">:custom_field_enumerations</span> <span class="o">=></span> <span class="p">[</span><span class="ss">:name</span><span class="p">,</span> <span class="ss">:active</span><span class="p">,</span> <span class="ss">:position</span><span class="p">]).</span><span class="nf">require</span><span class="p">(</span><span class="ss">:custom_field_enumerations</span><span class="p">)</span>
<span class="k">end</span>
</code></pre> Redmine - Defect #40011 (New): Email receiving problem closed issue is #39931 https://www.redmine.org/issues/400112024-01-07T20:59:55ZVugar Maharramov
<p>I'm sorry, but the following problem appeared. Everything is specified correctly in the configuration.yml file, the correct login and password were created specifically for this in the Active Directory (checked). Shown in the UGFzc3dvcmQ6 bug is the Base 64 encrypted word "Password". The fact is that in configuration.yml this parameter is indicated correctly as below (for confidentiality, some data has been changed). There are no screens between the Redmine and Postfix (there are no restrictions here either) servers; they are on the same subnet.</p>
<p>specific configuration options for production environment<br />that overrides the default ones<br />production:<br />email_delivery:<br />delivery_method: :smtp<br />smtp_settings:<br />address: My IP<br />port: 587<br />domain: x.com<br />authentication: :login<br />user_name: <a class="email" href="mailto:redmine@x.com">redmine@x.com</a><br />password: NAdsfjghsdk<br />enable_starttls_auto: true<br />I even wrote these parameters in the configuration.yml file<br />to view the logs it showed that there were no problems</p>
<p>openssl_verify_mode: none<br />logger: true</p>
<p>Even on the mail server side, everything is fine in the logs.</p>
<p>Based on the Postfix and Amavis logs you provided, it appears that emails from <a class="email" href="mailto:redmine@x.com">redmine@x.com</a> are actually being accepted and processed by your mail server.<br />DKIM Verification: There are records indicating that emails from <a class="email" href="mailto:redmine@x.com">redmine@x.com</a> pass DKIM (DomainKeys Identified Mail) verification. This is a good sign, since DKIM is an important part of sender authentication.</p>
<p>Amavis Processing: Amavis, a content filtering system for mail servers, processes messages and marks them as "CLEAN". This means that the emails do not contain viruses and are not considered spam.</p>
<p>Transfer to Postfix: Emails are successfully transferred back to Postfix for further processing and delivery.</p>
<p>Letter delivery: There are records of letters being queued for delivery and being successfully delivered. For example, lines with queued as 4SzMqV30PRz8JwW7 and status=sent (delivered via dovecot service) indicate that the delivery process is successful.</p>
<p>But the error still appears.</p>
<p>Please share your knowledge. Maybe I'm doing something wrong?<br /><img src="https://www.redmine.org/attachments/download/31765/clipboard-202401080054-7gvnj.png" alt="" /><br /><img src="https://www.redmine.org/attachments/download/31766/clipboard-202401080054-l8uer.png" alt="" /></p> Redmine - Defect #39893 (Needs feedback): Password reset is not possiblehttps://www.redmine.org/issues/398932023-12-20T15:36:43ZSalman Khan
<p>Hello, I'm trying to reset my password, but I don't get any email with a reset option.</p> Redmine - Defect #39883 (New): Edge-cases in link parsing of links nested inside nested bracketshttps://www.redmine.org/issues/398832023-12-20T02:51:28ZMischa The Evil
<p>There seems to be an/some obscure, edge-case defect(s) in the link parsing of links nested inside nested brackets (both parentheses and square brackets).</p>
<p>Some examples:</p>
<ol>
<li>txt1 (txt <a href="https://www.example.org" class="external">txt</a> (<a href="https://www.example.net)" class="external">txt</a>)
<ul>
<li><pre>txt1 (txt "txt":https://www.example.org ("txt":https://www.example.net))</pre></li>
</ul>
</li>
<li>txt2 (txt <a href="https://www.example.org" class="external">txt</a> (<a href="https://www.example.net" class="external">txt</a>) )
<ul>
<li><pre>txt2 (txt "txt":https://www.example.org ("txt":https://www.example.net) )</pre></li>
</ul>
</li>
<li>txt3 (txt <a href="https://www.example.org" class="external">txt</a> [<a href="https://www.example.net]" class="external">txt</a>)
<ul>
<li><pre>txt3 (txt "txt":https://www.example.org ["txt":https://www.example.net])</pre></li>
</ul>
</li>
<li>txt4 (txt <a href="https://www.example.org" class="external">txt</a> [<a href="https://www.example.net" class="external">txt</a>] )
<ul>
<li><pre>txt4 (txt "txt":https://www.example.org ["txt":https://www.example.net] )</pre></li>
</ul>
</li>
<li>txt5 (txt <a href="https://www.example.org" class="external">txt</a> [<a href="https://www.example.net]" class="external">txt</a>).
<ul>
<li><pre>txt5 (txt "txt":https://www.example.org ["txt":https://www.example.net]).</pre></li>
</ul>
</li>
<li>txt6 (txt <a href="https://www.example.org" class="external">txt</a> [<a href="https://www.example.net]);" class="external">txt</a>
<ul>
<li><pre>txt6 (txt "txt":https://www.example.org ["txt":https://www.example.net]);</pre></li>
</ul>
</li>
<li>txt7 (txt <a href="https://www.example.org" class="external">txt</a> [<a href="https://www.example.net]..." class="external">txt</a>)
<ul>
<li><pre>txt7 (txt "txt":https://www.example.org ["txt":https://www.example.net]...)</pre></li>
</ul>
</li>
<li>txt8 (txt <a href="https://www.example.org" class="external">txt</a> [<a href="https://www.example.net" class="external">txt</a>]... ).
<ul>
<li><pre>txt8 (txt "txt":https://www.example.org ["txt":https://www.example.net]... ).</pre></li>
</ul>
</li>
<li>txt9 (txt <a href="https://www.example.org" class="external">txt</a> [<a href="https://www.example.net" class="external">txt</a>] );
<ul>
<li><pre>txt9 (txt "txt":https://www.example.org ["txt":https://www.example.net] );</pre></li>
</ul></li>
</ol>
<p>From the nine examples given above, only no. 2, 4, 8 and 9 render proper, usable output. The others mangles the second link one way or another.</p>
<p>This was observed while writing <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Improve progress bars (New)" href="https://www.redmine.org/issues/39881">#39881</a>.</p>
<p>Given the rarity of these formattings I wonder if this deserves much attention so I'll set a low priority.</p> Redmine - Defect #39877 (New): Invalid reference in notes reply after deleting some journal-noteshttps://www.redmine.org/issues/398772023-12-19T17:54:59Zsalman mp
<p>After deleting some journal that only contains notes (not property changes), the indice of note journal rebuilded and indice will be changed.<br />In this case references to that note will be invalid and probably will reference to wrong journal-note.<br />I recommend to replace link to note-%note_indice, link to journal-%change_id-notes. Because in my opinion, an invalid reference (not existed note) is so better than wrong reference to a irrelevant note.<br />Linking to journal-%change_id-notes, needs tiny changes on application_helper <code>parse_redmine_links</code>.</p>
<p>related to <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Insert a link to the source to the attribution line when quoting a note or a message (Closed)" href="https://www.redmine.org/issues/31427">#31427</a></p> Redmine - Defect #39876 (New): H4 author headings aren't bold any morehttps://www.redmine.org/issues/398762023-12-19T15:26:36ZMischa The Evil
<p>Prior to Redmine <a class="version" href="https://www.redmine.org/versions/99">4.0.0</a>, H4 author headings in e.g. issue history, news comments and forum topics were rendered with font-weight bold by deferring the property to the user-agent style. As a (side-)effect of <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Links to issue notes should highlight the linked note (Closed)" href="https://www.redmine.org/issues/22978">#22978</a>, this is no longer the case and I don't like that.</p>
<p>IMHO author headings should stand out from actual content more than they currently do and as such deserve to be rendered with font-weight bold.</p> Redmine - Defect #39856 (New): Missing builtin groups on fresh install in Redmine 5https://www.redmine.org/issues/398562023-12-15T10:31:14ZLiane Hampe
<a name="Problem"></a>
<h2 >Problem<a href="#Problem" class="wiki-anchor">¶</a></h2>
<p>An admin user visiting Group page in admin area after a fresh install won't see both GroupAnonymous and GroupNonMember.</p>
<a name="Reason"></a>
<h2 >Reason<a href="#Reason" class="wiki-anchor">¶</a></h2>
<p>With Redmine version 5 and higher there is a change in code loading leading also to some changes in Group class and its subclasses.</p>
<p>These changes causes buildin groups not to load properly.</p>
<pre>
- Group
- GroupBuiltin
- GroupAnonymous
- GroupNonMember
</pre>
<p>Group class is responsible to load the builtin groups. Builtin groups, however, won't get loaded until `Project.allowed_to_condition` is called.</p>
<a name="Solution"></a>
<h2 >Solution<a href="#Solution" class="wiki-anchor">¶</a></h2>
<p>Load builtin group instances at the bottom of `Redmine::Preparation` to make sure they are immediately available.</p> Redmine - Defect #39843 (Needs feedback): Create a new task, the page does not jump after the tas...https://www.redmine.org/issues/398432023-12-14T03:02:52Zjianjun liu
<p>Environment:<br /><pre>
Redmine version 5.0.4.stable
Ruby version 2.7.5-p203 (2021-11-24) [x86_64-linux-gnu]
Rails version 6.1.7
Environment production
Database adapter PostgreSQL
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Circle (includes JavaScript)
</pre></p>
<p><img src="https://www.redmine.org/attachments/download/31626/clipboard-202312141102-imz31.png" alt="" /><br /><img src="https://www.redmine.org/attachments/download/31627/clipboard-202312141102-9wh6v.png" alt="" /></p> Redmine - Defect #39836 (New): Email to Issues is not workinghttps://www.redmine.org/issues/398362023-12-12T18:02:26ZBrian BB
<p>I have tried both receive_imap and receive_pop3.</p>
<p>This is the rake command<br /><pre>
rake -f /path/to/Rakefile redmine:email:receive_imap RAILS_ENV="production" host=mail.mydomain.com port=993 ssl=1 username=my_smtp@mydomain.com password=xxx allow_override=project,tracker,status,priority,assigned_to unknown_user=accept no_permission_check=1
</pre></p>
<p>The emails in the inbox get marked as read by the cron task. Just no issues get created.</p>
<p>The content of the test email has the following content ("task" is a tracker I have created):<br /><pre>
This is a test email. html is on
project: project-identifier
tracker: task
priority: high
assigned_to: username
</pre></p>
<pre>
Environment:
Redmine version 5.1.1.stable
Ruby version 3.0.2-p107 (2021-07-07) [x86_64-linux-gnu]
Rails version 6.1.7.6
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
</pre> Redmine - Defect #39803 (Needs feedback): Plugin modules no longer workinghttps://www.redmine.org/issues/398032023-12-10T13:58:20ZGuus Teley
As of Redmine 5.1.x (Rails 7.1.2) plugins that rely on modules in the plugin/lib directory are no longer working.<br />Debugging lib/redmine/plugin_loader.rb shows that in <code>add_autoload_paths</code> in <code>engine_cfg.all_eager_load_paths.each do |dir|</code> the following directories are added:
<ul>
<li>app/controllers</li>
<li>app/helpers</li>
<li>app/models</li>
<li>lib</li>
</ul>
<p>Note that the lib directory also has been added before with an explicit <code>engine_cfg.paths.add 'lib', eager_load: true</code></p>
<p>Trying to force load the required module with <code>require File.expand_path('../lib/my_module', __FILE__)</code> or <code>require_relative 'lib/my_module'</code> doesn't help.<br />Before migrating to Rails 7, a simple <code>require MyModule</code> worked fine.</p> Redmine - Defect #39779 (New): html_title and author line helper issues with usernames in Arabic ...https://www.redmine.org/issues/397792023-12-05T08:19:21ZMischa The Evil
<p>I haven't looked into it, but I noticed this while checking out <a class="message" href="https://www.redmine.org/boards/1/topics/69159">redmine classes</a>.</p>
<ul>
<li>html_title (rendering) issues on /users/[id] (might be a browser issue instead):</li>
</ul>
<p><img src="https://www.redmine.org/attachments/download/31566/2023-12-05_08-42-50.png" alt="" /></p>
<table>
<tr>
<td> </td>
<th>Arabic script username </th>
<th>Non-Arabic script username </th>
</tr>
<tr>
<td>html tag </td>
<td> <code><title>حسين درادكه - Redmine</title></code> </td>
<td> <code><title>Mischa The Evil - Redmine</title></code> </td>
</tr>
</table>
<ul>
<li>author line helper issues on topics/messages in (at least) the forums (any maybe other objects):</li>
</ul>
<p><img src="https://www.redmine.org/attachments/download/31567/2023-12-05_08-30-47.png" alt="" /></p>
<p>html tag:<br /><pre><code class="html syntaxhl"><span class="nt"><span</span> <span class="na">class=</span><span class="s">"author"</span><span class="nt">></span>Added by <span class="nt"><a</span> <span class="na">class=</span><span class="s">"user active"</span> <span class="na">href=</span><span class="s">"/users/547897"</span><span class="nt">></span>حسين درادكه<span class="nt"></a></span> <span class="nt"><a</span> <span class="na">title=</span><span class="s">"2023-12-02 11:08"</span> <span class="na">href=</span><span class="s">"/projects/redmine/activity?from=2023-12-02"</span><span class="nt">></span>3 days<span class="nt"></a></span> ago<span class="nt"></span></span>
</code></pre></p>
<p>with mouse-hover:</p>
<p><img src="https://www.redmine.org/attachments/download/31568/2023-12-05_08-34-30.png" alt="" /></p> Redmine - Defect #39778 (New): Untranslated string "OK" in the repository browserhttps://www.redmine.org/issues/397782023-12-05T07:12:49ZMischa The Evil
<p>Taken from <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Status: Closed" href="https://www.redmine.org/issues/38509#note-4">Defect #38509#note-4: Untranslated string "OK" in the repository browser</a>:</p>
<blockquote>
<p>One another 'OK' missed in diff page.</p>
<p><a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/entry/trunk/app/views/repositories/diff.html.erb#L26">source:/trunk/app/views/repositories/diff.html.erb#L26</a></p>
</blockquote> Redmine - Defect #39758 (Confirmed): Some pages on https://www.redmine.org/plugins are returning ...https://www.redmine.org/issues/397582023-11-30T18:58:03ZLeonardo Colman
<p>When browsing through the [plugin list](<a class="external" href="https://www.redmine.org/plugins">https://www.redmine.org/plugins</a>) I noticed that some pages were throwing a 500 error, for example pages 9 and 10:</p>
<p><img src="https://www.redmine.org/attachments/download/31556/clipboard-202311301555-iberf.png" alt="" /><br /><img src="https://www.redmine.org/attachments/download/31557/clipboard-202311301555-2ueja.png" alt="" /></p>
<p>Here I am, contacting my Redmine admins :)</p>
<p>I've written a small bash script to check all the pages that are returning 500:</p>
<pre>
#!/bin/bash
# Base URL
base_url="https://www.redmine.org/plugins?page="
# Loop from 1 to 112
for i in {1..112}
do
# Construct the full URL
full_url="${base_url}${i}"
# Perform the HTTP request and capture the status code
status_code=$(curl -o /dev/null -s -w "%{http_code}\n" "$full_url")
# Check if the status code is 500
if [ "$status_code" -eq 500 ]; then
echo "Page $i returned a 500 status code."
fi
done
</pre>
<p>When ran from my computer, these pages are returning 500:</p>
<p>Page 9 returned a 500 status code.<br />Page 10 returned a 500 status code.<br />Page 21 returned a 500 status code.<br />Page 25 returned a 500 status code.<br />Page 35 returned a 500 status code.<br />Page 65 returned a 500 status code.<br />Page 67 returned a 500 status code.<br />Page 87 returned a 500 status code.<br />Page 90 returned a 500 status code.<br />Page 98 returned a 500 status code.<br />Page 105 returned a 500 status code.<br />Page 112 returned a 500 status code.</p> Redmine - Defect #39734 (New): Forums should allow for deletion of self created subjects/messageshttps://www.redmine.org/issues/397342023-11-25T16:10:13Zcat no bot
<p>Why does this sites' forum not allow for destruction of messages? Redmine does have this feature so it must mean that you actually configured it like this on this site. That's a serious privacy issue these days as users should always be in control of their own data. Please adjust settings accordingly.</p>
<p><img src="https://www.redmine.org/attachments/download/31520/clipboard-202311251709-pv0gl.png" alt="" /></p> Redmine - Defect #39587 (New): Email configuration errorhttps://www.redmine.org/issues/395872023-11-21T00:57:55ZAllan Andrion
<table>
<tr>
<td>Environment:<br /> Redmine version 4.0.6.stable<br /> Ruby version 2.7.0-p0 (2019-12-25) [x86_64-linux-gnu]<br /> Rails version 5.2.3<br /> Environment production<br /> Database adapter Mysql2<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />SCM:<br /> Git 2.25.1<br /> Filesystem <br />Redmine plugins:<br /> no plugin installed</td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<p>LOG:<br />Started POST "/admin/test_email" for 172.xx.xx.xxx at 2023-11-21 07:41:33 +0700<br />Processing by AdminController#test_email as HTML<br /> Parameters: {"authenticity_token"=>"*********"}<br /> Current user: user (id=8)<br /> Rendering mailer/test_email.text.erb within layouts/mailer<br /> Rendered mailer/test_email.text.erb within layouts/mailer (0.0ms)<br /> Rendering mailer/test_email.html.erb within layouts/mailer<br /> Rendered mailer/test_email.html.erb within layouts/mailer (0.0ms)<br />Redirected to <a class="external" href="http://redmine.domain.com/settings?tab=notifications">http://redmine.domain.com/settings?tab=notifications</a><br />Completed 302 Found in 2573ms (ActiveRecord: 1.3ms)</p>
<p>ActionDispatch::Cookies::CookieOverflow (ActionDispatch::Cookies::CookieOverflow):</p>
<p>actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:649:in `commit'<br />actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:484:in `[]='<br />actionpack (5.2.3) lib/action_dispatch/middleware/session/cookie_store.rb:106:in `set_cookie'<br />/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:363:in `commit_session'<br />/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:234:in `context'<br />/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb:226:in `call'<br />actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:670:in `call'<br />actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'<br />activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'<br />actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'<br />actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'<br />actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'<br />railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'<br />railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'<br />activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'<br />activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'<br />activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'<br />railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'<br />actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'<br />/usr/lib/ruby/vendor_ruby/request_store/middleware.rb:19:in `call'<br />actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'<br />/usr/lib/ruby/vendor_ruby/rack/method_override.rb:22:in `call'<br />/usr/lib/ruby/vendor_ruby/rack/runtime.rb:22:in `call'<br />activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'<br />actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'<br />actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'<br />/usr/lib/ruby/vendor_ruby/rack/content_length.rb:15:in `call'<br />/usr/lib/ruby/vendor_ruby/rack/sendfile.rb:111:in `call'<br />railties (5.2.3) lib/rails/engine.rb:524:in `call'<br />/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'<br />/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:160:in `accept_and_process_next_request'<br />/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:113:in `main_loop'<br />/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:416:in `block (3 levels) in start_threads'<br />/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'</p>
<p>Everything is working well except when I try to add the email for Redmine, can anyone please send a link or a guide how to setup the email we are using office 365 to be used as a relay not shared mailbox but a regular mailbox.</p>
<p>Thank you</p> Redmine - Defect #39586 (New): Parent page list for selected project on rename pagehttps://www.redmine.org/issues/395862023-11-20T22:53:52Zkiyoshi ohgishi
<p>When renaming the wiki name from project A to project B, the parent page list remains in project A and does not change to project B.</p> Redmine - Defect #39581 (New): problem with link displayinghttps://www.redmine.org/issues/395812023-11-20T09:05:05ZPavel Silhan
<p>found a problem with copied link displaying in Redmine - with some chars combination it shows > as > so link doesn't work. The problem apeears when there is no space after "<" and "." after ">":</p>
<pre>
link < https://www.seznam.cz>.
link <https://www.seznam.cz>.
nolink <blablabla>.
link <https://www.seznam.cz>
</pre><br />link < <a class="external" href="https://www.seznam.cz">https://www.seznam.cz</a>>.<br />link <<a class="external" href="https://www.seznam.cz&gt;">https://www.seznam.cz&gt;</a>.<br />nolink <blablabla>.<br />link <<a class="external" href="https://www.seznam.cz">https://www.seznam.cz</a>>
<p>tested on 4.2.10 primarily but shows on other versions incl.version 5 too</p> Redmine - Defect #39559 (New): Git commit linking to issue and time entryhttps://www.redmine.org/issues/395592023-11-17T14:56:33ZMika Mitrovic
<p>Git commit - time log and issue link</p>
<p>After <strong>committing</strong> in git repo, which is added as Repository in Redmine project I have strange behaviour.</p>
<p>First - link of commit to the issue <strong>is not showing up</strong> until someone <strong>clicks</strong> on Repository page on exactly that one git repo.</p>
<p>After commit is linked to the issue, * time is not logged* on that issue <strong>immediately</strong> . It is logged on some random time in <strong>future</strong> (after 2 days for example).</p>
<p>Does anyone have similar behaviour?</p> Redmine - Defect #39548 (New): Internal Error reported when Viewing GIT repositoryhttps://www.redmine.org/issues/395482023-11-15T04:08:58ZChris Bailey
<p>I am using a locally hosted redmine instance with GIT running on the same box.</p>
<p>In most cases the integration works between Redmine and GIT as expected but I have one repository that cannot be linked. I do not see any obvious difference between the failing repository and the working ones.</p>
<p>The user receives the following output:</p>
<blockquote>
<p>Internal error</p>
<p>An error occurred on the page you were trying to access.<br />if you continue to experience problems please contact your Redmine administrator for assistance.</p>
<p>If you are the Redmine administrator, check your log files for details about the error.</p>
</blockquote>
<p>My installation information is:<br /><pre>
Environment:
Redmine version 5.0.2.stable
Ruby version 3.1.2-p20 (2022-04-12) [x86_64-linux]
Rails version 6.1.6
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Classic
SCM:
Subversion 1.14.1
Mercurial 5.6.1
Bazaar 3.1.0
Git 2.30.2
Filesystem
Redmine plugins:
redmine_agile 1.6.5
redmine_dmsf 3.0.8
redmine_more_previews 5.0.7
</pre></p>
<p>The Repository is Running with GITea which is on GIT version 2.36.4,<br />Based on the error (shown below) I searched the commit messages / comments for "Mov" and did find an single instance where a comment appears to have an embedded line break which is reported as follows when I do a git log:</p>
<blockquote>
<p>Updated location of various Status bits in the Status message BIT section based on the recent update to the ICD. <U+2028>Moved all the input discrete bits to the 3Byte of status message (this previously only held ...</p>
</blockquote>
<p>I don't see anything looking like the reported hex values (\xE2\x80\xA8)</p>
<p>the redmine logs show the following when the error occurs:<br /><pre>
I, [2023-11-08T21:32:29.347197 #1] INFO -- : Started GET "/projects/b-draft/repository/t3_software" for 10.1.10.198 at 2023-11-08 21:32:29 +0000
I, [2023-11-08T21:32:29.348562 #1] INFO -- : Processing by RepositoriesController#show as HTML
I, [2023-11-08T21:32:29.348752 #1] INFO -- : Parameters: {"id"=>"b-draft", "repository_id"=>"t3_software"}
I, [2023-11-08T21:32:29.355799 #1] INFO -- : Current user: admin (id=1)
I, [2023-11-08T21:32:29.441451 #1] INFO -- : Completed 500 Internal Server Error in 92ms (ActiveRecord: 16.2ms | Allocations: 25094)
F, [2023-11-08T21:32:29.443825 #1] FATAL -- :
ActiveRecord::StatementInvalid (Mysql2::Error: Incorrect string value: '\xE2\x80\xA8Mov...' for column 'comments' at row 1):
app/models/repository/git.rb:224:in `save_revision'
app/models/repository/git.rb:212:in `block (2 levels) in save_revisions'
app/models/repository/git.rb:209:in `block in save_revisions'
app/models/repository/git.rb:208:in `each'
app/models/repository/git.rb:208:in `save_revisions'
app/models/repository/git.rb:158:in `fetch_changesets'
app/controllers/repositories_controller.rb:87:in `show'
lib/redmine/sudo_mode.rb:61:in `sudo_mode'
plugins/redmine_dmsf/lib/redmine_dmsf/webdav/custom_middleware.rb:54:in `call'
</pre></p> Redmine - Defect #39538 (New): Images and tables are not rendered correctly in the project listhttps://www.redmine.org/issues/395382023-11-09T12:54:40ZRoland Giesler
<p>In the description of a project it is possible to add images and tables (as in other fields in Redmine). For instance:</p>
<pre>
| !{width:100px}https://bla.number.co/attachments/download/1207587/Documents.jpg! | The referenced files are stored here. https://p1.number.co/ |
</pre>
<p>When that is viewed from the "Overview" tab of the project, it displays correctly.</p>
<p>When viewed on a page that shows all projects, ie. <a class="external" href="https://rm.number.co/projects">https://rm.number.co/projects</a>, the table render fails.</p>
<p><img src="https://www.redmine.org/attachments/download/31465/clipboard-202311091453-81zgh.png" alt="" /></p> Redmine - Defect #39535 (Needs feedback): The three dots do not workhttps://www.redmine.org/issues/395352023-11-08T12:10:06ZAlbert Nicolas
<p>Good morning,</p>
<p>We have been having problems with our company's Redmine development environment for a few days now.</p>
<p>When we open a request and click on the "three dots", they do not react.</p>
<p>Has this happened to anyone?</p>
<p>Regards,</p> Redmine - Defect #39532 (New): Cant set opened parent issue for closed child issuehttps://www.redmine.org/issues/395322023-11-08T09:18:41ZAndy Milga
<p>When i try select parent issue - redmine filter parent lissue list same state as current issue.<br />If current issue closed - list only closed issues in parent list<br />if current issue open - list only open.</p>
<p>looks not good. I want set parent any parent ticket.</p>
<p>Yeah, maybe attaching opened child ticked to closed parent ticket - bad, i agree, but attaching closed child ticket to opened parent - looks fair.</p> Redmine - Defect #39505 (New): redmine preview whether the image can be scaled with the mousehttps://www.redmine.org/issues/395052023-11-02T06:29:07Zcrystal su
<p>The images in the page appear to be adaptive to the browser window size. Images are zoomed in and out based on browser percentage. Can you zoom in and out the image with the mouse without changing the browser percentage? Thanks for your reply</p> Redmine - Defect #39493 (Confirmed): Role with only :edit_own_issues no longer considered for wor...https://www.redmine.org/issues/394932023-10-31T10:38:08ZJan Graichen
<p>The change in <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Respect Role#consider_workflow? when checking for allowed status transitions (Closed)" href="https://www.redmine.org/issues/37635">#37635</a> rendered roles that only have the <code>:edit_own_issues</code> permissions no longer usable because these roles are not <code>consider_workflow?</code>.</p>
<p>A test in a Redmine plugin of mine tested some behavior that is using <code>Issue#new_statuses_allowed_to</code> with a minimal Role, only with <code>:edit_own_issues</code>, which failed with Redmine 5.1. This truly might be an edge-case, but I could imagine that there are real-world usages for Roles that can only edit their own issues but not add new one (e.g. customers with support expired support contracts).</p>
<p>On the other hand, one would not have been able to add workflows for such a Role in the UI in the first place? Unless the Role was created with <code>:add_issues</code> first, and only later dropped, which is kind of what <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Respect Role#consider_workflow? when checking for allowed status transitions (Closed)" href="https://www.redmine.org/issues/37635">#37635</a> wanted to fix.</p>
<p>Should <code>:edit_own_issues</code> be added to <code>consider_workflow?</code> or is that a case that shall not be supported at all?</p> Redmine - Defect #39232 (New): Locked users in filters only visible to administratorshttps://www.redmine.org/issues/392322023-10-24T07:27:45ZTurnip Zoink
<p>As per the comments to <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Status: Closed" href="https://www.redmine.org/issues/15201">Feature #15201: Filter "Assignee" should contain locked users</a>.</p>
<p>Only administrative users can filter issues by locked users. Anyone should be able to do this.</p>
<p>Locking a user should prohibit logins with this account and nothing else. All queries related to a locked user should proceed as normal.</p> Redmine - Defect #39154 (Needs feedback): Mailhandlerhttps://www.redmine.org/issues/391542023-10-06T11:05:51ZAndreas Hoffmann
<p>Hi,<br />after update to 5.0.6 by "Incoming Mails" become this Error:</p>
<pre><code class="ruby syntaxhl"><span class="no">MailHandler</span><span class="p">:</span> <span class="n">an</span> <span class="n">unexpected</span> <span class="n">error</span> <span class="n">occurred</span> <span class="k">when</span> <span class="n">receiving</span> <span class="ss">email: </span><span class="n">uninitialized</span> <span class="n">constant</span> <span class="no">Mail</span><span class="o">::</span><span class="no">RubyVer</span>
<span class="no">Did</span> <span class="n">you</span> <span class="n">mean?</span> <span class="no">RubyVM</span>
</code></pre>
<p>After comment this Code</p>
<pre><code class="ruby syntaxhl"> <span class="c1"># if Mail::RubyVer.respond_to?(:pick_encoding)</span>
<span class="c1"># Mail::RubyVer.pick_encoding(p.charset).to_s</span>
<span class="c1"># else</span>
<span class="nb">p</span><span class="p">.</span><span class="nf">charset</span>
<span class="c1"># end</span>
</code></pre>
<p>work for me.</p> Redmine - Defect #39131 (New): Problem when edit a issue and change the projecthttps://www.redmine.org/issues/391312023-09-29T16:12:31ZEnzo Pellecchia
<p>Hi, I have a strage problem:</p>
<p>- I have roles for projects and the projects are public.<br />- I have set up a tracker that can be created the issue in other projects using the permissions of the non-member role.</p>
<p>If the issue is created from the request's project to another project, there are no problems and everything works correctly.</p>
<p>The problem arises if I have a ticket from another type of tracker and I try to modify the tracker and subsequently assign it to another project.<br />I get the effect that the tracker is edited correctly, while when I select another project, the software makes an ajax call to edit.js and restores the current project.<br />In practice it is impossible for me to change the project because it always restores the original one of the ticket I am modifying.</p>
<p>If you need I can show you the effect live.</p>
<p>It would be very useful if you could provide me with a patch while waiting for a definitive resolution.</p>
<p>Thank you very much and good job</p> Redmine - Defect #39125 (New): Markdown list bullet points (and text) are hidden after a certain ...https://www.redmine.org/issues/391252023-09-27T04:48:15ZJames Brady
<p>When using lists with markdown formatting, if your bullet points are nested too deeply, the text - and eventually the bullet point - will be hidden. <br />This happens regardless of whether you use '-' or '*' characters for the bullet points. <br />It also happens with both unordered and ordered lists.</p>
<p>Here's an example of the entered markdown text. <br />As you can see, every bullet point has text, and it goes down to both a level 6 and level 7.</p>
<p><img src="https://www.redmine.org/attachments/download/31003/01.png" alt="" /></p>
<p>Here's the rendered preview. <br />As you can see, level 6 bullet points are visible, but the text is hidden. <br />At level 7, both the bullet point and text are hidden.</p>
<p><img src="https://www.redmine.org/attachments/download/31004/02.png" alt="" /></p>
<p><img src="https://www.redmine.org/attachments/download/31007/05.png" alt="" /></p>
<p>Also, if the indentation for any one bullet point uses too many spaces, the whole list breaks:</p>
<p><img src="https://www.redmine.org/attachments/download/31006/03.png" alt="" /></p>
<p>Below is the version of redmine I am using:</p>
<p><img src="https://www.redmine.org/attachments/download/31005/04-versions.png" alt="" /></p> Redmine - Defect #39112 (New): web 500 error when entering setting pagehttps://www.redmine.org/issues/391122023-09-25T09:08:01ZCheng-Hui PENG
<p>Hi there,</p>
<p>I just installed redmine 5.05 on new ubuntu22.04. After I restorted my databases which data is from redmone 4.2, I can't open the setting page of projects or issues anymore.<br />I got error message on the page</p>
<p>`Internal error<br />An error occurred on the page you were trying to access.<br />If you continue to experience problems please contact your Redmine administrator for assistance.</p>
<p>If you are the Redmine administrator, check your log files for details about the error.</p>
<p>Back`</p>
<p>Here is error log from log file when I clicked setting button</p>
<p>I, [2023-09-20T10:13:56.859177 #28601] INFO -- : [491c7eae-1310-4592-89ad-f85aef136a3d] Started GET "/projects/aos/settings" for 172.20.0.59 at 2023-09-20 10:13:56 +0000 I, [2023-09-20T10:13:56.861735 #28601] INFO -- : [491c7eae-1310-4592-89ad-f85aef136a3d] Processing by ProjectsController#settings as HTML I, [2023-09-20T10:13:56.862021 #28601] INFO -- : [491c7eae-1310-4592-89ad-f85aef136a3d] Parameters: {"id"=>"aos"} I, [2023-09-20T10:13:56.877041 #28601] INFO -- : [491c7eae-1310-4592-89ad-f85aef136a3d] Current user: admin (id=1) I, [2023-09-20T10:13:56.995636 #28601] INFO -- : [491c7eae-1310-4592-89ad-f85aef136a3d] Rendered projects/settings.html.erb within layouts/base (Duration: 100.9ms | Allocations: 40900) I, [2023-09-20T10:13:56.995785 #28601] INFO -- : [491c7eae-1310-4592-89ad-f85aef136a3d] Rendered layout layouts/base.html.erb (Duration: 101.1ms | Allocations: 40928) I, [2023-09-20T10:13:56.996062 #28601] INFO -- : [491c7eae-1310-4592-89ad-f85aef136a3d] Completed 500 Internal Server Error in 134ms (ActiveRecord: 19.8ms | Allocations: 44924) F, [2023-09-20T10:13:56.997204 #28601] FATAL -- : [491c7eae-1310-4592-89ad-f85aef136a3d] [491c7eae-1310-4592-89ad-f85aef136a3d] ActionView::Template::Error (undefined method default_issue_query_id' for #<Project id: 185, name: "AOS", description: "Alpha & Omega", homepage: "", is_public: true, parent_id: 1, created_on: "2023-09-07 02:20:15.000000000 +0000", updated_on: "2023-09-07 02:22:20.000000000 +0000", identifier: "aos", status: 1, lft: 12, rgt: 13, inherit_members: false, default_version_id: nil, default_assigned_to_id: nil, dmsf_description: nil, dmsf_notification: false, dmsf_act_as_attachable: 1, new_ticket_message: "", enable_new_ticket_message: 1, default_dmsf_query_id: nil><br />Did you mean? default_issue_query<br />default_issue_query=<br />default_dmsf_query_id<br />default_dmsf_query_id?<br />default_dmsf_query_id=):<br />[491c7eae-1310-4592-89ad-f85aef136a3d] 44: <% end <span>><br />[491c7eae-1310-4592-89ad-f85aef136a3d] 45:<br />[491c7eae-1310-4592-89ad-f85aef136a3d] 46: <</span> if @project.safe_attribute?('default_issue_query_id') %><br />[491c7eae-1310-4592-89ad-f85aef136a3d] 47:</p>
<p><%= f.select :default_issue_query_id, project_default_issue_query_options(<a class="user active" href="https://www.redmine.org/users/11497">Herve Harster</a>), include_blank: l(:label_none) <span>><</span>=l 'text_allowed_queries_to_select' %></p>
<p>[491c7eae-1310-4592-89ad-f85aef136a3d] 48: <% end %><br />[491c7eae-1310-4592-89ad-f85aef136a3d] 49:<br />[491c7eae-1310-4592-89ad-f85aef136a3d] 50:<br />[491c7eae-1310-4592-89ad-f85aef136a3d]<br />[491c7eae-1310-4592-89ad-f85aef136a3d] app/helpers/projects_helper.rb:123:in project_default_issue_query_options' [491c7eae-1310-4592-89ad-f85aef136a3d] app/views/projects/settings/_issues.html.erb:47 [491c7eae-1310-4592-89ad-f85aef136a3d] app/helpers/application_helper.rb:1483:in labelled_form_for'<br />[491c7eae-1310-4592-89ad-f85aef136a3d] app/views/projects/settings/_issues.html.erb:1<br />[491c7eae-1310-4592-89ad-f85aef136a3d] app/views/common/_tabs.html.erb:21<br />[491c7eae-1310-4592-89ad-f85aef136a3d] app/views/common/_tabs.html.erb:20:in each' [491c7eae-1310-4592-89ad-f85aef136a3d] app/views/common/_tabs.html.erb:20 [491c7eae-1310-4592-89ad-f85aef136a3d] app/helpers/application_helper.rb:497:in render_tabs'<br />[491c7eae-1310-4592-89ad-f85aef136a3d] app/views/projects/settings.html.erb:3<br />[491c7eae-1310-4592-89ad-f85aef136a3d] lib/redmine/sudo_mode.rb:61:in sudo_mode'<br />Does anyone know how to fix it?</p> Redmine - Defect #39012 (Needs feedback): Unable to update an issue via API in 4.2.6https://www.redmine.org/issues/390122023-09-01T08:28:25ZEric Diaz
<p>Hello<br />I have just upgraded in 4.2.6 and it works all fine except API request.<br />Some of my users used to call REST API via Excel to crete and update issues<br />It worked fine in 3.4.3 but now, create issues is ok but we encounter the following problem :</p>
<pre><code>POST XML synchron (create issue) => OK<br /> POST XML asynchrone (create issue) => OK</code></pre>
<pre><code>POST JSON synchrone (test watchers.json) => KO<br /> POST JSON asynchrone (test watchers.json) => OK</code></pre>
<pre><code>PUT XML synchrone (update issue) => KO<br /> PUT XML asynchrone (update issue) => OK</code></pre>
<p>It seems that synchron calls are uneffective.<br />Any ideas ?</p>
<p><img src="https://www.redmine.org/attachments/download/30900/clipboard-202309011028-0yg3v.png" alt="" /></p> Redmine - Defect #38995 (New): Redmine query is very slow after upgrading from MySql 5.7 to 8https://www.redmine.org/issues/389952023-08-29T11:42:29ZKushal Singh
<p>Recently we upgraded the MySql version for Redmine from 5.7 to 8.0.32. After the upgrade the MyPage query is taking a very long time to execute (Around 1 minute). Previously in version 5.7 it used to execute within a few seconds. This is resulting in our CPU usage to reach 99% very quickly.</p>
<p>On initial research looks like MySql 8 uses derived query optimization concept due to which the logic that the query is interpreted in 5.7 and 8 is different.</p>
<p>Redmine Version: 4.1.1.stable (Tried this on latest redmine version 5.0.5 but faced the same issue. Also all the appropriate index have been done as well)</p>
<p>My Page Query:</p>
<pre>
SELECT
issues.id AS t0_r0,
issues.tracker_id AS t0_r1,
issues.project_id AS t0_r2,
issues.subject AS t0_r3,
issues.description AS t0_r4,
issues.due_date AS t0_r5,
issues.category_id AS t0_r6,
issues.status_id AS t0_r7,
issues.assigned_to_id AS t0_r8,
issues.priority_id AS t0_r9,
issues.fixed_version_id AS t0_r10,
issues.author_id AS t0_r11,
issues.lock_version AS t0_r12,
issues.created_on AS t0_r13,
issues.updated_on AS t0_r14,
issues.start_date AS t0_r15,
issues.done_ratio AS t0_r16,
issues.estimated_hours AS t0_r17,
issues.parent_id AS t0_r18,
issues.root_id AS t0_r19,
issues.lft AS t0_r20,
issues.rgt AS t0_r21,
issues.is_private AS t0_r22,
issues.position AS t0_r23,
issues.remaining_hours AS t0_r24,
issues.story_points AS t0_r25,
issues.closed_on AS t0_r26,
issue_statuses.id AS t1_r0,
issue_statuses.name AS t1_r1,
issue_statuses.is_closed AS t1_r2,
issue_statuses.position AS t1_r3,
issue_statuses.default_done_ratio AS t1_r4,
projects.id AS t2_r0,
projects.name AS t2_r1,
projects.description AS t2_r2,
projects.homepage AS t2_r3,
projects.is_public AS t2_r4,
projects.parent_id AS t2_r5,
projects.created_on AS t2_r6,
projects.updated_on AS t2_r7,
projects.identifier AS t2_r8,
projects.status AS t2_r9,
projects.lft AS t2_r10,
projects.rgt AS t2_r11,
projects.inherit_members AS t2_r12,
projects.default_version_id AS t2_r13,
projects.default_assigned_to_id AS t2_r14
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 enumerations ON enumerations.id = issues.priority_id
WHERE
(projects.status <> 9
AND EXISTS (
SELECT 1
FROM enabled_modules em
WHERE em.project_id = projects.id AND em.name='issue_tracking'
))
AND (
issues.status_id IN (SELECT id FROM issue_statuses WHERE is_closed=FALSE)
AND issues.assigned_to_id IN ('1051', '2643')
AND projects.status IN ('1')
)
ORDER BY
enumerations.position DESC,
issues.updated_on DESC,
issues.id DESC
LIMIT 10;
</pre>
<p>Explain for MySQL 8.0.32</p>
<table>
<tr>
<th>id</th>
<th>select_type</th>
<th>table</th>
<th>partitions</th>
<th>type</th>
<th>possible_keys</th>
<th>key</th>
<th>key_len</th>
<th>ref</th>
<th>rows</th>
<th>filtered</th>
<th>Extra</th>
</tr>
<tr>
<td>1</td>
<td>SIMPLE</td>
<td>issue_statuses</td>
<td></td>
<td>ALL</td>
<td>PRIMARY</td>
<td></td>
<td></td>
<td></td>
<td>19</td>
<td>100</td>
<td>Using temporary; Using filesort</td>
</tr>
<tr>
<td>1</td>
<td>SIMPLE</td>
<td>issue_statuses</td>
<td></td>
<td>eq_ref</td>
<td>PRIMARY,index_issue_statuses_on_is_closed</td>
<td>PRIMARY</td>
<td>4</td>
<td>deermine.issue_statuses.id</td>
<td>1</td>
<td>89.47</td>
<td>Using where</td>
</tr>
<tr>
<td>1</td>
<td>SIMPLE</td>
<td><subquery2></td>
<td></td>
<td>ALL</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td>100</td>
<td>Using where; Using join buffer (hash join)</td>
</tr>
<tr>
<td>1</td>
<td>SIMPLE</td>
<td>projects</td>
<td></td>
<td>eq_ref</td>
<td>PRIMARY</td>
<td>PRIMARY</td>
<td>4</td>
<td><subquery2>.project_id</td>
<td>1</td>
<td>9</td>
<td>Using where</td>
</tr>
<tr>
<td>1</td>
<td>SIMPLE</td>
<td>issues</td>
<td></td>
<td>ref</td>
<td>issues_project_id,index_issues_on_status_id,index_issues_on_assigned_to_id</td>
<td>issues_project_id</td>
<td>4</td>
<td><subquery2>.project_id</td>
<td>1917</td>
<td>0.03</td>
<td>Using where</td>
</tr>
<tr>
<td>1</td>
<td>SIMPLE</td>
<td>enumerations</td>
<td></td>
<td>eq_ref</td>
<td>PRIMARY,index_enumerations_on_id_and_type</td>
<td>PRIMARY</td>
<td>4</td>
<td>deermine.issues.priority_id</td>
<td>1</td>
<td>100</td>
<td></td>
</tr>
<tr>
<td>2</td>
<td>MATERIALIZED</td>
<td>em</td>
<td></td>
<td>ALL</td>
<td>enabled_modules_project_id</td>
<td></td>
<td></td>
<td></td>
<td>3545</td>
<td>10</td>
<td>Using where</td>
</tr>
</table>
<p>Explain for MySQL 5.7</p>
<table>
<tr>
<th>id</th>
<th>select_type</th>
<th>table</th>
<th>partitions</th>
<th>type</th>
<th>possible_keys</th>
<th>key</th>
<th>key_len</th>
<th>ref</th>
<th>rows</th>
<th>filtered</th>
<th>Extra</th>
</tr>
<tr>
<td>1</td>
<td>PRIMARY</td>
<td>issues</td>
<td></td>
<td>range</td>
<td>issues_project_id,index_issues_on_status_id,index_issues_on_assigned_to_id</td>
<td>index_issues_on_assigned_to_id</td>
<td>5</td>
<td></td>
<td>2560</td>
<td>100</td>
<td>Using index condition; Using temporary; Using filesort</td>
</tr>
<tr>
<td>1</td>
<td>PRIMARY</td>
<td>issue_statuses</td>
<td></td>
<td>eq_ref</td>
<td>PRIMARY,index_issue_statuses_on_is_closed</td>
<td>PRIMARY</td>
<td>4</td>
<td>deermine.issues.status_id</td>
<td>1</td>
<td>89.47</td>
<td>Using where</td>
</tr>
<tr>
<td>1</td>
<td>PRIMARY</td>
<td>issue_statuses</td>
<td></td>
<td>eq_ref</td>
<td>PRIMARY</td>
<td>PRIMARY</td>
<td>4</td>
<td>deermine.issues.status_id</td>
<td>1</td>
<td>100</td>
<td></td>
</tr>
<tr>
<td>1</td>
<td>PRIMARY</td>
<td>enumerations</td>
<td></td>
<td>eq_ref</td>
<td>PRIMARY,index_enumerations_on_id_and_type</td>
<td>PRIMARY</td>
<td>4</td>
<td>deermine.issues.priority_id</td>
<td>1</td>
<td>100</td>
<td></td>
</tr>
<tr>
<td>1</td>
<td>PRIMARY</td>
<td>projects</td>
<td></td>
<td>eq_ref</td>
<td>PRIMARY</td>
<td>PRIMARY</td>
<td>4</td>
<td>deermine.issues.project_id</td>
<td>1</td>
<td>9</td>
<td>Using where</td>
</tr>
<tr>
<td>2</td>
<td>DEPENDENT SUBQUERY</td>
<td>em</td>
<td></td>
<td>ref</td>
<td>enabled_modules_project_id</td>
<td>enabled_modules_project_id</td>
<td>5</td>
<td>deermine.projects.id</td>
<td>5</td>
<td>10</td>
<td>Using where</td>
</tr>
</table>
<p>As you can see, in 5.7 all the rows are being pulled in single query where as for 8.0.32 it is being pulled in multiple query.</p> Redmine - Defect #38992 (New): How do I use helper_queries_column_value helper hook?https://www.redmine.org/issues/389922023-08-28T02:06:07Zkeineahnung 2345mimifasosofamire1123@gmail.com
<p>In app/helpers/queries_helper.rb, there is:</p>
<pre><code class="ruby syntaxhl"> <span class="k">def</span> <span class="nf">column_value</span><span class="p">(</span><span class="n">column</span><span class="p">,</span> <span class="n">item</span><span class="p">,</span> <span class="n">value</span><span class="p">)</span>
<span class="n">content</span> <span class="o">=</span> <span class="o">...</span>
<span class="n">call_hook</span><span class="p">(</span><span class="ss">:helper_queries_column_value</span><span class="p">,</span>
<span class="p">{</span><span class="ss">:content</span> <span class="o">=></span> <span class="n">content</span><span class="p">,</span> <span class="ss">:column</span> <span class="o">=></span> <span class="n">column</span><span class="p">,</span> <span class="ss">:item</span> <span class="o">=></span> <span class="n">item</span><span class="p">,</span> <span class="ss">:value</span> <span class="o">=></span> <span class="n">value</span><span class="p">})</span>
<span class="n">content</span>
<span class="k">end</span>
</code></pre>
<p>In my xxx_helper_queries_column_value_hook.rb:</p>
<pre><code class="ruby syntaxhl"> <span class="k">def</span> <span class="nf">helper_queries_column_value</span><span class="p">(</span><span class="n">context</span> <span class="o">=</span> <span class="p">{</span> <span class="p">})</span>
<span class="k">if</span> <span class="n">context</span><span class="p">[</span><span class="ss">:column</span><span class="p">].</span><span class="nf">name</span> <span class="o">==</span> <span class="ss">:action</span>
<span class="n">context</span><span class="p">[</span><span class="ss">:content</span><span class="p">]</span> <span class="o">=</span> <span class="s2">"Ushiro"</span>
<span class="k">end</span>
<span class="k">end</span>
</code></pre>
<p>I can change the parameter context, but when I checked in app/helpers/queries_helper.rb, I found that the variable content is not updated. So what's the proper way of using this hook? My guess is that this piece of code:</p>
<pre><code class="ruby syntaxhl"> <span class="n">call_hook</span><span class="p">(</span><span class="ss">:helper_queries_column_value</span><span class="p">,</span>
<span class="p">{</span><span class="ss">:content</span> <span class="o">=></span> <span class="n">content</span><span class="p">,</span> <span class="ss">:column</span> <span class="o">=></span> <span class="n">column</span><span class="p">,</span> <span class="ss">:item</span> <span class="o">=></span> <span class="n">item</span><span class="p">,</span> <span class="ss">:value</span> <span class="o">=></span> <span class="n">value</span><span class="p">})</span>
<span class="n">content</span>
</code></pre>
<p>should be revised to:</p>
<pre><code class="ruby syntaxhl"> <span class="n">content</span> <span class="o">=</span> <span class="n">call_hook</span><span class="p">(</span><span class="ss">:helper_queries_column_value</span><span class="p">,</span>
<span class="p">{</span><span class="ss">:content</span> <span class="o">=></span> <span class="n">content</span><span class="p">,</span> <span class="ss">:column</span> <span class="o">=></span> <span class="n">column</span><span class="p">,</span> <span class="ss">:item</span> <span class="o">=></span> <span class="n">item</span><span class="p">,</span> <span class="ss">:value</span> <span class="o">=></span> <span class="n">value</span><span class="p">})</span>
<span class="n">content</span>
</code></pre> Redmine - Defect #38968 (New): Images not showing up when space(s) in filenamehttps://www.redmine.org/issues/389682023-08-21T13:54:53ZThomas B
<p>Hi,</p>
<p>i'm currently testing Redmine 5.0.5 which is an upgrade from 4.2.3<br />I notice that images containing spaces in the filename that we upload through CKEditor aren't displayed anymore.<br />Also the image selector shows the filename up until the space.<br />ie, an image called 'IMG_2023 Forest.png' will show up as 'IMG_2023' with then an 'image not available' cross in the thumbail for what should be the image.</p>
<p>How can i make it so that the spaces in the filename arent an issue anymore?</p>
<p>Attached is a screenshot showing how it looks in 4.2.3 (left) and 5.0.5 (right)</p> Redmine - Defect #38966 (Confirmed): Attachments custom fields not removed when issue deletedhttps://www.redmine.org/issues/389662023-08-21T09:35:51Zsalman mp
<p>Hi<br />Attachments of an issue that are related to custom fields of type attachment, get not deleted after issue deletion.</p> Redmine - Defect #38915 (Confirmed): Duplicate spacer id in jsToolBarhttps://www.redmine.org/issues/389152023-08-05T06:30:42ZYasu Saku
<p>Currently, each spacer in the jsToolBar is assigned an ID.<br />However, when there are multiple wiki editing areas on a page, this causes issues due to the duplicated IDs.<br />Therefore, to address this problem, I have created a patch that replaces the ID with a class name as one of the proposed fixes.</p>
<pre><code class="diff syntaxhl"><span class="gd">--- a/public/javascripts/jstoolbar/jstoolbar.js
</span><span class="gi">+++ b/public/javascripts/jstoolbar/jstoolbar.js
</span><span class="p">@@ -155,15 +155,14 @@</span> jsButton.prototype.draw = function() {
return button;
}
-function jsSpace(id) {
<span class="gd">- this.id = id || null;
</span><span class="gi">+function jsSpace(className) {
+ this.className = className || null;
</span> this.width = null;
}
jsSpace.prototype.draw = function() {
var span = document.createElement('span');
<span class="gd">- if (this.id) span.id = this.id;
</span> span.appendChild(document.createTextNode(String.fromCharCode(160)));
<span class="gd">- span.className = 'jstSpacer';
</span><span class="gi">+ span.className = 'jstSpacer' + (this.className ? ' ' + this.className : '');
</span> if (this.width) span.style.marginRight = this.width+'px';
return span;
</code></pre> Redmine - Defect #38880 (New): Incorrect default value display on true/false custom field when ed...https://www.redmine.org/issues/388802023-07-24T11:55:23Zsalman mp
<p>Hi</p>
Scenario:
<ol>
<li>add new custom field of type "boolean" </li>
<li>select default value "False" </li>
<li>select display mode "drop down"</li>
</ol>
<p>When you creating a new issue, newly created custom field correctly is False.<br />But when you editing issues that was created before adding custom field, the custom field shown as True.</p>
<p>Env:<br />Redmine 4.2.10<br />Ruby 2.7</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 #38860 (New): Issue create abnormally https://www.redmine.org/issues/388602023-07-19T05:39:58Zyoung lee
<p>Hello.</p>
<p>This is my first time to build a red mine.(My Redmine Version 5.0.5)<br />After installation, I create project and issue. <br />But creating issue, I was faced with an abnormal generation about issue.</p>
<p>First Issue create is fine.</p>
<p>[normal Issue create]</p>
<pre>
I, [20Processing by IssuesController#new as JS
I, [20 Parameters: {"utf8"=>"?", "authenticity_token"=>"LaGYWvcJiifzjVwE4H4ETYCIrJER5ksKMXZ9x/OPx993ehyfWD2I6EuxmV4X9vOvWL07E2gOKVwL6ZKuUYqB5w==", "form_update_triggered_by"=>"issue_project_id", "issue"=>{"is_private"=>"0", "project_id"=>"7", "tracker_id"=>"1", "subject"=>"sadfs", "description"=>"", "status_id"=>"1", "priority_id"=>"2", "assigned_to_id"=>"", "parent_issue_id"=>"", "start_date"=>"2023-07-19", "due_date"=>"", "estimated_hours"=>"", "done_ratio"=>"0", "watcher_user_ids"=>[""]}, "was_default_status"=>"1"}
I, [20 Current user: admin (id=1)
I, [20 Rendered issues/new.js.erb (Duration: 70.6ms | Allocations: 18132)
I, [20Completed 200 OK in 116ms (Views: 62.3ms | ActiveRecord: 20.4ms | Allocations: 28122)
I, [20Started POST "/issues" for 210.108.138.86 at 2023-07-19 14:14:09 +0900
I, [20Processing by IssuesController#create as HTML
I, [20 Parameters: {"utf8"=>"?", "authenticity_token"=>"LaGYWvcJiifzjVwE4H4ETYCIrJER5ksKMXZ9x/OPx993ehyfWD2I6EuxmV4X9vOvWL07E2gOKVwL6ZKuUYqB5w==", "form_update_triggered_by"=>"", "issue"=>{"is_private"=>"0", "project_id"=>"7", "tracker_id"=>"1", "subject"=>"sadfs", "description"=>"<p>sdafsdf</p>\r\n", "status_id"=>"1", "priority_id"=>"2", "assigned_to_id"=>"", "parent_issue_id"=>"", "start_date"=>"2023-07-19", "due_date"=>"", "estimated_hours"=>"", "done_ratio"=>"0", "watcher_user_ids"=>[""]}, "was_default_status"=>"1", "commit"=>"만들기"}
I, [20 Current user: admin (id=1)
I, [20[ActiveJob] Enqueued ActionMailer::MailDeliveryJob (Job ID: c65bd998-c084-47c4-8833-723637fe55d9) to Async(mailers) with arguments: "Mailer", "issue_add", "deliver_now", {:args=>[#<GlobalID:0x000000000792a980 @uri=#<URI::GID gid://redmine-app/User/1>>, #<GlobalID:0x0000000007929990 @uri=#<URI::GID gid://redmine-app/Issue/190>>]}
I, [20Redirected to http://redmine-mvno.medialog.co.kr/issues/190
I, [20Completed 302 Found in 103ms (ActiveRecord: 26.1ms | Allocations: 18437)
I, [20Job] [c65bd998-c084-47c4-8833-723637fe55d9] Performing ActionMailer::MailDeliveryJob (Job ID: c65bd998-c084-47c4-8833-723637fe55d9) from Async(mailers) enqueued at 2023-07-19T05:14:09Z with arguments: "Mailer", "issue_add", "deliver_now", {:args=>[#<GlobalID:0x0000000008167ee0 @uri=#<URI::GID gid://redmine-app/User/1>>, #<GlobalID:0x0000000008164510 @uri=#<URI::GID gid://redmine-app/Issue/190>>]}
I, [20Started GET "/issues/190" for 210.108.138.86 at 2023-07-19 14:14:09 +0900
I, [20Processing by IssuesController#show as HTML
I, [20 Parameters: {"id"=>"190"}
I, [20 Current user: admin (id=1)
I, [20Job] [c65bd998-c084-47c4-8833-723637fe55d9] Rendered mailer/issue_add.text.erb within layouts/mailer (Duration: 29.2ms | Allocations: 5700)
I, [20Job] [c65bd998-c084-47c4-8833-723637fe55d9] Rendered layout layouts/mailer.text.erb (Duration: 37.3ms | Allocations: 7148)
I, [20Job] [c65bd998-c084-47c4-8833-723637fe55d9] Rendered mailer/issue_add.html.erb within layouts/mailer (Duration: 14.8ms | Allocations: 2938)
I, [20Job] [c65bd998-c084-47c4-8833-723637fe55d9] Rendered layout layouts/mailer.html.erb (Duration: 20.6ms | Allocations: 3983)
I, [20Job] [c65bd998-c084-47c4-8833-723637fe55d9] Performed ActionMailer::MailDeliveryJob (Job ID: c65bd998-c084-47c4-8833-723637fe55d9) from Async(mailers) in 185.57ms
I, [20 Rendered issues/show.html.erb within layouts/base (Duration: 166.9ms | Allocations: 41637)
I, [20 Rendered layout layouts/base.html.erb (Duration: 220.3ms | Allocations: 54173)
I, [20Completed 200 OK in 409ms (Views: 189.0ms | ActiveRecord: 115.0ms | Allocations: 91462)
</pre>
<p>But If I recreate a new issue, an error occurs.<br />[Error Log]</p>
<pre>
Started GET "/projects/test/issues" for 210.108.138.86 at 2023-07-19 14:14:36 +0900
Processing by IssuesController#index as HTML
Parameters: {"project_id"=>"test"}
Current user: admin (id=1)
Rendered issues/index.html.erb within layouts/base (Duration: 107.4ms | Allocations: 36739)
Rendered layout layouts/base.html.erb (Duration: 141.0ms | Allocations: 45328)
Completed 200 OK in 203ms (Views: 132.1ms | ActiveRecord: 25.1ms | Allocations: 55653)
Started GET "/projects/test/issues/new" for 210.108.138.86 at 2023-07-19 14:14:37 +0900
Processing by IssuesController#new as HTML
Parameters: {"project_id"=>"test"}
Current user: admin (id=1)
Rendered issues/new.html.erb within layouts/base (Duration: 67.0ms | Allocations: 17614)
Rendered layout layouts/base.html.erb (Duration: 98.6ms | Allocations: 26401)
Completed 200 OK in 135ms (Views: 86.6ms | ActiveRecord: 20.3ms | Allocations: 32707)
Started POST "/projects/test/issues" for 210.108.138.86 at 2023-07-19 14:14:40 +0900
Processing by IssuesController#create as HTML
Parameters: {"utf8"=>"?", "authenticity_token"=>"VmkqMXm3jsFJAsCsSK6+CsZDkLvYLQiH5UR7VRT46zUMsq701oOMDvE+Bfa/JknoHnYHOaHFatHf25Q8tv2tDQ==", "form_update_triggered_by"=>"", "issue"=>{"is_private"=>"0", "tracker_id"=>"1", "subject"=>"asdfsdaf", "description"=>"<p>sdfsdaf</p>\r\n", "status_id"=>"1", "priority_id"=>"2", "assigned_to_id"=>"", "parent_issue_id"=>"", "start_date"=>"2023-07-19", "due_date"=>"", "estimated_hours"=>"", "done_ratio"=>"0", "watcher_user_ids"=>[""]}, "was_default_status"=>"1", "commit"=>"만들기", "project_id"=>"test"}
Current user: admin (id=1)
[ActiveJob] Enqueued ActionMailer::MailDeliveryJob (Job ID: d447afb3-aa06-4624-bad7-8f1ef09d250d) to Async(mailers) with arguments: "Mailer", "issue_add", "deliver_now", {:args=>[#<GlobalID:0x00000000070ddcf0 @uri=#<URI::GID gid://redmine-app/User/1>>, #<GlobalID:0x00000000070dd200 @uri=#<URI::GID gid://redmine-app/Issue/191>>]}
Redirected to http://redmine-mvno.medialog.co.kr/issues/191
Completed 302 Found in 75ms (ActiveRecord: 14.8ms | Allocations: 15738)
Started GET "/issues/191" for 210.108.138.86 at 2023-07-19 14:14:40 +0900
Processing by IssuesController#show as HTML
Parameters: {"id"=>"191"}
Current user: admin (id=1)
Rendered common/error.html.erb within layouts/base (Duration: 1.2ms | Allocations: 237)
Rendered layout layouts/base.html.erb (Duration: 28.7ms | Allocations: 7008)
Filter chain halted as :find_issue rendered or redirected
Completed 404 Not Found in 40ms (Views: 25.4ms | ActiveRecord: 7.5ms | Allocations: 8641)
</pre>
<p>Could you please help me?? <br />Thank you!</p>
<p>Sincerely yours.</p> Redmine - Defect #38830 (New): Installation of Redmine 5.0 with fresh Ubuntu 22.04 LTS stops at b...https://www.redmine.org/issues/388302023-07-10T07:05:36ZDirk Blanckenhorn
<p>Hi there,</p>
<p>I tried for days to install Redmine 5.0 using official redmine HowTos, but I always get stucked during bundle install:</p>
<p>my database manager version : PostgreSQL 14.8<br />my Ruby version : 3.0.2<br />my Rails version : Not yet installable<br />my Redmine version : 5.0 (co via svn)<br />my using plugins : None so far</p>
<p>So what did I do to reproduce the error:<br />1.) Take a fresh Virtual Machine and install Ubuntu 22.04 LTS Server with default options<br />2.) Configuring the Proxy of my organisation and some certs, nothing special<br />3.) sudo apt update && sudo apt -y upgrade && sudo apt -y dist-upgrade && sudo apt -y full-upgrade && sudo apt -y autoremove && sudo apt -y autopurge && sudo apt -y autoclean && sudo reboot<br />4.) sudo apt -y install postgresql postgresql-contrib php-pgsql<br />5.) sudo apt -y install subversion<br />6.) sudo svn co <a class="external" href="https://svn.redmine.org/redmine/branches/5.0-stable">https://svn.redmine.org/redmine/branches/5.0-stable</a> /opt/redmine-5.0<br />7.) cd ~postgres/<br />8.) sudo -u postgres psql -c "CREATE ROLE redmine LOGIN ENCRYPTED PASSWORD 'my_password' NOINHERIT VALID UNTIL 'infinity';" <br />9.) sudo -u postgres psql -c "CREATE DATABASE redmine WITH ENCODING='UTF8' OWNER=redmine;" <br />10.) sudo -u postgres psql -c "ALTER DATABASE redmine SET datestyle='ISO,MDY';" <br />11.) Configuring /opt/redmine-5.0/config/database.yml <br />production:<br /> adapter: postgresql<br /> database: redmine<br /> host: localhost<br /> username: redmine<br /> password: "my_password" <br /> encoding: utf8<br /> schema_search_path: public<br />12.) sudo gem install bundler<br />13.) cd /opt/redmine-5.0<br />14.) bundle install</p>
<p>During bundle install the output is flodded with messages like<br /> Bundler::PermissionError There was an error while trying to write to `/var/lib/gems/3.0.0/cache/docile-1.4.0.gem`. It is likely that you need to grant write permissions for that path.<br /> Bundler::PermissionError There was an error while trying to write to `/var/lib/gems/3.0.0/cache/rack-2.2.7.gem`. It is likely that you need to grant write permissions for that path.</p>
<p>and ends with:</p>
<pre><code>An error occurred while installing builder (3.2.4), and Bundler cannot continue.</code></pre>
I tried several recommended solutions outside redimine.org:
<ul>
<li>Installing rbenv via Homebrew and installing ruby via rbenv</li>
<li>Fixing permission errors by hand (which messes things up a lot)</li>
</ul>
I tried several recommended howtos step by step inside redmine.org:
<ul>
<li><a class="external" href="https://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_50x_on_Ubuntu_2004_with_Apache2">https://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_50x_on_Ubuntu_2004_with_Apache2</a></li>
<li><a class="external" href="https://www.redmine.org/projects/redmine/wiki/RedmineInstall">https://www.redmine.org/projects/redmine/wiki/RedmineInstall</a></li>
</ul>
<p>I am at the point where I have to install not the current versions of software but older versions to install redmine - but I first try to ask here, maybe there is something I have missed to do - despite reinstalling the whole server 4 times for now and getting stucked at the same point no matter which howto I follow.</p>
<p>My Guess:<br />Some versions ago bundler had the option to correct it's permission errors by using the sudo password. But that feature was removed from bundler for security reasons.<br />It seems that there is no updated install doc since bundler changed it's habit, but I may have missed one.<br />But I don't know for sure if that's the reason for my problem. Just a guess at the moment.</p>
<p>Am I able to install the latest Redmine version 5.0.x with the latest Ubuntu LTS Server 22.04.x?<br />And if it's possible - can anyone give me a hint how to get "bundler install" running under that combination?<br />Any help would be highly appreciated.</p>
<p>Regards</p>
<p>Dirk</p> Redmine - Defect #38636 (New): NoMethodError when creating/updating an issue if all issue priorit...https://www.redmine.org/issues/386362023-05-31T05:40:53ZGo MAEDA
<p>NoMethodError is raised when creating or updating an issue if all of the following conditions are met:</p>
<ul>
<li>All issue priorities are disabled</li>
<li>No default priority is set</li>
</ul>
<p>Error when creating an issue:<br /><pre>
NoMethodError (undefined method `id' for nil:NilClass):
app/models/issue.rb:2053:in `clear_disabled_fields'
app/controllers/issues_controller.rb:152:in `create'
lib/redmine/sudo_mode.rb:61:in `sudo_mode'
</pre></p>
<p>Error when updating an issue:<br /><pre>
NoMethodError (undefined method `position' for nil:NilClass):
app/models/issue_priority.rb:63:in `high?'
app/models/issue.rb:1124:in `notified_users'
app/models/journal.rb:171:in `notified_users'
app/models/mailer.rb:134:in `deliver_issue_edit'
app/models/journal.rb:357:in `send_notification'
app/controllers/issues_controller.rb:652:in `save_issue_with_child_records'
app/controllers/issues_controller.rb:207:in `update'
lib/redmine/sudo_mode.rb:61:in `sudo_mode'
</pre></p> Redmine - Defect #38528 (Confirmed): Missing Cyrillic letters in exported PDFs in Safari and Mac ...https://www.redmine.org/issues/385282023-05-07T12:38:46ZIlya Cherevkov
<p>PDF files exported from Redmine are missing some Cyrillic letters when viewing in Safari or Mac Preview.</p>
<p>Viewing files in Firefox or Chrome working as expected.</p>
<p>Redmine 5.0.5<br />ruby 3.2.2<br />rbpdf 1.21.1</p>
<p>Fonts:<br />general_pdf_fontname: freesans<br />general_pdf_monospaced_fontname: freemono</p> Redmine - Defect #38447 (New): Time Tracking max time per dayhttps://www.redmine.org/issues/384472023-04-13T09:16:52ZAbde Salem
<p>Hi.</p>
<p>I have set the max time per day at 8h for the Log time.</p>
<p>I have 2 log time to add for the same project / issue (0h48 and 7h12).</p>
<p>When I first add 0h48 then 7h12, I have a error message.</p>
<p>But when I first add 7h12 then 0h48, i don't have the error message.</p>
<p>Can you see please .</p>
<p>Thanks.</p> Redmine - Defect #38341 (New): send_reminders not working in Redmine 5.0.5https://www.redmine.org/issues/383412023-03-08T20:51:32ZWolf Gang
<p>Hello!</p>
<p>I tried to set up the send_reminders plugin using the command<br /><pre>
bundle exec rake redmine:send_reminders days=5 debug="false" RAILS_ENV="production"
</pre><br />while I am able to send a mail using the /settings?tab=notifications "Send Test Email" function, the send_reminders is not working and the message <br /><pre>
root@5748e1b652d7:/usr/src/redmine# bundle exec rake redmine:watchers:prune
W, [2023-03-08T20:44:58.569531 #54] WARN -- : Creating scope :sorted. Overwriting existing method User.sorted
</pre></p>
<p>appears. Any idea how to troubleshoot this?</p> Redmine - Defect #38223 (Needs feedback): Send out mail with full name of commenterhttps://www.redmine.org/issues/382232023-01-30T04:37:45ZMartin Dürst
<p>The Ruby core team uses Redmine for issue tracking (see <a class="external" href="https://bugs.ruby-lang.org">https://bugs.ruby-lang.org</a>). The source for this Redmine instance is maintained at <a class="external" href="https://github.com/ruby/b.r-l.o/">https://github.com/ruby/b.r-l.o/</a>. Mails from this instance seem to only use the login name if there are non-ASCII characters in the full name. If the full name does not contain non-ASCII characters, then both the login name and the full name are given.</p>
<p>Analyzing the problem lead to the conclusion that this is a Redmine issue, not specific to bugs.ruby-lang.org. That's why I'm reporting it here. I'm not familiar with the internals of Redmine, but for example the 'mail' gem has no problem sending out mails with non-ASCII names.</p> Redmine - Defect #37871 (New): Notification e-mail not working on Redmine 5.0.2 and Microsoft Exc...https://www.redmine.org/issues/378712022-10-31T20:32:53ZAlvaro Olivera
<p>Hello community,</p>
<p>I am trying to get e-mail notifications work with Redmine 5.0.2.stable and Microsoft Exchange 2013 Mail Server.</p>
<p>I followed this instructions (<a class="external" href="https://www.redmine.org/projects/redmine/wiki/howto_configure_redmine_to_mail_to_ms_exchange_server">https://www.redmine.org/projects/redmine/wiki/howto_configure_redmine_to_mail_to_ms_exchange_server</a>) for the configuration and the main lines of my configuration.yml just looks like this:</p>
<pre>
production:
delivery_method: :smtp
smtp_settings:
address: mail.domain.com
port: 25
</pre>
<p>I needed a SMTP program so I installed sendmail first and got an SSL error. Then I uninstalled it and installed postfix instead but I got the same SSL error which is:</p>
<pre>
"An error occurred while sending mail (SSL_connect returned=1 errno=0 state=error: unexpected eof while reading)"
</pre>
<p>This error appears when I click on send test mail on the e-mail notification tab under the main configuration.</p>
<p>I checked both apache and redmine logs but I didn't find useful information to understand what's happening.</p>
<p>Could you please help me with this problem?</p>
<p>This is some of the information of my environment:</p>
<p>Operating System: Red Hat Enterprise Linux 9</p>
<p>Redmine Environment:<br /> Redmine version 5.0.2.stable<br /> Ruby version 3.0.4-p208 (2022-04-12) [x86_64-linux]<br /> Rails version 6.1.6<br /> Environment production<br /> Database adapter Mysql2<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />Redmine settings:<br /> Redmine theme Default<br />SCM:<br /> Subversion 1.14.1<br /> Mercurial 6.1.4<br /> Git 2.31.1<br /> Filesystem <br />Redmine plugins:<br /> no plugin installed</p>
<p>Output of:</p>
<pre>
ruby -ropenssl -e 'puts OpenSSL::OPENSSL_VERSION'
</pre>
<p>-> OpenSSL 3.0.1 14 Dec 2021</p>
<pre>
ruby -ropenssl -e 'puts OpenSSL::SSL::SSLContext::DEFAULT_PARAMS'
</pre>
<p>-> {:min_version=>769, :verify_mode=>1, :verify_hostname=>true, :options=>2147614800}</p> Redmine - Defect #37688 (New): Move to modern authentication(OAuth 2.0) from IMAP for receiving e...https://www.redmine.org/issues/376882022-09-19T17:14:18ZRaja Govindan
<p>Hello,</p>
<pre><code>Microsoft is going to disable IMAP authentication to read emails from Office365. I need to use modern authentication to read/receive emails.</code></pre>
<pre><code>Currently, I am using IMAP to receive email into Redmine.</code></pre>
<p>-- part of script below---<br />bundle exec rake <del>f Rakefile redmine:email:receive_imap host=outlook.office365.com<br />-------------------------</del></p>
<p>Could you please help me in providing script to use modern authentication instead of <abbr title="receive_imap">IMAP</abbr></p>
<p>Thanks <br />-/Raja G</p> Redmine - Defect #37584 (New): Gantt PNG export fails (MiniMagick error)https://www.redmine.org/issues/375842022-08-17T15:03:29ZOana VIGY
<p>Dear All,</p>
<p>I encounter a problem while exporting Gantt chart in PNG <code>MiniMagick::Error (You must have ImageMagick or GraphicsMagick installed):</code> as already reported in <a class="issue tracker-1 status-8 priority-4 priority-default" title="Defect: https://www.redmine.org/boards/2/topics/65661 (Reopened)" href="https://www.redmine.org/issues/35424">#35424</a>.</p>
<p>I tried the <a href="https://redmine.org/issues/36231#note-9" class="external">fix proposed by Jan</a> without success.</p>
<p>We just upgraded to Redmine 5.0.2 (from 4.2.2) with Ruby 3.0 (I don't remember if it worked earlier).</p>
<p>If someone have an idea. Thanks.</p>
<p>Best regards,</p>
<p>Oana</p>
<hr />
<p><strong>Production log:</strong></p>
<pre>
I, [2022-08-17T16:10:49.664599 #93460] INFO -- : [367292a9-e17e-4a86-a18d-13976de5d954] Started GET "/projects/qualite/issues/gantt.png?month=8&months=6&year=2022&zoom=2" for 10.7.19.28 at 2022-08-17 16:10:49 +0200
I, [2022-08-17T16:10:49.666126 #93460] INFO -- : [367292a9-e17e-4a86-a18d-13976de5d954] Processing by GanttsController#show as PNG
I, [2022-08-17T16:10:49.666212 #93460] INFO -- : [367292a9-e17e-4a86-a18d-13976de5d954] Parameters: {"month"=>"8", "months"=>"6", "year"=>"2022", "zoom"=>"2", "project_id"=>"qualite"}
I, [2022-08-17T16:10:49.673618 #93460] INFO -- : [367292a9-e17e-4a86-a18d-13976de5d954] Current user: adminPPM (id=50)
I, [2022-08-17T16:10:49.734119 #93460] INFO -- : [367292a9-e17e-4a86-a18d-13976de5d954] Completed 500 Internal Server Error in 68ms (ActiveRecord: 31.5ms | Allocations: 17710)
F, [2022-08-17T16:10:49.734835 #93460] FATAL -- : [367292a9-e17e-4a86-a18d-13976de5d954]
[367292a9-e17e-4a86-a18d-13976de5d954] MiniMagick::Error (You must have ImageMagick or GraphicsMagick installed):
[367292a9-e17e-4a86-a18d-13976de5d954]
[367292a9-e17e-4a86-a18d-13976de5d954] lib/redmine/helpers/gantt.rb:401:in `to_image'
[367292a9-e17e-4a86-a18d-13976de5d954] app/controllers/gantts_controller.rb:46:in `block (2 levels) in show'
[367292a9-e17e-4a86-a18d-13976de5d954] app/controllers/gantts_controller.rb:42:in `show'
[367292a9-e17e-4a86-a18d-13976de5d954] lib/redmine/sudo_mode.rb:61:in `sudo_mode'
</pre>
<p><strong>Redmine information</strong></p>
<pre>
Environment:
Redmine version 5.0.2.stable
Ruby version 3.0.4-p208 (2022-04-12) [amd64-freebsd13]
Rails version 6.1.6
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Default
SCM:
Git 2.37.1
Filesystem
Redmine plugins:
no plugin installed
</pre>
<strong>MiniMagick and ImageMagick</strong>
<ul>
<li>MiniMagick available : mini_magick (4.11.0)</li>
<li>ImageMagick
<ul>
<li>Version7.1.0-34 Q16-HDRI</li>
<li>Path defined in "configuration.yml": <code>imagemagick_convert_command: /usr/local/bin/convert</code></li>
</ul></li>
</ul> Redmine - Defect #37394 (New): uninitialized constant Redmine::WikiFormatting::CommonMark::HTML (...https://www.redmine.org/issues/373942022-07-09T15:41:00ZMischa The Evil
<p>There appears to exist a loading issue, probably connected to the Zeitwerk loader, which has now been reported twice in the forums:<br />1. <a class="message" href="https://www.redmine.org/boards/2/topics/67383">Error with redmine 5.0.2 on FreeBSD 13.1 amd64 :: Redmine...</a><br />2. <a class="message" href="https://www.redmine.org/boards/2/topics/67359">Help: uninitialized constant Redmine::WikiFormatting::Com...</a></p>
<p>The exception raised in both the reports is "<code>uninitialized constant Redmine::WikiFormatting::CommonMark::HTML (NameError)</code>".<br />It gets triggered by <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/entry/tags/5.0.2/lib/redmine/wiki_formatting/common_mark/external_links_filter.rb#L27">source:/tags/5.0.2/lib/redmine/wiki_formatting/common_mark/external_links_filter.rb#L27</a>.</p>
<p>I don't know if this can be reproduced and if so how, but I thought that given that it is the same exception in both the reports, it might be something that has to be investigated and fixed if necessary.</p> Redmine - Defect #37000 (Confirmed): Repositories are not displaying properly at 125% in Safari 15.4https://www.redmine.org/issues/370002022-04-21T10:15:14ZVitaly vit9696
<p>1. Set redmine website to display at 125% Zoom in Safari Preferences (see the screenshot).<br />2. Observe the repository view not fully covering the area, showing empty space, and having a horizontal scroll bar (see the screenshot).</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 #35734 (New): Comments are not shown correctly in Outlookmails when using nummer...https://www.redmine.org/issues/357342021-08-11T11:25:33ZPan Tau
<p>If your comment has the following structure</p>
<p>Intro:</p>
<ol>
<li>First number</li>
<li>Second number<br /><pre>
PRE-Block 1 Row 1
PRE-Block 1 Row 2
</pre></li>
<li>Third number<br /><pre>
PRE-Block 2 Row 1
</pre></li>
</ol>
<p>End</p>
<p><img src="https://www.redmine.org/attachments/download/27868/Structure.png" alt="" /></p>
<p>than the Email you receive in Outlook 2016 (for example) looks like this.</p>
<p><img src="https://www.redmine.org/attachments/download/27869/Outlookmail.png" alt="" /></p>
<p>How you can see rows were added and are nummbered in the PRE-Block.<br />So content and the numeration got worng.</p> Redmine - Defect #35732 (New): Clean up and reorder Redmine Wikihttps://www.redmine.org/issues/357322021-08-11T06:38:01ZC S
<p>The structure is getting more and more confused, especially in the area of the instructions in the individual languages there is no longer a clearly recognizable structure and there are increasing numbers of translations between the original (English).<br />Unfortunately, I do not have sufficient rights to rename or re-sort the pages ...</p> Redmine - Defect #35726 (Confirmed): Time Formatting does not apply to CSV exportshttps://www.redmine.org/issues/357262021-08-09T16:25:41Zsalman mp
<p>When you export time report to CSV, formatting does not apply on hours field.<br />Attached patch can fixed it.</p> Redmine - Defect #35192 (New): Watchers pop up window appears after a long timehttps://www.redmine.org/issues/351922021-04-30T15:42:00ZJean-René ROUET
<p>Hi</p>
<p>patch <a class="issue tracker-3 status-5 priority-4 priority-default closed" title="Patch: Improve watchers functionality to mark the users that are watching a non visible object and to no... (Closed)" href="https://www.redmine.org/issues/33329">#33329</a> introduces a performance issue</p>
<p>When you want to add a watcher to an issue in a project with many collaborators, the pop-up window take between 10 sec and 20 sec (according to the number of collaborators) to appear.<br />It's very disturbing because user has no graphical indication about that.</p>
<p>regards</p> Redmine - Defect #34046 (Needs feedback): Escaping symbols in task subject can broke export to Ga...https://www.redmine.org/issues/340462020-09-29T07:40:19ZKirill Trofimov
<p>Hello there, I think i found a problem with export Gantt to PNG. When I have task's subject with escape characters for example: "Student's Problems with new login page" I receive error (from Redmine logs):<br /><pre>
MiniMagick::Error (`convert -size 1125x926 xc:white -stroke transparent -fill black -stroke transparent
...
-strokewidth 1 -draw text 84,418 'Student'"'"'s Problems with new login page' -fill
...
red -draw line 516,36 516,925 /tmp/mini_magick20200929-4913-1ne7j9r.png` failed with error:
convert-im6.q16: non-conforming drawing primitive definition `'' @ error/draw.c/RenderMVGContent/4301.
):
lib/redmine/helpers/gantt.rb:381:in `to_image'
app/controllers/gantts_controller.rb:44:in `block (2 levels) in show'
app/controllers/gantts_controller.rb:42:in `show'
lib/redmine/sudo_mode.rb:65:in `sudo_mode'
</pre><br />And when I except this task by filters from Gantt everything is fine. Is there any chances to fix this issue?</p> Redmine - Defect #33829 (Reopened): Fix Atom feed for issues to correctly use the updated time fo...https://www.redmine.org/issues/338292020-08-08T07:38:16ZTatsuya Saitotwopackas@gmail.com
<p>There are <b>updated</b> tags in the Atom of issues list.<br />However, the <b>created on</b> is exported.</p>
<p>I have attached a patch to fix this.</p> Redmine - Defect #32972 (New): UTF8 Symbols as Usernames get Truncatedhttps://www.redmine.org/issues/329722020-02-08T20:52:40Z
<p>i noticed my name was <code>easter egg</code> on this redmine and i wanted it as <code>easteregg</code> but was forced to set a last name, which i choose to set to @</p> Redmine - Defect #32899 (Confirmed): Javascript error caused by tooltiphttps://www.redmine.org/issues/328992020-01-28T00:34:21ZAnonymous
<p>Improved tooltip in Redmine 4.1.0 ( <a class="issue tracker-3 status-5 priority-4 priority-default closed" title="Patch: Show elements titles using jQuery UI tooltips (Closed)" href="https://www.redmine.org/issues/31441">#31441</a>) causes a Javascript error on some (self-made) plugin pages using the "title" attribute.<br />This is caused by the absence of the tooltip() function in the "title" attribute. By inserting a judgment statement as follows, errors will not occured.<br /><pre><code class="diff syntaxhl"><span class="gd">--- a/public/javascripts/application.js
</span><span class="gi">+++ b/public/javascripts/application.js
</span><span class="p">@@ -998,13 +998,15 @@</span>
$(function () {
<span class="gd">- $('[title]').tooltip({
- show: {
- delay: 400
- },
- position: {
- my: "center bottom-5",
- at: "center top"
- }
- });
</span><span class="gi">+ if ($('[title]').tooltip !== undefined) {
+ $('[title]').tooltip({
+ show: {
+ delay: 400
+ },
+ position: {
+ my: "center bottom-5",
+ at: "center top"
+ }
+ });
+ }
</span> });
</code></pre></p> Redmine - Defect #32246 (New): [Redmine API] functionality to export whole wikihttps://www.redmine.org/issues/322462019-10-13T20:01:22ZWurzel mann
<p>I'm trying to export my whole wiki via the Redmine API, but the export whole wiki function as seen in the bottom right-hand corner when sorting by index is not working.</p>
<p>It is possible to export single pages via the API, but not the whole wiki, but I'd be really great to be able to backup the wiki this way in an automated fashion.</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 #31010 (Confirmed): The query visibility option "To me only" actually behaves as...https://www.redmine.org/issues/310102019-03-11T16:30:23ZYuuki NARA
<p>If you change the display range of a shared custom query created by another person to "Only me", only creator can be used instead of me.</p>
<p>When changing the Visibility of a custom query created by someone from "to these roles only" to "to me only" <br />It becomes available only to the custom query creator, not the one who is manipulating it.<br />It seems that display content is wrong and it leads to erroneous operation.</p>
<p>It may be better to change from "to me only" to "to author only".</p>
<p>Redmine3.4.6</p> Redmine - Defect #30848 (New): Error when creating issue with emoji in descriptionhttps://www.redmine.org/issues/308482019-02-20T06:51:09ZJamal Aziz
<p>When creating issue with emoji in description, it will return error. Here is the log:</p>
<p>[[Completed 500 Internal Server Error in 54ms (ActiveRecord: 12.9ms)</p>
<p>ActiveRecord::StatementInvalid (Mysql2::Error: Incorrect string value: '\xF0\x9F\x98\x84\xF0\x9F...' for column 'description' at row 1: <br />INSERT INTO `issues` (`tracker_id`, `project_id`, `subject`, `description`, `status_id`, `priority_id`, `author_id`, `created_on`, `upda<br />ted_on`, `start_date`, `lock_version`) VALUES (14, 111, 'Tes Emoji', 'Test <U+1F604><U+1F604><U+1F604>', 1<br />, 2, 39, '2019-02-20 13:39:02', '2019-02-20 13:39:02', '2019-02-20', 0)):<br />]]</p> Redmine - Defect #28188 (New): No Access-Control-Allow-Originhttps://www.redmine.org/issues/281882018-02-14T08:50:26Zanju dhiman
<p>Hi ,</p>
<p>I am using the redmine api in angular js and for users and issues list, but i am getting error "No 'Access-Control-Allow-Origin'" while hit api.<br />Can any body help me?<br />I need this on urgently basis.<br /> I am using redmine 3.3.1</p> Redmine - Defect #27543 (New): Key/value-pair custom field type not available to all customisable...https://www.redmine.org/issues/275432017-11-16T10:53:10ZFelix Schäfer
<p>The key/value-pair custom field type is currently limited to the same customisable contents as User and Version custom fields. For the key/value-pair custom field type this limitation is not necessary as the key/value-pairs are not project dependant.</p>
<p>The following patch removes the limitation inherited from the <code>RecordList</code> in the <code>EnumerationFormat</code>.</p>
<pre><code class="diff syntaxhl"><span class="gd">--- a/lib/redmine/field_format.rb
</span><span class="gi">+++ b/lib/redmine/field_format.rb
</span><span class="p">@@ -723,6 +723,8 @@</span> module Redmine
end
class EnumerationFormat < RecordList
<span class="gi">+ self.customized_class_names = nil
+
</span> add 'enumeration'
self.form_partial = 'custom_fields/formats/enumeration'
</code></pre>
<p>Another possibility would be to move the limitation from the parent class <code>RecordList</code> to the child classes that need it (<code>UserFormat</code>, <code>VersionFormat</code>), but that would mean that other existing subclasses (e.g. from plugins) would need to be updated if they rely on this limitation.</p> Redmine - Defect #25867 (New): Assignable users should respect database collationhttps://www.redmine.org/issues/258672017-05-16T20:10:20ZPavel Rosický
<p>mysql collation: utf8_general_ci<br />['a','u','č'] should be sorted as ['a','č','u'] but because of ruby sort it's reordered back as ['a','u','č']</p>
<pre>
def assignable_users
users = project.assignable_users(tracker).to_a
users << author if author && author.active?
if assigned_to_id_was.present? && assignee = Principal.find_by_id(assigned_to_id_was)
users << assignee
end
users.uniq.sort
end
</pre>
<p>I can provide a patch, are you interested or is it desired behaviour?</p>
<pre>
Environment (not important, all redmine versions and databases are affected):
Redmine version 3.3.3.devel.16557
Ruby version 2.1.5-p273 (2014-11-13) [x64-mingw32]
Rails version 4.2.8
Environment production
Database adapter Mysql2
SCM:
Subversion 1.9.5
Git 2.11.0
Filesystem
Redmine plugins:
no plugin installed
</pre> Redmine - Defect #24457 (New): Progress of version should be calculated the same way as parent taskshttps://www.redmine.org/issues/244572016-11-25T13:59:27ZC-O L
<p>The progress of a version should be calculated the same ways as the progress of parent tasks are calculated in <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Progress of parent task should be calculated using total estimated hours of children (Closed)" href="https://www.redmine.org/issues/23511">#23511</a>.</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 #20769 (New): Issues with formatting of == (equality operator)https://www.redmine.org/issues/207692015-09-17T09:03:45ZMehmet Soyturk
<p>This operator might have special meaning in textile, but I didn't not find it in the documents. When I input this as plain textile text or as inline code (betwee @ characters), sometimes it disappears.</p>
<p>This is annoying, because = = is the equality operator in many programming languages.</p>
<p>I will paste this text below:<br /><pre>
@x == y && a == b@
@x == y && a == b@
== abc ==
=== abc ===
= abc =
x == y & a == b
x == y
a == b
@x == y && a == b@
@x == y && a == b@
</pre></p>
<p>After pasting:</p>
<p><code>x y && a b</code><br /><code>x y && a b</code></p>
abc
<p>=== abc ===</p>
<p>= abc =</p>
<p>x y & a b</p>
<p>x y</p>
<p>a b</p>
<p><code>x y && a b</code><br /><code>x y && a b</code></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 #14976 (New): authentication required configurablehttps://www.redmine.org/issues/149762013-09-24T11:59:03ZHuang Ruhua
<p>when authentication required option is checked, all url required logined. but i expect some url is accessible to anonymous users, like '/attachments/download/3029/picture431-1.png', or else these image can't be displayed in email</p> Redmine - Defect #4682 (Confirmed): Completed version with wrong progress bar statushttps://www.redmine.org/issues/46822010-01-28T15:39:55ZChristiaan Kras
<p>I have a version inside a project which only contains 2 bugs/issues. Both of them were fixed and percentage of completement is both at 100%. Yet, as you can see in the screenshot, it shows 100% complete, but according to the progress bar 1 issue isn't closed yet. Which is actually.</p>
<p>I've tried setting the completement status to 90%, save, and set it back to a 100%. But no luck.</p>
<p>I've setup my Redmine instance to check the commit messages in my repository. When it says closes/fixes #<issue nr> it sets the status to resolved and at 100% ready/complete. This so far hasn't lead to any problems before.</p> Redmine - Defect #1389 (New): Support "x-*" language codes by removing length limithttps://www.redmine.org/issues/13892008-06-05T18:02:58ZArthaey Angosii
<p>Forcing language codes to be <= 5 characters does not allow for "x-*" codes, which can be arbitrarily long:</p>
<blockquote>
<p>"The most widely used standard for identifying languages in Internet documents (such as in HTTP headers or HTML metadata or in the XML lang attribute) is <a href="http://www.ietf.org/rfc/rfc4646.txt" class="external">RFC 4646</a> (formerly RFC 3066). In that standard, a three-letter identifier is interpreted as being a code from the <a href="http://www.loc.gov/standards/iso639-2/" class="external">ISO 639-2</a> standard. RFC 4646 offers an extension mechanism of tags beginning with x- to handle custom codes for languages not covered in the standard." <em>(Source: <a class="external" href="http://www.ethnologue.com/codes/">http://www.ethnologue.com/codes/</a>)</em></p>
</blockquote>
<p>There are also "i-*" codes for grandfathered codes. See also the <a href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.1.1" class="external">w3c HTML4 spec for the <code>lang</code> attribute</a> and <a href="http://www.ietf.org/rfc/rfc1766.txt" class="external">RFC 17666</a>.</p> Redmine - Defect #1175 (Confirmed): Empty diff page for binary fileshttps://www.redmine.org/issues/11752008-05-05T11:48:22ZLeszek Ciesielski
<p>When files are commited to svn repository with binary mime type (generally anything with application/* mime), Redmine still shows the "Annotate" button for them, but pressing it shows an empty change list. It would be more user-friendly to show some kind of message indicating why no diff is available (e.g. "This file has a binary mime type of application/xml").</p>