Redmine: Issueshttps://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292024-03-28T03:56:29ZRedmine
Redmine 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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #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 #38932 (New): User preferences API? https://www.redmine.org/issues/389322023-08-08T10:46:26ZJoan J
<p>I am looking into setting a default layout for the users in my setup. There are some interesting discussions such as: <a class="external" href="https://www.redmine.org/boards/2/topics/27145?r=27355#message-27355">https://www.redmine.org/boards/2/topics/27145?r=27355#message-27355</a><br />I have search and it seems that there's currently no plugin to set the layout.<br />Another thing that would be easily useable would be an API endpoing for the user preferences, does this exist?</p> 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 #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 #38859 (New): Create a make self installerhttps://www.redmine.org/issues/388592023-07-18T21:57:15ZOllie Sharratt
<p>A run file created using makeself for redmine would be real nice, we use this a lot, it’s completely flexible and makes installs / upgrades far easier.</p> Redmine - Defect #38833 (New): Alignment Issue with Custom Text Field in Redminehttps://www.redmine.org/issues/388332023-07-10T23:45:35ZMatt Savin
<p>Hello Redmine Developers,</p>
<p>I would like to bring an alignment issue to your attention regarding the Custom Text field in Redmine.</p>
<p>Currently, the Custom Text field is center aligned, whereas the Custom Long Text field is left aligned. It is generally considered a common convention to have text aligned to the left. Therefore, I would like to request if there is a way to make the Custom Text field left aligned, similar to the Custom Long Text field.</p>
<p>This alignment consistency would greatly improve the user experience and ensure a more cohesive design within Redmine.</p>
<p>Thank you for your attention to this matter. I appreciate your efforts in continuously improving Redmine and addressing user feedback.</p>
<p>Best regards,<br />Matt</p> Redmine - Defect #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 #38581 (New): 2 different queries with the same fields on "My page" are not alignedhttps://www.redmine.org/issues/385812023-05-23T13:33:30Zthuruk thuruk
<p>I made a query for issues that need further feedback, and a query for those I'm working on currently. Both these queries are on "My page", but the columns aren't aligned.<br />Here is a screenshot of the same issue on this very Redmine :<br /><img src="https://www.redmine.org/attachments/download/30482/clipboard-202305231532-boi1g.png" alt="" /></p> Redmine - Defect #38571 (New): Registration via gmailhttps://www.redmine.org/issues/385712023-05-20T13:25:15ZAndrey Eliseev
<p>When registering in Redmine via gmail, the letter did not come.<br />Registration via yandex mail finished siccesfuly.<br />Defect has discovered in web version of Redmine on Chrome 113.0.5672.93, Windows 10 64 bit.<br />Steps: go to registration page > fill the regidtratino form using gmail > check the mail (inbox and spam)<br />The account creates, but the mail with confirmation don`t come</p> Redmine - Defect #38514 (New): Email Notifications: Email Notifications: trigger rspamd symbol fo...https://www.redmine.org/issues/385142023-05-03T10:23:35ZHendrik Jaeger
<p>Registration email from redmine.org triggers the following rspamd symbol:<br /><code>
Symbol: HFILTER_HELO_5(3.00)
</code></p>
<p>From the headers:<br /><code>
Received: from static.126.101.4.46.clients.your-server.de ([46.4.101.126]:43352 helo=Ubuntu-2004-focal-64-minimal)
</code></p>
<p>I think this HELO Ubuntu-2004-focal-64-minimal is what rspamd takes offense at. It should probably be a FQDN.<br />But TBH I was not able to figure out what exactly the rspamd symbol meant quickly so this might be wrong.</p>
<p>See <a class="external" href="https://www.rfc-editor.org/rfc/rfc5321.html#section-4.1.1.1">https://www.rfc-editor.org/rfc/rfc5321.html#section-4.1.1.1</a> which says<br /><pre>
These commands are used to identify the SMTP client to the SMTP
server. The argument clause contains the fully-qualified domain name
of the SMTP client, if one is available. In situations in which the
SMTP client system does not have a meaningful domain name (e.g., when
its address is dynamically allocated and no reverse mapping record is
available), the client SHOULD send an address literal (see
Section 4.1.3).
</pre></p> Redmine - Defect #38513 (New): Email Notifications: case of MIME-Version headerhttps://www.redmine.org/issues/385132023-05-03T10:14:21ZHendrik Jaeger
<p>Hi</p>
<p>Registration confirmation email triggers the following rspamd symbol:<br /><code>
Symbol: MV_CASE(0.50)
</code></p>
<p>code for this check is:<br /><code>
rspamd_config.MV_CASE = {
callback = function (task)
return task:has_header('Mime-Version', true)
end,
description = 'Mime-Version .vs. MIME-Version',
score = 0.5,
group = 'headers'
}
</code></p>
<p>i.e. (at least AFAIU) it checks whether the exact (i.e. case-sensitive) header name given is 'Mime-Version'.</p>
<p><a class="external" href="https://datatracker.ietf.org/doc/html/rfc1521#section-3">https://datatracker.ietf.org/doc/html/rfc1521#section-3</a> states<br /><pre>
Messages composed in accordance with this document MUST include such a header field, with the following verbatim text:
MIME-Version: 1.0
</pre></p>
<p>i.e. the case of 'MIME' needs to be all uppercase.</p> Redmine - Defect #38512 (New): Email Notifications: offending headerhttps://www.redmine.org/issues/385122023-05-03T10:07:20ZHendrik Jaeger
<p>My rspamd scanner reports for the account registration notification the following symbol:<br /><code>
Symbol: XAW_SERVICE_ACCT(1.00)
</code></p>
<p>which is triggered by this header:<br /><code>
X-Authentication-Warning: Ubuntu-2004-focal-64-minimal: www-data set sender to noreply@redmine.org using -f
</code></p>
<p>I’m not sure what MTA that server is using, but it looks like sendmail‽</p>
<p>To prevent this header from being added, it seems you would have to add www-data to the trusted-users list, see e.g.<br /><a class="external" href="https://forum.howtoforge.com/threads/fix-for-x-authentication-warning.18269/">https://forum.howtoforge.com/threads/fix-for-x-authentication-warning.18269/</a></p>
<p>I know a few things about email, so if I can assist any further with this issue, let me know!</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 #38427 (New): Index optimization in custom values tablehttps://www.redmine.org/issues/384272023-04-10T13:18:03Z庚鹏 陈
<p>The combined index in the custom_values table, called 'custom_values_customized', has a significant performance boost by placing customized_id far to the left</p> Redmine - Defect #38383 (New): Cant upload Pluginhttps://www.redmine.org/issues/383832023-03-28T08:00:08Zablida dev
<p>hi there,</p>
<p>i uploaded a plugin yesterday but it's not there anymore. unfortunately i didn't get an email saying what i might have done wrong when publishing it & didn't find any other support, so i'm trying here now.</p>
<p><a class="external" href="https://www.redmine.org/plugins/redmine_add_date_formats_with_day_names">https://www.redmine.org/plugins/redmine_add_date_formats_with_day_names</a><br />(<a class="external" href="https://github.com/ablidadev/redmine_add_date_formats_with_day_names">https://github.com/ablidadev/redmine_add_date_formats_with_day_names</a>)</p>
<p>any help would be appreciated</p> Redmine - Defect #38376 (New): WEBAPI - Create project with custom fieldshttps://www.redmine.org/issues/383762023-03-24T16:10:13ZDiego Boca
<p>I'm trying to create a new project using the attached json file.</p>
<p>The Project has been created correctly but the custom field is not filled in.</p>
<p>No errors are provided.</p>
<p>The credential used to call the web api is the username and the password of the administrator of the redmine installation.</p> Redmine - Defect #38371 (New): Where is demo version??https://www.redmine.org/issues/383712023-03-21T12:22:55ZMustafa Warsame HajiRedmine - Defect #38348 (New): Redmine on Synology DSM7.2https://www.redmine.org/issues/383482023-03-10T09:18:02ZMarkus Saager
<p>Hello, <br />since an update of our synology-NAS from 6.2 to 7.2 redmine is not available any more. Is there any chance to install redmine on the new version of DSM?</p> Redmine - Defect #38342 (New): URLs in outgoing emails get mutilatedhttps://www.redmine.org/issues/383422023-03-09T08:37:05ZF H
<p>Environment:<br />Redmine version 5.0.2.stable<br />Ruby version 3.0.2-p107 (2021-07-07) [x86_64-linux-gnu]<br />Rails version 6.1.6</p>
<p>Redmine Silencer 2 version 0.4.3<br />---<br />Hello everyone.</p>
<p>When sending Mails, Redmine seems to alter and mutilate URLs in the text body of the mail.</p>
<p>Example: </p>
<pre><code><a class="external" href="https://mydomain/index.html?gotoid=121519&setformview=verify">https://mydomain/index.html?gotoid=121519&setformview=verify</a></code></pre>
<p>Expected:</p>
<pre><code><a class="external" href="https://mydomain/index.html?gotoid=121519&setformview=verify">https://mydomain/index.html?gotoid=121519&setformview=verify</a></code></pre>
<p>Result:</p>
<pre><code><a class="external" href="https://mydomain/index.html?gotoid1519&setformview=rify">https://mydomain/index.html?gotoid1519&setformview=rify</a></code></pre>
<p>Some URLs are getting part of their starting characters removed in our footer which is static and comes from the Redmine Mail-Template for the header and footer.</p>
<p>If it starts with <a class="external" href="https:// it">https:// it</a> becomes ttps://, or if it's a mailto: it becomes ailto:mailto:... .</p>
<p>Same for using the tags for preformatted text <\pre><\/pre> and for code <\pre><\code class="html"><\/code><\/pre>, where then partially things between these tags get simply omitted in the send mail for the recipient, just like with the URLs above. These tags currently seem not to protect the contend inside them.</p>
<p>Sending the mail as plain text (textile) or HTML does not change this behaviour.</p>
<p>We currently can't communicate important code issues or URLs with customers via the issues, but instead have to resort to write an extra mail so everything that needs to be communicated actually does reach the recipient.</p>
<p>What could be something i might look into with Redmine, that might be causing this?</p>
<p>Thank you.</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 #38322 (New): Developer Guide - Redmine APIhttps://www.redmine.org/issues/383222023-03-02T20:11:23ZSeung Soo Mun
<p><a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/Rest_api_with_powershell">PowerShell</a> is <strong>not</strong> included in <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/Rest_api#API-Usage-in-various-languagestools">Redmine API - API Usage in various languages/tools</a></p>
<p>Right now, you should go to <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/Rest_api_with_csharp">.NET</a> first, then choose <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/REST_API_with_PowerShell">REST API with PowerShell</a></p> Redmine - Defect #38317 (New): Redmine 5.0 stable Mention User function doesn't send mail notific...https://www.redmine.org/issues/383172023-03-02T03:31:50ZCalvin S
<p>Redmine Installation Info: Remdmine 5.0.0 Stable <br />Problem: <br />when updating description or contents of issue with @ function, users list could be shown correctly, but no mail notification sent to the user. user name format is GivenName.FamilyName</p>
<p>I've searched the history problem related to mention user function, and try with the latest R21665, but still doesn't working.</p>
<p>user account notification setting refer to the attachment<br /><img src="https://www.redmine.org/attachments/download/30219/problem.JPG" alt="" /></p> Redmine - Defect #38305 (New): Exported Pdf cannt set emojihttps://www.redmine.org/issues/383052023-02-27T00:49:23Zcong wei
<p>Exported Pdf cannt set emoji</p> Redmine - Defect #38253 (New): Cannot read e-mails fo creating ticketshttps://www.redmine.org/issues/382532023-02-07T16:57:04ZFrancesc Mera
<p>Hi, I'm new to Redmine, Ruby and Rails and I'm trying to learn as much as possible.<br />Apparently I have the task configured correctly in a script but it doesn't read the mails(half a year ago when I did a test it worked...), outside the task it returns the following error:</p>
@rake -f /var/www/redmine/Rakefile redmine:email:receive_imap RAILS_ENV="production" host=IMAP-SERVER port=993 username=ADDRESS password=***** unknown_user=accept project=helpdesk unknown_user=accept no_permission_check=1 ssl=true --trace
<ul>
<li>Invoke redmine:email:receive_imap (first_time)</li>
<li>Invoke environment (first_time)</li>
<li>Execute environment</li>
<li>Execute redmine:email:receive_imap<br />rake aborted!<br />OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/2.6.0/net/protocol.rb:44:in `connect_nonblock'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/2.6.0/net/protocol.rb:44:in `ssl_socket_connect'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/2.6.0/net/imap.rb:1534:in `start_tls_session'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/2.6.0/net/imap.rb:1092:in `initialize'<br />/var/www/redmine/lib/redmine/imap.rb:32:in `new'<br />/var/www/redmine/lib/redmine/imap.rb:32:in `check'<br />/var/www/redmine/lib/tasks/email.rake:121:in `block (4 levels) in <top (required)>'<br />/var/www/redmine/app/models/mailer.rb:649:in `with_synched_deliveries'<br />/var/www/redmine/lib/tasks/email.rake:120:in `block (3 levels) in <top (required)>'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/task.rb:281:in `block in execute'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/task.rb:281:in `each'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/task.rb:281:in `execute'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/task.rb:219:in `block in invoke_with_call_chain'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/task.rb:199:in `invoke_with_call_chain'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/task.rb:188:in `invoke'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/application.rb:160:in `invoke_task'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/application.rb:116:in `block (2 levels) in top_level'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/application.rb:116:in `each'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/application.rb:116:in `block in top_level'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/application.rb:125:in `run_with_threads'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/application.rb:110:in `top_level'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/application.rb:83:in `block in run'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/application.rb:186:in `standard_exception_handling'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rake-13.0.3/lib/rake/application.rb:80:in `run'<br />/usr/local/rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'<br />/usr/local/rbenv/versions/2.6.6/bin/rake:25:in `load'<br />/usr/local/rbenv/versions/2.6.6/bin/rake:25:in `<main>'<br />Tasks: TOP => redmine:email:receive_imap<br />@</li>
</ul>
<p>I am working with the Turnkey template which corresponds to version 4.2.9, I tried to do it with the 5.0.4 template with Debian and without Template and when I executed the second command (bundle exec rake redmine:plugins:migrate RAILS_ENV=production) I got an error (rake aborted too).</p>
<p><a class="external" href="https://github.com/jfqd/redmine_helpdesk">https://github.com/jfqd/redmine_helpdesk</a></p>
<p>Can help me? thank you so much!</p> Redmine - Defect #38242 (New): Show negative values with Textilehttps://www.redmine.org/issues/382422023-02-03T09:01:37Zthuruk thuruk
<p>I encountered this problem while make a list like this :</p>
<p>- Item 1 had a temperature of 12°C<br />- Item 2 had a temperature of <del>12°C<br /></del> Item 3 had a temperature of -12°C</p>
<p>As you can see, the minus value gets interpreted as a strike-out. This doesn't make much sense at first glance, as you would expect the return to line to prevent this as it is a clear visual demarcation.</p> Redmine - Defect #38230 (New): Help page FrRedmine -https://www.redmine.org/issues/382302023-02-01T13:42:12ZOlivier Guerin
<p>Bonjour,</p>
<p>This ticket is not à prioritary.</p>
<p>In this article FrRedmine, it missed the description of permission "Gérer les sous-tâches". This persmission is located in the section of follow-up of the requests:</p>
<p><a class="external" href="https://www.redmine.org/projects/redmine/wiki/FrRedmineRoles">https://www.redmine.org/projects/redmine/wiki/FrRedmineRoles</a></p>
<p>Is that possible to modify this article ?</p>
<p>Thank you in advance,</p>
<p>Sincerely,</p>
<p>O.GUERIN,</p> Redmine - Defect #38186 (New): Bulk Update from Context Menu in Parent Project Does Not Honor Red...https://www.redmine.org/issues/381862023-01-16T17:49:40ZJohn Bolthouse
<p>This actually affects 4.2.9 but didn't see 4.2.9 on the list.</p>
<p>When looking at issues in the Issues view in a parent project, using the context menu to make changes redirects to the subproject instead of back to the parent view. The url that is passed seems to be correct.</p>
<p>----<br />Environment:<br /> Redmine version 4.2.9.stable<br /> Ruby version 2.7.7-p221 (2022-11-24) [x86_64-linux-musl]<br /> Rails version 5.2.8.1<br /> Environment production<br /> Database adapter PostgreSQL (13)<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />SCM:<br /> Subversion 1.14.2<br /> Mercurial 6.1.1<br /> Bazaar 3.2.1<br /> Git 2.36.3<br /> Filesystem <br />Redmine plugins:<br /> easy_gantt 1.12<br /> redmine_agile 1.6.1<br /> redmine_checklists 3.1.19<br /> redmine_contacts 4.3.4<br /> redmine_contacts_helpdesk 4.1.12<br /> redmine_mentions 0.1.1<br /> redmine_more_previews 5.0.6<br /> redmine_questions 1.0.2<br /> redmineup_tags 2.0.8<br /> sidebar_hide 0.0.8</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 #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 #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 #34965 (New): UnWatch ticket does not work thows 403 Forbidden when clickedhttps://www.redmine.org/issues/349652021-03-26T18:06:13ZJoel Sager
<p>When trying to UnWatch a ticket that have watched. It does not work and I get a 403 Forbidden</p>
<p>Firebug log:</p>
<p>XHRDELETEhttps://my.domain.com/watchers/watch?object_id=21079&object_type=issue<br />[HTTP/1.1 403 Forbidden 227ms]</p>
<p>DELETE<br /> <a class="external" href="https://my.domain.com/watchers/watch?object_id=21079&object_type=issue">https://my.domain.com/watchers/watch?object_id=21079&object_type=issue</a><br />Status403<br />Forbidden<br />VersionHTTP/1.1<br />Transferred627 B (216 B size)</p>
<p>Apache Log</p>
<p>ActionController::RoutingError (No route matches [GET] "/watchers/watch"):</p>
<p>Environment:<br /> Redmine version 4.1.2.stable<br /> Ruby version 2.6.5-p114 (2019-10-01) [x86_64-linux]<br /> Rails version 5.2.4.5<br /> Environment production<br /> Database adapter Mysql2<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />SCM:<br /> Filesystem <br />Redmine plugins:<br /> easy_gantt 1.12<br /> easy_gantt_pro 1.10<br /> redmine_agile 1.5.3<br /> redmine_checklists 3.1.16<br /> redmine_contacts 4.3.0<br /> redmine_contacts_helpdesk 4.1.8<br /> redmine_contacts_invoices 4.2.3<br /> redmine_crm_mailchimp 1.0.4<br /> redmine_favorite_projects 2.1.0<br /> redmine_finance 2.1.7<br /> redmine_people 1.5.1<br /> redmine_products 2.1.2<br /> redmine_questions 1.0.2<br /> redmine_reporter 1.0.3<br /> redmine_resources 1.0.2<br /> redmine_work_time 0.4.0<br /> redmine_zenedit 1.0.3<br /> sidebar_hide 0.0.8</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 #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 #31698 (New): Some unlocalize stringhttps://www.redmine.org/issues/316982019-07-09T10:41:35ZKam Nazir
There are some hard coded string which need to be localized:
<ul>
<li>"diff" in show_detail function in app/helpers/issues_helper.rb <a href="https://github.com/redmine/redmine/blob/a27c8472283e14dfeebc6bf6745b0b45a0864b83/app/helpers/issues_helper.rb#L496" class="external">here</a> [can replace by l(:label_diff)]</li>
<li>"OK" in app/views/repositories/revisions.html.erb <a href="https://github.com/redmine/redmine/blob/a27c8472283e14dfeebc6bf6745b0b45a0864b83/app/views/repositories/revisions.html.erb#L8" class="external">here</a></li>
<li>"OK" in app/views/repositories/revision.html.erb <a href="https://github.com/redmine/redmine/blob/a27c8472283e14dfeebc6bf6745b0b45a0864b83/app/views/repositories/revision.html.erb#L25" class="external">here</a></li>
<li>"Position" and "Message" in app/views/imports/show.html.erb <a href="https://github.com/redmine/redmine/blob/a27c8472283e14dfeebc6bf6745b0b45a0864b83/app/views/imports/show.html.erb#L15" class="external">here</a></li>
</ul> 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 #28033 (New): Unable to turn off "For all projects" flag of custom querieshttps://www.redmine.org/issues/280332018-01-22T09:32:54ZGo MAEDA
<p>The "For all projects" flag of custom queries cannot be disabled if once enabled.</p>
Steps to reproduce:
<ol>
<li>Create a query with "For all projects" flag enabled.</li>
<li>Edit the newly created query.</li>
<li>Uncheck "For all projects" checkbox and save the query.</li>
<li>Edit the query again.</li>
<li>"For all projects" checkbox is expected to be cleared, but it is actually checked.</li>
</ol> 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 #25049 (New): Issues which are assigned to group are not listed in reminders if ...https://www.redmine.org/issues/250492017-02-11T08:49:21ZGo MAEDA
<p>Assume the following situation:</p>
<ul>
<li>John (id: 2) and Dave (id: 3) belong to a group.</li>
<li>The group is an assignee of an issue which subject is "Assigned to group".</li>
</ul>
<p>If you run "rake redmine:send_reminders users=2", the issue "Assigned to group" should be listed in the reminder which John receives. But in fact it is not.</p>
<p>This is a test code to catch the problem:</p>
<pre><code class="diff syntaxhl"><span class="gh">Index: test/unit/mailer_test.rb
===================================================================
</span><span class="gd">--- test/unit/mailer_test.rb (revision 16332)
</span><span class="gi">+++ test/unit/mailer_test.rb (working copy)
</span><span class="p">@@ -645,11 +645,18 @@</span>
ActionMailer::Base.deliveries.each do |mail|
assert_mail_body_match 'Assigned to group', mail
end
<span class="gi">+
+ ActionMailer::Base.deliveries.clear
+
+ Mailer.reminders(:days => 7, :users => ['2'])
+ assert_equal 1, ActionMailer::Base.deliveries.size
+ assert_equal %w(jsmith@somenet.foo), ActionMailer::Base.deliveries.map(&:bcc).flatten.sort
+ assert_mail_body_match 'Assigned to group', ActionMailer::Base.deliveries.first
</span> end
end
def test_reminders_with_version_option
<span class="gd">- with_settings :default_language => 'en' do
</span><span class="gi">+ with_settings :default_language => 'en' do
</span> version = Version.generate!(:name => 'Acme', :project_id => 1)
Issue.generate!(:assigned_to => User.find(2), :due_date => 5.days.from_now)
Issue.generate!(:assigned_to => User.find(3), :due_date => 5.days.from_now, :fixed_version => version)
</code></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 #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 #17830 (New): User creation: clear/plaintext password sent via unencrypted emailhttps://www.redmine.org/issues/178302014-09-10T11:44:31ZHendrik Jaeger
<pre>
henk | I just received an unencrypted mail from redmine containing my password in plaintext. Is that fixed in more recent versions? Is there a way to fix it in 1.4.4?
henk | https://twitter.com/RamsayDev/status/460048737994551296 hehe, yeah, kinda my thoughts …
salvor | henk: no.
salvor | henk: that's only on user creation, and it's up to the administrator to send this password or not
salvor | after that everything happen through tokens
henk | salvor: hm, ok, that’s not too bad then, but I still wonder why that’s not done through tokens as well?!
salvor | I guess we could do that even on user creation (= send a unique link to reset the password) ; or force password change on first connection (which is the same security wise I think)
salvor | do you see a legitimate case where an administrator would want to set a password manually for a user ?
henk | salvor: No, not really. IMHO it’s nice to have that feature and I wouldn’t want it to go away, but it’s not a good default way to handle things.
salvor | I totally agree
</pre>
<p>Another idea:<br />allow specifying a pgp-key and send the mail encrypted</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 #10189 (New): Inline image does not work with spaces in file namehttps://www.redmine.org/issues/101892012-02-09T20:37:39ZJason Palmer
<p>Now that Redmine does not replaced special characters in attachment filenames, you cannot display an image attachment inline when the attachment name has spaces in it.</p>
<p>e.g.: <br /><pre>
!Sample Image.png! will not, as it does not recognise this as a complete image reference
</pre><br />!Sample Image.png!</p>
<pre>
!Sample_Image.png! will not work, as there is no attachment with this name
</pre><br /><img src="Sample_Image.png" alt="" />
<pre>
!"Sample Image.png"! will not work, it doesn't seem to respect the quotes to enclose the filename
</pre><br />!"Sample Image.png"!
<p>If you rename the file so that it does not containe spaces it does work <br /><pre>
!SampleImage2.png! will work
</pre><br /><img src="https://www.redmine.org/attachments/download/7188/SampleImage2.png" alt="" /></p>
<p>I know it is best practice to name files without spaces, but the users have been used to working with the underscores for a couple of years now. What is the best way to reference the attachment (containing spaces in the name) or revert to the previous file handling (less preferable).</p> Redmine - Defect #6324 (New): requires_redmine_plugin should defer loading plugins if not all dep...https://www.redmine.org/issues/63242010-09-07T20:01:07ZTim Felgentreff
<p>requires_redmine_plugin is a nice facility to track inter-plugin dependencies, however, it is useless if I do not want (or cannot) rename plugins I depend on.</p>
<p>I propose that plugins are deferred and loaded at a later time, if possible.<br />See attached patch for a proposed solution.</p> Redmine - Defect #6069 (New): No Outgoing Mails when Customer creates Ticket via Mailhttps://www.redmine.org/issues/60692010-08-06T20:52:21ZAlfons L.
<p>When a customer creates an Issue and the user is auto-generated (unknown_user=create) by the system, he will not get emails when issues are changed. Normal Users receive Mails with the changes of their own tickets.</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>