Redmine: Issueshttps://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292024-01-12T13:50:01ZRedmine
Redmine Redmine - Defect #40052 (Confirmed): Unpermitted parameters: :utf8, :_method, :authenticity_token...https://www.redmine.org/issues/400522024-01-12T13:50:01ZLiane Hampe
<p>There is a warning comming probably from CustomFieldEnumerationsController#update_each_params:</p>
<pre><code class="ruby syntaxhl"> <span class="no">Current</span> <span class="ss">user: </span><span class="n">admin</span> <span class="p">(</span><span class="nb">id</span><span class="o">=</span><span class="mi">1</span><span class="p">)</span>
<span class="no">CustomField</span> <span class="no">Load</span> <span class="p">(</span><span class="mf">0.1</span><span class="n">ms</span><span class="p">)</span> <span class="no">SELECT</span> <span class="s2">"custom_fields"</span><span class="p">.</span><span class="nf">*</span> <span class="no">FROM</span> <span class="s2">"custom_fields"</span> <span class="no">WHERE</span> <span class="s2">"custom_fields"</span><span class="o">.</span><span class="s2">"id"</span> <span class="o">=</span> <span class="p">?</span> <span class="no">LIMIT</span> <span class="p">?</span> <span class="p">[[</span><span class="s2">"id"</span><span class="p">,</span> <span class="mi">2</span><span class="p">],</span> <span class="p">[</span><span class="s2">"LIMIT"</span><span class="p">,</span> <span class="mi">1</span><span class="p">]]</span>
<span class="err">↳</span> <span class="n">app</span><span class="o">/</span><span class="n">controllers</span><span class="o">/</span><span class="n">custom_field_enumerations_controller</span><span class="p">.</span><span class="nf">rb</span><span class="p">:</span><span class="mi">66</span><span class="p">:</span><span class="k">in</span> <span class="sb">`find_custom_field'
Unpermitted parameters: :utf8, :_method, :authenticity_token, :commit, :custom_field_id # <--- WARNING!
TRANSACTION (0.1ms) begin transaction
↳ app/models/custom_field_enumeration.rb:57:in `</span><span class="n">block</span> <span class="p">(</span><span class="mi">2</span> <span class="n">levels</span><span class="p">)</span> <span class="k">in</span> <span class="n">update_each</span><span class="err">'</span>
</code></pre>
<p>Transmitted params are:<br /><pre><code class="ruby syntaxhl"><span class="no">Started</span> <span class="no">PUT</span> <span class="s2">"/custom_fields/2/enumerations"</span> <span class="k">for</span> <span class="mf">192.168</span><span class="o">.</span><span class="mf">3.25</span> <span class="n">at</span> <span class="mi">2024</span><span class="o">-</span><span class="mo">01</span><span class="o">-</span><span class="mi">12</span> <span class="mi">14</span><span class="p">:</span><span class="mi">36</span><span class="p">:</span><span class="mi">41</span> <span class="o">+</span><span class="mo">0100</span>
<span class="no">Processing</span> <span class="n">by</span> <span class="no">CustomFieldEnumerationsController</span><span class="c1">#update_each as HTML</span>
<span class="no">Parameters</span><span class="p">:</span> <span class="p">{</span><span class="s2">"utf8"</span><span class="o">=></span><span class="s2">"✓"</span><span class="p">,</span> <span class="s2">"authenticity_token"</span><span class="o">=></span><span class="s2">"RN//3j3QMblduDEe326nLo63fbre28/fL091OexG097Qb9Mn5dEsyYUZNhVnX//KBz7QR1sJQ9XT5eBsx2YCZw=="</span><span class="p">,</span> <span class="s2">"custom_field_enumerations"</span><span class="o">=></span><span class="p">{</span><span class="s2">"1"</span><span class="o">=></span><span class="p">{</span><span class="s2">"position"</span><span class="o">=></span><span class="s2">"0"</span><span class="p">,</span> <span class="s2">"name"</span><span class="o">=></span><span class="s2">"Wert 1"</span><span class="p">,</span> <span class="s2">"active"</span><span class="o">=></span><span class="s2">"1"</span><span class="p">},</span> <span class="s2">"2"</span><span class="o">=></span><span class="p">{</span><span class="s2">"position"</span><span class="o">=></span><span class="s2">"1"</span><span class="p">,</span> <span class="s2">"name"</span><span class="o">=></span><span class="s2">"Wert 2"</span><span class="p">,</span> <span class="s2">"active"</span><span class="o">=></span><span class="s2">"1"</span><span class="p">},</span> <span class="s2">"3"</span><span class="o">=></span><span class="p">{</span><span class="s2">"position"</span><span class="o">=></span><span class="s2">"2"</span><span class="p">,</span> <span class="s2">"name"</span><span class="o">=></span><span class="s2">"Wert 3"</span><span class="p">,</span> <span class="s2">"active"</span><span class="o">=></span><span class="s2">"1"</span><span class="p">}},</span> <span class="s2">"commit"</span><span class="o">=></span><span class="s2">"Speichern"</span><span class="p">,</span> <span class="s2">"custom_field_id"</span><span class="o">=></span><span class="s2">"2"</span><span class="p">}</span>
</code></pre></p>
<pre><code class="ruby syntaxhl"><span class="c1"># CustomFieldEnumerationsController#update_each_params</span>
<span class="k">def</span> <span class="nf">update_each_params</span>
<span class="c1"># params.require(:custom_field_enumerations).permit(:name, :active, :position) does not work here with param like this:</span>
<span class="c1"># "custom_field_enumerations":{"0":{"name": ...}, "1":{"name...}}</span>
<span class="n">params</span><span class="p">.</span><span class="nf">permit</span><span class="p">(</span><span class="ss">:custom_field_enumerations</span> <span class="o">=></span> <span class="p">[</span><span class="ss">:name</span><span class="p">,</span> <span class="ss">:active</span><span class="p">,</span> <span class="ss">:position</span><span class="p">]).</span><span class="nf">require</span><span class="p">(</span><span class="ss">:custom_field_enumerations</span><span class="p">)</span>
<span class="k">end</span>
</code></pre> Redmine - Defect #39758 (Confirmed): Some pages on https://www.redmine.org/plugins are returning ...https://www.redmine.org/issues/397582023-11-30T18:58:03ZLeonardo Colman
<p>When browsing through the [plugin list](<a class="external" href="https://www.redmine.org/plugins">https://www.redmine.org/plugins</a>) I noticed that some pages were throwing a 500 error, for example pages 9 and 10:</p>
<p><img src="https://www.redmine.org/attachments/download/31556/clipboard-202311301555-iberf.png" alt="" /><br /><img src="https://www.redmine.org/attachments/download/31557/clipboard-202311301555-2ueja.png" alt="" /></p>
<p>Here I am, contacting my Redmine admins :)</p>
<p>I've written a small bash script to check all the pages that are returning 500:</p>
<pre>
#!/bin/bash
# Base URL
base_url="https://www.redmine.org/plugins?page="
# Loop from 1 to 112
for i in {1..112}
do
# Construct the full URL
full_url="${base_url}${i}"
# Perform the HTTP request and capture the status code
status_code=$(curl -o /dev/null -s -w "%{http_code}\n" "$full_url")
# Check if the status code is 500
if [ "$status_code" -eq 500 ]; then
echo "Page $i returned a 500 status code."
fi
done
</pre>
<p>When ran from my computer, these pages are returning 500:</p>
<p>Page 9 returned a 500 status code.<br />Page 10 returned a 500 status code.<br />Page 21 returned a 500 status code.<br />Page 25 returned a 500 status code.<br />Page 35 returned a 500 status code.<br />Page 65 returned a 500 status code.<br />Page 67 returned a 500 status code.<br />Page 87 returned a 500 status code.<br />Page 90 returned a 500 status code.<br />Page 98 returned a 500 status code.<br />Page 105 returned a 500 status code.<br />Page 112 returned a 500 status code.</p> Redmine - Defect #39493 (Confirmed): Role with only :edit_own_issues no longer considered for wor...https://www.redmine.org/issues/394932023-10-31T10:38:08ZJan Graichen
<p>The change in <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Respect Role#consider_workflow? when checking for allowed status transitions (Closed)" href="https://www.redmine.org/issues/37635">#37635</a> rendered roles that only have the <code>:edit_own_issues</code> permissions no longer usable because these roles are not <code>consider_workflow?</code>.</p>
<p>A test in a Redmine plugin of mine tested some behavior that is using <code>Issue#new_statuses_allowed_to</code> with a minimal Role, only with <code>:edit_own_issues</code>, which failed with Redmine 5.1. This truly might be an edge-case, but I could imagine that there are real-world usages for Roles that can only edit their own issues but not add new one (e.g. customers with support expired support contracts).</p>
<p>On the other hand, one would not have been able to add workflows for such a Role in the UI in the first place? Unless the Role was created with <code>:add_issues</code> first, and only later dropped, which is kind of what <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Respect Role#consider_workflow? when checking for allowed status transitions (Closed)" href="https://www.redmine.org/issues/37635">#37635</a> wanted to fix.</p>
<p>Should <code>:edit_own_issues</code> be added to <code>consider_workflow?</code> or is that a case that shall not be supported at all?</p> Redmine - Defect #38966 (Confirmed): Attachments custom fields not removed when issue deletedhttps://www.redmine.org/issues/389662023-08-21T09:35:51Zsalman mp
<p>Hi<br />Attachments of an issue that are related to custom fields of type attachment, get not deleted after issue deletion.</p> Redmine - Defect #38915 (Confirmed): Duplicate spacer id in jsToolBarhttps://www.redmine.org/issues/389152023-08-05T06:30:42ZYasu Saku
<p>Currently, each spacer in the jsToolBar is assigned an ID.<br />However, when there are multiple wiki editing areas on a page, this causes issues due to the duplicated IDs.<br />Therefore, to address this problem, I have created a patch that replaces the ID with a class name as one of the proposed fixes.</p>
<pre><code class="diff syntaxhl"><span class="gd">--- a/public/javascripts/jstoolbar/jstoolbar.js
</span><span class="gi">+++ b/public/javascripts/jstoolbar/jstoolbar.js
</span><span class="p">@@ -155,15 +155,14 @@</span> jsButton.prototype.draw = function() {
return button;
}
-function jsSpace(id) {
<span class="gd">- this.id = id || null;
</span><span class="gi">+function jsSpace(className) {
+ this.className = className || null;
</span> this.width = null;
}
jsSpace.prototype.draw = function() {
var span = document.createElement('span');
<span class="gd">- if (this.id) span.id = this.id;
</span> span.appendChild(document.createTextNode(String.fromCharCode(160)));
<span class="gd">- span.className = 'jstSpacer';
</span><span class="gi">+ span.className = 'jstSpacer' + (this.className ? ' ' + this.className : '');
</span> if (this.width) span.style.marginRight = this.width+'px';
return span;
</code></pre> Redmine - Defect #38528 (Confirmed): Missing Cyrillic letters in exported PDFs in Safari and Mac ...https://www.redmine.org/issues/385282023-05-07T12:38:46ZIlya Cherevkov
<p>PDF files exported from Redmine are missing some Cyrillic letters when viewing in Safari or Mac Preview.</p>
<p>Viewing files in Firefox or Chrome working as expected.</p>
<p>Redmine 5.0.5<br />ruby 3.2.2<br />rbpdf 1.21.1</p>
<p>Fonts:<br />general_pdf_fontname: freesans<br />general_pdf_monospaced_fontname: freemono</p> Redmine - Defect #38055 (Confirmed): Inconsistent results for filtering issues containing custom ...https://www.redmine.org/issues/380552022-12-17T06:16:02ZKo Nagase
<a name="How-to-reproduce"></a>
<h2 >How to reproduce<a href="#How-to-reproduce" class="wiki-anchor">¶</a></h2>
<ol>
<li>Prepare a working environment<br /><pre>
$ RAILS_ENV=development bin/rails db:fixtures:load
</pre> </li>
<li>Start Redmine and display <a class="external" href="http://localhost:3000/issues">http://localhost:3000/issues</a> without login.</li>
<li>From filters, check off "Status" then add "Tracker" filter with operator "is" and value "Bug" and "Support request" (Because "Searchable field" custom field is only available in those trackers).<br />=>The result is 8 issues.</li>
<li>Select "Searchable field" from "Add filter", select operator "contains" and value 125.<br />=>The result is 2 issues.</li>
<li>Change the operator to "doesn't contain" and apply it.<br />=>The result is 1 issues.</li>
</ol>
<p>The total number of cases in No.4 and No.5 is 3 which does not match the total number of issues (6)</p>
<a name="Expected-behavior"></a>
<h2 >Expected behavior<a href="#Expected-behavior" class="wiki-anchor">¶</a></h2>
<p>The sum of the results of "contains" and "doesn't contain" matches the total number of issues.<br /> If the condition is "is" and "is not", the sum of the results matches the total number of issues.</p>
<a name="Possible-Causes"></a>
<h2 >Possible Causes<a href="#Possible-Causes" class="wiki-anchor">¶</a></h2>
<p>The filter ignore issues which the custom field "Searchable filter" is not present when the filter is "doesn't contain".</p>
<a name="Solution-patch"></a>
<h2 >Solution patch<a href="#Solution-patch" class="wiki-anchor">¶</a></h2>
<p>To make the behavior consistent with "is" and "is not", the "doesn't contain" result should include the number of issues that do not have the custom field.</p>
<p>We (<a class="user active" href="https://www.redmine.org/users/305899">Tomoko Shimizu</a>, <a class="user active" href="https://www.redmine.org/users/486714">Takashi Kato</a>, <a class="user active" href="https://www.redmine.org/users/259873">Mizuki ISHIKAWA</a> and <a class="user active" href="https://www.redmine.org/users/388654">Ko Nagase</a>) created the attachment patch file which solves this issue by modifying "not contains" operator SQL only when searching custom field values, so reviewing this is helpful.<br />Thanks,</p> Redmine - Defect #37771 (Resolved): receiving email issuehttps://www.redmine.org/issues/377712022-10-13T08:33:34Zrony f
<p>I have been using below scripts to run per sec for email receving to create new ticket after user sent email sinc 2018. but recently in Oct, the script jobs was failed with below:<br />-------------------<br />set SSL_CERT_FILE=C:\path\cacert.pem<br />set Path=C:\Bitnami-new\redmine-3.4.4-1\ruby\bin<br />cd C:\Bitnami-new\redmine-3.4.4-1\apps\redmine\htdocs<br />bundle exec rake redmine:email:receive_pop3 RAILS_ENV="production" host=smtp.office365.com username=<a class="email" href="mailto:support.it@hunterdouglas.asia">support.it@hunterdouglas.asia</a> password=xxxx ssl=1 project=hda tracker=all allow_override=all<br />exit<br />--------------------------------<br />the current error as below:<br />-------------------------------------------<br />C:\Bitnami\redmine>redmine-hda-live.bat</p>
<p>C:\Bitnami\redmine>set SSL_CERT_FILE=C:\path\cacert.pem</p>
<p>C:\Bitnami\redmine>set Path=C:\Bitnami-new\redmine-3.4.4-1\ruby\bin</p>
<p>C:\Bitnami\redmine>cd C:\Bitnami-new\redmine-3.4.4-1\apps\redmine\htdocs</p>
<p>C:\Bitnami-new\redmine-3.4.4-1\apps\redmine\htdocs>bundle exec rake redmine:emai<br />l:receive_pop3 RAILS_ENV="production" host=smtp.office365.com username=support.i<br /><a class="email" href="mailto:t@hunterdouglas.asia">t@hunterdouglas.asia</a> password=xxx ssl=1 project=hda tracker=all allow_over<br />ride=all<br />rake aborted!<br />Net::POPAuthenticationError: <del>ERR Logon failure: unknown user name or bad passwo<br />rd.<br />C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/lib/redmine/pop3.rb:43:in `ch<br />eck'<br />C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/lib/tasks/email.rake:148:in `<br />block (4 levels) in <top (required)>'<br />C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/app/models/mailer.rb:433:in `<br />with_synched_deliveries'<br />C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/lib/tasks/email.rake:147:in `<br />block (3 levels) in <top (required)>'<br />C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems<br />/rake-12.3.0/exe/rake:27:in `<top (required)>'<br />Tasks: TOP => redmine:email:receive_pop3<br />(See full trace by running task with --trace)<br />------------------------------------------</del><br />checking from mine:<br />1. The password for the email is correct and never changed. i can' login the mailbox with the current credentials.<br />2. tried to change host to outlook.office365.com .but didn't work. with error below:<br />-------------------------------------------------------<br />C:\Bitnami-new\redmine-3.4.4-1\apps\redmine\htdocs>bundle exec rake redmine:emai<br />l:receive_imap RAILS_ENV="production" host=outlook.office365.com username=suppor<br /><a class="email" href="mailto:t.it@hunterdouglas.asia">t.it@hunterdouglas.asia</a> password=HDasia!@# ssl=1 project=hda tracker=all allow_o<br />verride=all<br />rake aborted!<br />OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv2/v3 read serve<br />r hello A: unknown protocol<br />C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/lib/redmine/imap.rb:30:in `ne<br />w'<br />C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/lib/redmine/imap.rb:30:in `ch<br />eck'<br />C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/lib/tasks/email.rake:117:in `<br />block (4 levels) in <top (required)>'<br />C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/app/models/mailer.rb:433:in `<br />with_synched_deliveries'<br />C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/lib/tasks/email.rake:116:in `<br />block (3 levels) in <top (required)>'<br />C:/Bitnami-new/redmine-3.4.4-1/apps/redmine/htdocs/vendor/bundle/ruby/2.3.0/gems<br />/rake-12.3.0/exe/rake:27:in `<top (required)>'<br />Tasks: TOP => redmine:email:receive_imap<br />(See full trace by running task with --trace)<br />------------------------------------------------</p>
<p>I am using office365 global version.<br />Did anyone encounter the same issue and share the solution to us ?<br />Can community help to fix?<br />Appreciate.</p> Redmine - Defect #37735 (Confirmed): Cannot copy project if you have a file format custom fieldhttps://www.redmine.org/issues/377352022-10-03T07:21:12Znaoki takaesu
<p>Steps to reproduce</p>
<ol>
<li>login as admin</li>
<li>Create a project custom field
<ol>
<li>Format -> <code>File</code></li>
<li>Name -> <code>foo</code></li>
</ol>
</li>
<li>Projects -> Administration -> (choose project) -> Copy</li>
<li>push "Copy" button</li>
</ol>
<p>It is displayed as follows and cannot be copied<br /><pre>
foo is invalid.
</pre></p> Redmine - Defect #37659 (Resolved): Cannot access mercurial repositorieshttps://www.redmine.org/issues/376592022-09-09T14:34:20ZNorbert Koch
I have a running but old redmine configuration using sqlite3 as database:
<ul>
<li>FreeBSD9.1, Redmine 2.8.9, Ruby 2.1.8, Rails 3.2.22.1, thin 1.6.4, Mercurial 3.7.2, Sqlite 3.10.2</li>
</ul>
I migrated to a different system:
<ul>
<li>FreeBSD13.1, Redmine 5.0.2, Ruby 3.0.4, Rails 6.1.6, thin 1.8.1, Mercurial 6.1.4, Sqlite 3.39.2</li>
</ul>
<p>After copying attachments and the database file and running <code>db:migrate</code> without errors all looks good,<br />with one exception:<br />I cannot access any existing or cloned Mercurial repository in either an existing or a new project.</p>
<p>Redmine always responds with <em>'The entry or revision was not found in the repository'</em>.</p> Redmine - Defect #37102 (Confirmed): Cannot 'move' ticket from one parent to another when the Par...https://www.redmine.org/issues/371022022-05-10T10:07:02ZWill M
<p>As the title says, I have a subtask ticket under Parent 1. <br />When I try to change it to Parent 2, I get an error "Parent task is invalid."</p>
<p>If I first clear the Parent field and save, then I can set the Parent field to Parent ticket 2.</p>
<p>Yes, it certainly sounds like <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Can't set parent issue when issue relations among child issues are present (Closed)" href="https://www.redmine.org/issues/13654">#13654</a>, but I am are far past v3.3<br />I have: Redmine version: 4.1.1.stable</p>
<p>If Parent 1 and 2 are simply related, all is fine. It seems to be an issue with the Precedes and Follows relationship. <br />All three tickets are the same Project. <br />The Precedes and Follows relationship has no 'days' added, and none of the tickets have start or end dates.</p>
<p>Has someone else run in to such trouble? Maybe you have an idea?</p> Redmine - Defect #37063 (Confirmed): Code highlight adds trailing space after quoteshttps://www.redmine.org/issues/370632022-05-01T11:35:15ZVitaly vit9696
<p>The following code:</p>
<pre>
<pre><code class="shell">
test1="123"
test2="456"
</code></pre><br /></pre>
<p>Generates the following HTML code:</p>
<pre>
<pre><code class="shell syntaxhl" data-language="shell"><span class="nv">test1</span><span class="o">=</span><span class="s2">"123"</span>
<span class="nv">test2</span><span class="o">=</span><span class="s2">"456"</span>
</code></pre><br /></pre>
<p>After both s2 spans at the end of the line an empty space character is generated, which is copyable from Safari 15.4. This bug is even reproducible here.</p> Redmine - Defect #37000 (Confirmed): Repositories are not displaying properly at 125% in Safari 15.4https://www.redmine.org/issues/370002022-04-21T10:15:14ZVitaly vit9696
<p>1. Set redmine website to display at 125% Zoom in Safari Preferences (see the screenshot).<br />2. Observe the repository view not fully covering the area, showing empty space, and having a horizontal scroll bar (see the screenshot).</p> Redmine - Defect #36897 (Confirmed): Wrong formatting of date in Time Entrieshttps://www.redmine.org/issues/368972022-04-05T14:04:48ZDenis Yurashku
<p>Date is formatted wrong at "<PROJECT> – Time entries" ("7:60" instead of "8:00", for example). See screenshot.</p>
<p>This patch fixes it.</p> Redmine - Defect #36245 (Resolved): ActiveSupport::Reloader.to_prepare not working in trunk 21287https://www.redmine.org/issues/362452021-11-25T08:00:50ZAlexander Meindl
<p>With <a class="changeset" title="Extract Redmine::PluginLoader from Redmine::Plugin (#32938). Patch by Takashi Kato." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/21283">r21283</a> in trunk ActiveSupport::Reloader.to_prepare and Rails.configuration.to_prepare is not fired anymore.</p>
<p>ActiveSupport::Reloader.to_prepare is required for plugins (as an example), if some code should loaded after all plugins (other plugins) are loaded.</p>
<p>Maybe there is another possibility with Rails 6 or Zeitwerk for doing this, but imho ActiveSupport::Reloader.to_prepare should work within plugins, too. See <a class="external" href="https://guides.rubyonrails.org/autoloading_and_reloading_constants.html#autoloading-when-the-application-boots">https://guides.rubyonrails.org/autoloading_and_reloading_constants.html#autoloading-when-the-application-boots</a></p> Redmine - Defect #35927 (Confirmed): Slow loading of /time_entries/newhttps://www.redmine.org/issues/359272021-09-28T11:05:25ZMark J
<p>Opening /time_entries/new takes 10s, when we have 1000 users with 2 different groups that one has ~10 users and other has all other users.</p>
<p>I have looked into code and it seems I have found the issue, attaching additional info via screens. Basically if project has a lot of users `assignable_users` enumerates each users permissions by one, creating 2*X (X=number users) sql queries.</p>
<p>I'm hosting redmine with help of docker official image.<br />Environment:<br /> Redmine version 4.2.1.stable<br /> Ruby version 2.7.4-p191 (2021-07-07) [x86_64-linux]<br /> Rails version 5.2.5<br /> Environment debug<br /> Database adapter SQLServer<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />SCM:<br /> Subversion 1.10.4<br /> Mercurial 4.8.2<br /> Bazaar 2.8.0<br /> Git 2.20.1<br /> Filesystem<br />Redmine plugins:<br /> no plugin installed</p> Redmine - Defect #35726 (Confirmed): Time Formatting does not apply to CSV exportshttps://www.redmine.org/issues/357262021-08-09T16:25:41Zsalman mp
<p>When you export time report to CSV, formatting does not apply on hours field.<br />Attached patch can fixed it.</p> Redmine - Defect #35557 (Confirmed): Fix position when rendering custom field enumerationshttps://www.redmine.org/issues/355572021-07-12T10:42:37ZLiane Hampe
<p>The position of each custom field enumeration is integrated as hidden<br />field in the corresponding index.html.erb file.</p>
<p>When iterating over all enumerations for a certain field, the iteration<br />is done with an index information of the array, what contains all enumerations.</p>
<p>This index information again is used as the value for the position.</p>
<p>This is wrong, since the (array) index starts counting from zero whereas the position<br />numbers start counting from 1.</p>
<p>This is fixed now by increasing the position by 1 as stated below.</p>
<pre>
diff --git a/app/views/custom_field_enumerations/index.html.erb b/app/views/custom_field_enumerations/index.html.erb
index 83e9d59c9..45398728f 100755
--- a/app/views/custom_field_enumerations/index.html.erb
+++ b/app/views/custom_field_enumerations/index.html.erb
@@ -7,7 +7,7 @@
<% @custom_field.enumerations.each_with_index do |value, position| %>
<li>
<span class="icon-only icon-sort-handle sort-handle"></span>
- <%= hidden_field_tag "custom_field_enumerations[#{value.id}][position]", position, :class => 'position' %>
+ <%= hidden_field_tag "custom_field_enumerations[#{value.id}][position]", position + 1, :class => 'position' %>
<%= text_field_tag "custom_field_enumerations[#{value.id}][name]", value.name, :size => 40 %>
<%= hidden_field_tag "custom_field_enumerations[#{value.id}][active]", 0 %>
<label>
</pre> Redmine - Defect #35431 (Resolved): send notifications to user selected from costum field (user t...https://www.redmine.org/issues/354312021-06-22T07:43:36ZMohamed Attya
<p>Hello all<br />i need an immediate help please, i have an issue that i need to send the issue to more than one assignee and i cant add them in groups because the combination is changable, i add new costum field with type (user) but the selected user(s) from this menu doesnt receive any notifications and doesnt have permission to access this issue.<br />i tried a plugin with name (custom_users_as_assignees) but after i install the plugin my redmine fails and i have to remove the plugin from the directory to work.<br />please help me fixing this problem as i need it immediatly</p> Redmine - Defect #35424 (Reopened): https://www.redmine.org/boards/2/topics/65661https://www.redmine.org/issues/354242021-06-17T16:37:16ZJan Catrysse
<p><strong>Problem:</strong><br />PNG export of GANTT chart throws an error: You must have ImageMagick or GraphicsMagick installed.</p>
<p><img src="https://www.redmine.org/attachments/download/27594/error.jpg" title="Error message" alt="Error message" /></p>
<p><strong>Environment:</strong><br /><pre>
Redmine version 4.2.1.stable
Ruby version 2.7.3-p183 (2021-04-05) [amd64-freebsd12]
Rails version 5.2.6
Environment development
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery sendmail
</pre></p>
<p><strong>Redmine checks:</strong><br /><pre>
Default administrator account changed: ok
Attachments directory writable: ok
Plugin assets directory writable (./public/plugin_assets): ok
MiniMagick available (optional): ok
ImageMagick convert available (optional): ok
ImageMagick PDF support available (optional): ok
</pre></p>
<p><strong>OS:</strong><br /><pre>
FreeBSD 13.0 in AMD64
</pre></p>
<p><strong>Libraries:</strong><br /><pre>
ImageMagick7-7.0.11.12: installed
rubygem-mini_magick-4.10.1: installed
</pre></p>
<p><strong>Configuration.yml:</strong> <em>(relevant part / leading whitespace = two spaces)</em><br /><pre>
default:
rmagick_font_path: /usr/local/share/fonts/dejavu/DejaVuSans.ttf
imagemagick_convert_command: /usr/local/bin/convert
</pre></p>
<p><strong>Description:</strong><br />I cannot seem to use MiniMagick to export the PNG, but I have Image Magick installed, and the convert executable is working on command line.<br />I tried this patch <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Gantt PNG export ignores imagemagick_convert_command (Closed)" href="https://www.redmine.org/issues/35027">#35027</a> but without change.</p>
<p>Somehow I think that MiniMagick::Tool::Convert is not using or finding the correct path to /usr/local/bin/convert.</p>
<p>I made a link to /usr/bin/convert: no success.<br />I tried running convert as user www: works fine on command line.</p>
<p>Help would be appreciated.<br />Best regards,<br />Jan</p> Redmine - Defect #35355 (Resolved): Unable to create or edit users with Cyrillic loginshttps://www.redmine.org/issues/353552021-06-04T11:20:49ZRoman K
<p>Used version: 4.2.1.stable (Bitnami Redmine Stack)<br />Tested on fresh new install.<br />Tested on upgraded from 4.0.3 install.</p>
<p>I'm unable to create new or modify existing users with Cyrillic login. Error is: “Login is invalid”.</p>
<p>Existing user accounts works fine. Also, I can create user manually via direct DB queries without any problems.</p>
<p>There was no such problem on 4.0.3.</p>
<p>Already reported on Bitmani Forums, but this error occurs even on fresh new install, so I'm also report it here.</p> Redmine - Defect #35248 (Confirmed): Hard-coded error messages in IssueStatushttps://www.redmine.org/issues/352482021-05-16T03:05:44ZKam Nazir
<p>Untranslated hard-coded string exists in <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/20897/entry/trunk/app/models/issue_status.rb#L113">source:trunk/app/models/issue_status.rb@20897#L113</a><br /><pre>
def check_integrity
if Issue.where(:status_id => id).any?
raise "This status is used by some issues"
elsif Tracker.where(:default_status_id => id).any?
raise "This status is used as the default status by some trackers"
end
end
</pre></p> Redmine - Defect #35225 (Resolved): Edit issue shows date in MM/DD/YYYY while the rest of the app...https://www.redmine.org/issues/352252021-05-11T06:39:45ZSergio Serrano
<p>Dear redmine community</p>
<p>Issue list DD-MM-YYYY</p>
<p>Issue detail DD-MM-YYYY</p>
<p>Issue edit MM-DD-YYYY</p>
<p>Issue list and Issue details follows redmine date configuration but issue edit always use the MM-DD-YYYY format.</p>
<p>Please, any advice what I'm doing wrong?</p> Redmine - Defect #35141 (Confirmed): Irrelevant groups in "Add watchers" listhttps://www.redmine.org/issues/351412021-04-21T14:01:30ZYuriy Millen
<p>Redmine 4.2 introduced an ability to add groups to watchers list.</p>
<p>The logic prior was that in the "Add watchers" list appeared only users, who have access to a particular tracker. However, this logic is ignored for groups - it is possible to add any group regardless of a whether this group was access to the tracker or not.</p> Redmine - Defect #35062 (Confirmed): Back URLs with <t+ operator breakhttps://www.redmine.org/issues/350622021-04-09T14:36:09ZFelix Schäfer
<p>This is a problem we noticed but haven't been able to correct yet. Maybe someone else will find a good solution for this.</p>
<p>Steps to reproduce:<br />- Navigate to the issue list in a project<br />- Add the filter "Due date" "in less than" "30 days" and apply, this should put the Issue Query in the parameters of the URL of the browser<br />- Navigate to "Log time" in the + menu<br />- Enter some data and click "Create" or click "Cancel"</p>
<p>This results in a <code>RuntimeError in IssuesController#index Unknown query operator <t</code></p>
<p>At some point the <code><t+</code> from the Referer URL doesn't get re-encoded properly and the <code>+</code> becomes a space in the URL. This confuses the Query model.</p> Redmine - Defect #34922 (Confirmed): Reload whole time entries form on project changehttps://www.redmine.org/issues/349222021-03-18T09:42:50ZFelix Schäfer
<p>Currently parts of the time entries form is reloaded when changing the project/project id, see <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/20821/entry/trunk/app/views/timelog/_form.html.erb#L41">source:/trunk/app/views/timelog/_form.html.erb@20821#L41</a></p>
<p>This however does not change and restore custom fields for example for time entries.</p>
<p>We think this should be changed to reload the whole time entries form similar to what is done for issue forms, see <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/20821/entry/trunk/app/views/issues/_form.html.erb#L15">source:/trunk/app/views/issues/_form.html.erb@20821#L15</a></p>
<p>Do you think this would be a good addition to Redmine or should this be done another way?</p> Redmine - Defect #34831 (Resolved): Unnecessary encoded CR characters in mailshttps://www.redmine.org/issues/348312021-03-03T15:44:24ZAlbrecht Dreß
<p>I noticed that Redmine adds unnecessary CR (0x0d) characters to mail texts which may confuse some MUA's, e.g. (note the qp encoded “<code>=0D</code>”, not to be confused with the regular CRLF line endings required by RFC 5322, indicated by “<code>\r</code>”):</p>
<pre>
----==_mimepart_603f956964fe8_7c03fdcbf1d3464612fe\r
Content-Type: text/plain;\r
charset=UTF-8\r
Content-Transfer-Encoding: quoted-printable\r
\r
Ticket #3814 wurde erstellt von Albrecht Dre=C3=9F.=0D\r
=0D\r
----------------------------------------=0D\r
Feature #3814: Diskussion=0D\r
https://web.my.org/redmine/issues/3814=0D\r
=0D\r
* Autor: Albrecht Dre=C3=9F=0D\r</pre>
<p>Is it possible to get rid of them? Where should I look in the sources? I run Redmine 4.0.7 on a Debian Buster system, installed from Debian Backports.</p> Redmine - Defect #34810 (Reopened): SQL Error with UTF8 character greater or equalshttps://www.redmine.org/issues/348102021-02-26T17:56:40ZFlorent H.
<p>I am currently getting a fatal error using this character (greater or equals) editing a wiki page</p>
<p>≥</p>
<p><a class="external" href="https://fr.wiktionary.org/wiki/%E2%89%A5">https://fr.wiktionary.org/wiki/%E2%89%A5</a></p>
<p>Error<br /><pre>
app/models/wiki_page.rb:249:in `block in save_with_content'
app/models/wiki_page.rb:245:in `save_with_content'
app/controllers/wiki_controller.rb:180:in `update'
lib/redmine/sudo_mode.rb:65:in `sudo_mode'
Started PUT "/projects/site-web/wiki/Breakpoints" for 92.167.55.166 at 2021-02-26 17:46:08 +0000
Processing by WikiController#update as HTML
Parameters: {"utf8"=>"<E2><9C><93>", "authenticity_token"=>"XXX", "content"=>{"version"=>"1", "text"=>"h1. Breakpoints\r\n\r\nNous utilisons bootstrap 5 avec ses breakpoints officiels\r\n\r\nhttps://getbootstrap.com/docs/5.0/layout/breakpoints/\r\n\r\n|_.Breakpoint|_.Class infix|_.Dimensions|_.Appareil|\r\n|X-Small|None|<576px|Mobile|\r\n|Small|sm|<E2><89><A5>576px|Mobile|\r\n|Medium|md|<E2><89><A5>768px|Mobile|\r\n|Large|lg|<E2><89><A5>992px|Ordinateur|\r\n|Extra large|xl|<E2><89><A5>1200px|Ordinateur|\r\n|Extra extra large|xxl|<E2><89><A5>1400px|Ordinateur|\r\n", "comments"=>""}, "wiki_page"=>{"parent_id"=>"25"}, "commit"=>"Sauvegarder", "project_id"=>"site-web", "id"=>"Breakpoints"}
Current user: Me (id=1)
Completed 500 Internal Server Error in 257ms (ActiveRecord: 249.6ms)
ActiveRecord::StatementInvalid (Mysql2::Error: Incorrect string value: '\xE2\x89\xA5576...' for column `redmine`.`wiki_contents`.`text` at row 1: INSERT INTO `wiki_contents` (`page_id`, `author_id`, `text`, `updated_on`, `version`) VALUES (27, 1, 'h1. Breakpoints\r\n\r\nNous utilisons bootstrap 5 avec ses breakpoints officiels\r\n\r\nhttps://getbootstrap.com/docs/5.0/layout/breakpoints/\r\n\r\n|_.Breakpoint|_.Class infix|_.Dimensions|_.Appareil|\r\n|X-Small|None|<576px|Mobile|\r\n|Small|sm|<E2><89><A5>576px|Mobile|\r\n|Medium|md|<E2><89><A5>768px|Mobile|\r\n|Large|lg|<E2><89><A5>992px|Ordinateur|\r\n|Extra large|xl|<E2><89><A5>1200px|Ordinateur|\r\n|Extra extra large|xxl|<E2><89><A5>1400px|Ordinateur|\r\n', '2021-02-26 17:46:08', 1)):
</pre></p>
<p>Here is my redmine's environment<br /><pre>
Environment:
Redmine version 4.1.1.stable
Ruby version 2.6.3-p62 (2019-04-16) [x86_64-linux]
Rails version 5.2.4.2
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Git 2.25.1
Filesystem
Redmine plugins:
no plugin installed
</pre></p> Redmine - Defect #34778 (Confirmed): Inconsistencies working with workflow permissionshttps://www.redmine.org/issues/347782021-02-20T18:59:17ZFrederico Camara
<p>Found two problems working with setting workflow permissions to read_only:</p>
<p>On Admin > Workflows > Permissions:<br /> when you set tracker_id to "read_only" for the first tracker/status, on a project that has this tracker as the first tracker, you can't chose another tracker when creating a new issue,<br /> when you set subject to "read-only" for the first tracker/status, you can't create a new issue with this tracker, as it it required and has no default.</p>
<p>Editing an issue<br /> after you change from a status that have tracker_id set to "read-only", to another status that doesn't<br /> before you save<br /> when you try to change the tracker to another tracker<br /> the page refreshes and doesn't change the tracker_id</p>
<p>Patches attached:</p> Redmine - Defect #34473 (Confirmed): Displaying the table of content on the right causes wrong po...https://www.redmine.org/issues/344732020-12-18T10:42:27ZCésar DJ Caësar 9114
<p>Hi everyone,<br />I installed the latest version of Redmine and I started to try the wiki.<br />I wrote a simple page with titles ans subtitles, and at the very beginning of the page I put:</p>
<pre>
{{>toc}}
</pre>
<p>to get the table of content on the top right corner.</p>
<p>Actually as you can see the result is quite disturbing because I would have expected to get the TOC under "Modifier Surveiller".</p>
<p>I think it may be a UI bug.</p> Redmine - Defect #34143 (Confirmed): Autolinks are incorrectly escapedhttps://www.redmine.org/issues/341432020-10-20T09:57:33ZPavel Rosický
<p>steps to reproduce<br />1/ set wiki formatting to "None" <br />2/ add a journal that contains a link with &</p>
<p>references<br /><a class="external" href="https://github.com/redmine/redmine/blob/master/lib/redmine/wiki_formatting.rb#L153">https://github.com/redmine/redmine/blob/master/lib/redmine/wiki_formatting.rb#L153</a><br /><a class="external" href="https://github.com/redmine/redmine/blob/master/lib/redmine/wiki_formatting.rb#L212">https://github.com/redmine/redmine/blob/master/lib/redmine/wiki_formatting.rb#L212</a></p>
<p>this issue doesn't affect textile or markdown formatting</p> Redmine - Defect #33978 (Confirmed): Redmine.pm shall decrypt LDAP bind passwordhttps://www.redmine.org/issues/339782020-09-10T23:51:46ZAnonymousRedmine - Defect #33912 (Confirmed): Sorting of multiple columns including Date column does not workhttps://www.redmine.org/issues/339122020-08-27T05:23:10ZYuichi HARADA
<p>When specifying the sorting condition of multiple columns including Date column in the custom query, sorting of columns after Date column does not work.</p>
<ul>
<li>Defining a custom query<br /><img src="https://www.redmine.org/attachments/download/25886/customquery.png" style="width:400px;border:1px solid #ccc;" alt="" /></li>
</ul>
<ul>
<li>List of spent time with custom query<br /><img src="https://www.redmine.org/attachments/download/25887/spenttime-with-customquery.png" style="width:400px;border:1px solid #ccc;" alt="" /></li>
</ul> Redmine - Defect #33845 (Confirmed): Wrong character encoding in git diffs with UTF-8 Cyrillic le...https://www.redmine.org/issues/338452020-08-12T13:01:39ZIvan Cenov
<p>Hello,</p>
<p>I use git repositories. The access to them is via Apache server running on Windows 10 machine. Several files contain Cyrillic texts in comments. These files are in UTF-8 encoding. Redmine shows these files well - the Cyrillic texts are readable. Example:<br /><pre>
puts "\nОбработени #{options[:passedfiles]} файла"
puts "Пропуснати #{options[:omittedfiles]} файла"
</pre></p>
<p>However, these Cyrillic texts are not displayed well in revision diffs. Example:<br /><pre>
puts "\nОбработени #{options[:passedfiles]} файла"
puts "Пропуснати #{options[:omittedfiles]} файла"
</pre></p>
<p>Environment:<br /><pre>
Environment:
Redmine version 4.1.1.stable
Ruby version 2.6.5-p114 (2019-10-01) [x64-mingw32]
Rails version 5.2.4.2
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.8.19
Git 2.25.1
Filesystem
Redmine plugins:
issue_recurring 1.6
redmine_code_review 1.0.0
redmine_issue_templates 1.0.4
redmine_latex_mathjax 0.4.0
redmine_theme_changer 0.4.0
</pre></p> Redmine - Defect #33829 (Reopened): Fix Atom feed for issues to correctly use the updated time fo...https://www.redmine.org/issues/338292020-08-08T07:38:16ZTatsuya Saitotwopackas@gmail.com
<p>There are <b>updated</b> tags in the Atom of issues list.<br />However, the <b>created on</b> is exported.</p>
<p>I have attached a patch to fix this.</p> Redmine - Defect #33673 (Confirmed): Calendar View / The right side of the tooltip is cut offhttps://www.redmine.org/issues/336732020-06-26T14:15:01ZAkiko Takano
<a name="Summary"></a>
<h2 >Summary<a href="#Summary" class="wiki-anchor">¶</a></h2>
<p>The right side of the tooltip is cut off at the Calendar View.</p>
<a name="Description"></a>
<h2 >Description<a href="#Description" class="wiki-anchor">¶</a></h2>
<p>In normal mode, the right side of the issue's tooltip is clipped.<br />The contents of the tooltip are hidden under the sidebar.</p>
<p>In responsive mode, not only the right side of the issue but also the issues on Friday are the same.</p>
<a name="Environment"></a>
<h2 >Environment<a href="#Environment" class="wiki-anchor">¶</a></h2>
<pre>
Environment:
Redmine version 4.1.1.stable.19819
Ruby version 2.5.3-p105 (2018-10-18) [x86_64-darwin18]
Rails version 5.2.4.2
Environment development
Database adapter SQLite
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
</pre>
<p>The trunk is the same situation.</p>
<a name="Visual-Proof-Screenshot"></a>
<h2 >Visual Proof / Screenshot<a href="#Visual-Proof-Screenshot" class="wiki-anchor">¶</a></h2>
<p><img src="https://www.redmine.org/attachments/download/25620/sample-capture.png" alt="" /></p>
<a name="Expected-Results"></a>
<h2 >Expected Results<a href="#Expected-Results" class="wiki-anchor">¶</a></h2>
<p>The tooltip is displayed without cutting off.</p>
<a name="Actual-Results"></a>
<h2 >Actual Results<a href="#Actual-Results" class="wiki-anchor">¶</a></h2>
<p>Cut off because of the content's overflow.</p>
<a name="Workaround"></a>
<h2 >Workaround<a href="#Workaround" class="wiki-anchor">¶</a></h2>
<p>Modify the application.css and responsive.css</p>
<a name="applicationcss"></a>
<h3 >application.css<a href="#applicationcss" class="wiki-anchor">¶</a></h3>
<pre>
Index: public/stylesheets/application.css
===================================================================
--- public/stylesheets/application.css (revision 19834)
+++ public/stylesheets/application.css (working copy)
@@ -109,6 +109,7 @@
#content { flex-grow: 1; background-color: #fff; margin: 0px; padding: 6px 10px 10px 10px; overflow-x: auto;}
html>body #content { min-height: 600px; }
* html body #content { height: 600px; } /* IE */
+html>body.controller-calendars.action-show #content { overflow-x: visible; }
#main.nosidebar #sidebar{ display: none; }
</pre>
<p>I'm not sure if the changing of <strong>overflow-x</strong> has some unexpected effects, so I specify more specific conditions.<br />(Calendar view only)</p>
<a name="responsivecss"></a>
<h3 >responsive.css<a href="#responsivecss" class="wiki-anchor">¶</a></h3>
<pre>
Index: public/stylesheets/responsive.css
===================================================================
--- public/stylesheets/responsive.css (revision 19834)
+++ public/stylesheets/responsive.css (working copy)
@@ -847,6 +847,9 @@
margin-left: 0;
width: 100%;
}
+
+ /* calendar tooltip */
+ table.cal td:not(.week-number):nth-child(n+5) span.tip { right: 10px; }
}
@media all and (max-width: 599px) {
</pre>
<a name="Result"></a>
<h3 >Result<a href="#Result" class="wiki-anchor">¶</a></h3>
<p><img src="https://www.redmine.org/attachments/download/25619/after-normal-mode.png" alt="" /></p>
<p><img src="https://www.redmine.org/attachments/download/25618/after-responsive-mode.png" alt="" /></p> Redmine - Defect #33432 (Confirmed): Rendering of Macros with (empty) text parameter different in...https://www.redmine.org/issues/334322020-05-11T11:57:28ZHolger Mößinger
<p>Macros with empty text parameter are rendered differently in preview mode vs. non preview mode.</p>
<p>The preview mode seems to parse the the closing double curly brackets as text parameter and does not stop until the next macros double curly brackets, while the non preview mode parses an empty text parameter.</p>
<p>The sample code below shows demonstrates this with the collapse macro, but it happens for any macro which allows a text parameter and the two attached images.</p>
<p>This might be an issue with a greedy regular expression.</p>
<pre>
Test code for the bug in Redmine 4.x
{{collapse(Collapse 1)}}
Above is a empty collapse macro which renders correctly in preview and in wiki view.
{{collapse(Collapse 2)
}}
Above is a empty collapse macro which renders correctly in wiki view but this text (and the following macro up to its closing curly brackets) will not be visible in preview mode.
{{collapse(Collapse 3)
This is a block of text that is collapsed by default.
It can be expanded by clicking a link.
}}
Above is a non empty collapse macro which renders correctly in preview and in wiki view.
</pre>
<p>Test code for the bug in Redmine 4.x</p>
<p><a href="#" onclick="$('#collapse-815e55e2-show, #collapse-815e55e2-hide').toggle(); $('#collapse-815e55e2').fadeToggle(150);; return false;" id="collapse-815e55e2-show" class="icon icon-collapsed collapsible">Collapse 1</a><a href="#" onclick="$('#collapse-815e55e2-show, #collapse-815e55e2-hide').toggle(); $('#collapse-815e55e2').fadeToggle(150);; return false;" id="collapse-815e55e2-hide" class="icon icon-expended collapsible" style="display:none;">Collapse 1</a><div id="collapse-815e55e2" class="collapsed-text" style="display:none;"></div></p>
<p>Above is a empty collapse macro which renders correctly in preview and in wiki view.</p>
<p><a href="#" onclick="$('#collapse-d79a751f-show, #collapse-d79a751f-hide').toggle(); $('#collapse-d79a751f').fadeToggle(150);; return false;" id="collapse-d79a751f-show" class="icon icon-collapsed collapsible">Collapse 2</a><a href="#" onclick="$('#collapse-d79a751f-show, #collapse-d79a751f-hide').toggle(); $('#collapse-d79a751f').fadeToggle(150);; return false;" id="collapse-d79a751f-hide" class="icon icon-expended collapsible" style="display:none;">Collapse 2</a><div id="collapse-d79a751f" class="collapsed-text" style="display:none;"></div></p>
<p>Above is a empty collapse macro which renders correctly in wiki view but this text (and the following macro up to its closing curly brackets) will not be visible in preview mode.</p>
<p><a href="#" onclick="$('#collapse-85895b88-show, #collapse-85895b88-hide').toggle(); $('#collapse-85895b88').fadeToggle(150);; return false;" id="collapse-85895b88-show" class="icon icon-collapsed collapsible">Collapse 3</a><a href="#" onclick="$('#collapse-85895b88-show, #collapse-85895b88-hide').toggle(); $('#collapse-85895b88').fadeToggle(150);; return false;" id="collapse-85895b88-hide" class="icon icon-expended collapsible" style="display:none;">Collapse 3</a><div id="collapse-85895b88" class="collapsed-text" style="display:none;"><p>This is a block of text that is collapsed by default.<br />It can be expanded by clicking a link.</p></div></p>
<p>Above is a non empty collapse macro witch renders correctly in preview and in wiki view.</p>
<p><img src="https://www.redmine.org/attachments/download/25400/Redmine%204.x%20preview%20render.PNG" alt="" /><br /><img src="https://www.redmine.org/attachments/download/25401/Redmine%204.x%20wiki%20render.PNG" alt="" /></p>
<p><strong>Environment:</strong><br /> Redmine version 4.1.1.stable<br /> Ruby version 2.6.6-p146 (2020-03-31) [x86_64-linux]<br /> Rails version 5.2.4.2<br /> Environment production<br /> Database adapter PostgreSQL<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />SCM:<br /> Subversion 1.10.4<br /> Git 2.20.1<br /> Filesystem <br /> Xitolite 2.20.1<br />Redmine plugins:<br /> additionals 2.0.24-master<br /> redmine_advancedimage 0.0.4<br /> redmine_agile 1.5.3<br /> redmine_checklists 3.1.16<br /> redmine_filelinks 0.0.0<br /> redmine_git_hosting 4.0.2<br /> redmine_latex_mathjax 0.4.0<br /> redmine_lightbox2 0.5.1<br /> redmine_local_avatars 1.0.0<br /> redmine_mentions 1.0.0<br /> redmine_postgresql_search 1.0.6<br /> redmine_recurring_tasks 0.3.4<br /> redmine_reporting 2.0.6<br /> redmine_wiki_lists 0.0.9<br /> redmine_wikiapproval 0.0.0<br /> redmine_wikiforms 0.0.0<br /> redmineup_tags 2.0.8<br /> sidebar_hide 0.0.8-fix</p> Redmine - Defect #33382 (Confirmed): Support importing of already closed issueshttps://www.redmine.org/issues/333822020-04-30T16:10:13ZAdrian Sieber
<p>I tried to import already closed issues, since we're migrating from another system. However, whatever I set for the "status" field it still imported the issue as "New". Also there does not seem to be a field for the closing timestamp. So how can it be imported as well?</p> Redmine - Defect #33374 (Confirmed): hook call "view_layouts_base_body_bottom" Inserts content be...https://www.redmine.org/issues/333742020-04-29T13:52:20ZOliver Köhler
<p>The content added via the "view_layouts_base_body_bottom" Hook is generated outside of any wrapper object.<br />With <a class="changeset" title="Footer is not placed at the bottom on pages with little content (#30467). Patch by Bernhard Rohl..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/18427">r18427</a> the size of the wrapper object is set to 100% of the viewport height.<br />As "view_layouts_base_body_bottom" places content outside of that wrapper, that content is now displayed outside of the viewport.<br />A possible fix could be placing the <br /><pre>
<%= call_hook :view_layouts_base_body_bottom %>
</pre><br />line within the wrapper object like this<br /><pre>
<div id="footer">
Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> &copy; 2006-2020 Jean-Philippe Lang
</div>
<%= call_hook :view_layouts_base_body_bottom %>
</div>
</pre></p> Redmine - Defect #33291 (Resolved): Gantt conversion to png failed with error w.r.t. font 'helvet...https://www.redmine.org/issues/332912020-04-15T09:06:37ZLiane Hampe
<a name="Expected-Behavior"></a>
<h2 >Expected Behavior<a href="#Expected-Behavior" class="wiki-anchor">¶</a></h2>
<p>Gantt-Diagramm converts to png file format.</p>
<a name="Actual-Behavior"></a>
<h2 >Actual Behavior<a href="#Actual-Behavior" class="wiki-anchor">¶</a></h2>
<p>Clicking on the png link at the bottom of the Gantt page causes an error.</p>
<a name="Essentials-of-Error-Message"></a>
<h3 >Essentials of Error Message<a href="#Essentials-of-Error-Message" class="wiki-anchor">¶</a></h3>
<p>MiniMagick::Error in GanttsController#show <br />`.../tmp/mini_magick20200415-1-ufk9mt.png` failed with error: convert-im6.q16: unable to read font `helvetica' <code> error/annotate.c/RenderFreetype/1333. convert-im6.q16: non-conforming drawing primitive definition `text' </code> error/draw.c/RenderMVGContent/4301.</p>
<p>See the two attached sreenshots of the very long error message.</p>
<a name="Steps-for-Reproduction"></a>
<h2 >Steps for Reproduction<a href="#Steps-for-Reproduction" class="wiki-anchor">¶</a></h2>
<ol>
<li>Install Redmine according to the Technical Details below with a database populated only be Redmines default data</li>
<li>Define a Project by only setting a name</li>
<li>Create a Ticket by only setting name and due date</li>
<li>Go to Gantt page and click the png link at the bottom</li>
</ol>
<a name="Technical-Details"></a>
<h2 >Technical Details<a href="#Technical-Details" class="wiki-anchor">¶</a></h2>
<p>Redmine 4.1.1.stable<br />Default administrator account changed <br />Attachments directory writable <br />Plugin assets directory writable (./public/plugin_assets) <br />MiniMagick available (optional) <br />ImageMagick convert available (optional) <br />ImageMagick PDF support available (optional)</p>
<p>Environment:<br /> Redmine version 4.1.1.stable<br /> Ruby version 2.5.8-p224 (2020-03-31) [x86_64-linux]<br /> Rails version 5.2.4.2<br /> Environment development<br /> Database adapter Mysql2<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />SCM:<br /> Subversion 1.10.4<br /> Mercurial 4.8.2<br /> Git 2.20.1<br /> Filesystem <br />Redmine plugins:<br /> no plugin installed</p> Redmine - Defect #33139 (Resolved): Redmine.pm not working with sockshttps://www.redmine.org/issues/331392020-03-12T12:33:40ZDominik Bittl
<p>Hello,</p>
<p>I need to use authentication with Redmine.pm and mysql_sock.</p>
<p>Setting used in Apache config:</p>
<p>RedmineDSN "DBI:mysql:database=xxx;mysql_socket=/tmp/proxysql.sock" <br />RedmineDbUser "user" <br />RedmineDbPass "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"</p>
<p>Apache error.log message:</p>
<p>DBI connect('database=XXX;mysql_socket=/tmp/proxysql.sock','user',...) failed: Can't connect to local MySQL server through socket '/tmp/proxysql.sock' (2) at /usr/share/perl5/Apache/Redmine.pm line 557.</p>
<p>My own little perl-script with same options und also using DBI is functional via socket also the redmine database config with sock works.</p>
<p>System:</p>
<p>Ubuntu 18.04.4 LTS<br />Perl v5.26.1</p>
<p>#perl -V<br />Summary of my perl5 (revision 5 version 26 subversion 1) configuration:</p>
<p>Platform:<br />osname=linux<br />osvers=4.9.0<br />archname=x86_64-linux-gnu-thread-multi<br />uname='linux localhost 4.9.0 <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: permissions if not admin (Closed)" href="https://www.redmine.org/issues/1">#1</a> smp debian 4.9.0 x86_64 gnulinux '<br />config_args='-Dusethreads -Duselargefiles -Dcc=x86_64-linux-gnu-gcc -Dcpp=x86_64-linux-gnu-cpp -Dld=x86_64-linux-gnu-gcc -Dccflags=-DDEBIAN -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/perl-hx1dVS/perl-5.26.1=. -fstack-protector-strong -Wformat -Werror=format-security -Dldflags= -Wl,-Bsymbolic-functions -Wl,-z,relro -Dlddlflags=-shared -Wl,-Bsymbolic-functions -Wl,-z,relro -Dcccdlflags=-fPIC -Darchname=x86_64-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.26 -Darchlib=/usr/lib/x86_64-linux-gnu/perl/5.26 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/x86_64-linux-gnu/perl5/5.26 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.26.1 -Dsitearch=/usr/local/lib/x86_64-linux-gnu/perl/5.26.1 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Duse64bitint -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Ui_libutil -Ui_xlocale -Uversiononly -DDEBUGGING=-g -Doptimize=-O2 -dEs -Duseshrplib -Dlibperl=libperl.so.5.26.1'</p>
<p>#dpkg -l |grep apache<br />ii apache2 2.4.29-1ubuntu4.12 amd64 Apache HTTP Server<br />ii apache2-bin 2.4.29-1ubuntu4.12 amd64 Apache HTTP Server (modules and other binary files)<br />ii apache2-data 2.4.29-1ubuntu4.12 all Apache HTTP Server (common files)<br />ii apache2-utils 2.4.29-1ubuntu4.12 amd64 Apache HTTP Server (utility programs for web servers)<br />ii libapache-dbi-perl 1.12-1 all interface connecting apache server to database via perl's DBI<br />ii libapache2-mod-perl2 2.0.10-2ubuntu3.18.04.1 amd64 Integration of perl with the Apache2 web server<br />rc libapache2-mod-shib2 2.6.1+dfsg1-2 amd64 Federated web single sign-on system (Apache module)<br />ii libapache2-mod-svn 1.9.7-4ubuntu1 amd64 Apache Subversion server modules for Apache httpd<br />ii libapache2-reload-perl 0.13-1 all module for reloading Perl modules when changed on disk</p> Redmine - Defect #33138 (Resolved): Apache crashes with Redmine.pm and RedmineCacheCredsMax activehttps://www.redmine.org/issues/331382020-03-12T12:24:20ZDominik Bittl
<p>Hello,</p>
<p>issue as described in the topic.</p>
<p>The Apache keeps crashing with Redmine.pm when RedmineCacheCredsMax is set.</p>
<p>- What infos do you need further? Is there a way to debug this?</p>
<p>System:</p>
<p>Ubuntu 18.04.4 LTS<br />Perl v5.26.1</p>
<pre>
#perl -V
Summary of my perl5 (revision 5 version 26 subversion 1) configuration:
Platform:
osname=linux
osvers=4.9.0
archname=x86_64-linux-gnu-thread-multi
uname='linux localhost 4.9.0 #1 smp debian 4.9.0 x86_64 gnulinux '
config_args='-Dusethreads -Duselargefiles -Dcc=x86_64-linux-gnu-gcc -Dcpp=x86_64-linux-gnu-cpp -Dld=x86_64-linux-gnu-gcc -Dccflags=-DDEBIAN -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/perl-hx1dVS/perl-5.26.1=. -fstack-protector-strong -Wformat -Werror=format-security -Dldflags= -Wl,-Bsymbolic-functions -Wl,-z,relro -Dlddlflags=-shared -Wl,-Bsymbolic-functions -Wl,-z,relro -Dcccdlflags=-fPIC -Darchname=x86_64-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.26 -Darchlib=/usr/lib/x86_64-linux-gnu/perl/5.26 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/x86_64-linux-gnu/perl5/5.26 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.26.1 -Dsitearch=/usr/local/lib/x86_64-linux-gnu/perl/5.26.1 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Duse64bitint -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Ui_libutil -Ui_xlocale -Uversiononly -DDEBUGGING=-g -Doptimize=-O2 -dEs -Duseshrplib -Dlibperl=libperl.so.5.26.1'
</pre>
<pre>
#dpkg -l |grep apache
ii apache2 2.4.29-1ubuntu4.12 amd64 Apache HTTP Server
ii apache2-bin 2.4.29-1ubuntu4.12 amd64 Apache HTTP Server (modules and other binary files)
ii apache2-data 2.4.29-1ubuntu4.12 all Apache HTTP Server (common files)
ii apache2-utils 2.4.29-1ubuntu4.12 amd64 Apache HTTP Server (utility programs for web servers)
ii libapache-dbi-perl 1.12-1 all interface connecting apache server to database via perl's DBI
ii libapache2-mod-perl2 2.0.10-2ubuntu3.18.04.1 amd64 Integration of perl with the Apache2 web server
rc libapache2-mod-shib2 2.6.1+dfsg1-2 amd64 Federated web single sign-on system (Apache module)
ii libapache2-mod-svn 1.9.7-4ubuntu1 amd64 Apache Subversion server modules for Apache httpd
ii libapache2-reload-perl 0.13-1 all module for reloading Perl modules when changed on disk
</pre>
<pre>
vhost:
[...]
<IfModule dav_svn_module>
PerlLoadModule Apache::Redmine
SVNCompressionLevel 0
<Location /repos/>
DAV svn
SVNParentPath /var/opt/apache/XXX/subversion/
SVNListParentPath on
SVNIndexXSLT "/repos-web/view/repos.xsl"
SVNPathAuthz off
SVNAllowBulkUpdates Prefer
SVNCacheRevProps on
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
AuthType Basic
AuthName "Redmine SVN Repository"
AuthUserFile /dev/null
Require all denied
Require all denied
<RequireAny>
<RequireAny>
Require valid-user
</RequireAny>
<RequireAll>
Require method GET PROPFIND OPTIONS REPORT HEAD POST
<RequireAny>
Require ip XXXX
Require env AllowIP
</RequireAny>
</RequireAll>
</RequireAny>
#limit max size to 400MB
LimitRequestBody 424288000
LimitXMLRequestBody 8000000
## for mysql
RedmineDSN "DBI:mysql:database=XXX;host=XXX;port=XXXX"
RedmineDbUser "XXXX"
RedmineDbPass "XXXXXXXXXXXXXXXXXXXXXXXXXXX"
#Cache the last 50 auth entries
RedmineCacheCredsMax 500
</Location>
[...]
</pre> Redmine - Defect #32899 (Confirmed): Javascript error caused by tooltiphttps://www.redmine.org/issues/328992020-01-28T00:34:21ZAnonymous
<p>Improved tooltip in Redmine 4.1.0 ( <a class="issue tracker-3 status-5 priority-4 priority-default closed" title="Patch: Show elements titles using jQuery UI tooltips (Closed)" href="https://www.redmine.org/issues/31441">#31441</a>) causes a Javascript error on some (self-made) plugin pages using the "title" attribute.<br />This is caused by the absence of the tooltip() function in the "title" attribute. By inserting a judgment statement as follows, errors will not occured.<br /><pre><code class="diff syntaxhl"><span class="gd">--- a/public/javascripts/application.js
</span><span class="gi">+++ b/public/javascripts/application.js
</span><span class="p">@@ -998,13 +998,15 @@</span>
$(function () {
<span class="gd">- $('[title]').tooltip({
- show: {
- delay: 400
- },
- position: {
- my: "center bottom-5",
- at: "center top"
- }
- });
</span><span class="gi">+ if ($('[title]').tooltip !== undefined) {
+ $('[title]').tooltip({
+ show: {
+ delay: 400
+ },
+ position: {
+ my: "center bottom-5",
+ at: "center top"
+ }
+ });
+ }
</span> });
</code></pre></p> Redmine - Defect #32739 (Reopened): Truncated images are still attached to the ticket when create...https://www.redmine.org/issues/327392020-01-02T13:08:33ZRobert Röttger
<p>This ticket is refering to: <a class="external" href="https://www.redmine.org/projects/redmine/repository/revisions/3226">https://www.redmine.org/projects/redmine/repository/revisions/3226</a></p>
<p>I have a Mail looking like:</p>
<pre>
CONTENT
------
SIGNATURE TEXT
SIGNATURE IMAGE
</pre>
<p>I setup my delimiter "------" in incoming mail settings in redmine.<br />I send a mail. Ticket is Created.</p>
<p>Ticket Content Looks like:</p>
<pre>
CONTENT
</pre>
<p>Everything is truncated perfectly.</p>
<p><strong>BUT:</strong> the signature image is attached to the ticket. This shouldnt happen since its truncated. Maybe there must be changed in the parse order? First strip, then parse files? Instead of parse files and then strip. Please have a look at this.</p> Redmine - Defect #32003 (Confirmed): Project copy always send email notifications ignoring "Send ...https://www.redmine.org/issues/320032019-09-04T02:00:21ZYuichi HARADA
<p>When copying a project in the projects list(Administration > Projects), you can disable sending an email by unchecking the "Send email notifications during the project copy" checkbox.<br />However, even if this checkbox is unchecking, email notifications are sent.</p>
<p><img src="https://www.redmine.org/attachments/download/23763/ScreenShot_2019-09-04.png" style="width:50%;border:1px solid #ccc;" alt="" /></p> Redmine - Defect #31968 (Resolved): MIME Content Type is not properly handled while attaching the...https://www.redmine.org/issues/319682019-08-28T06:19:20ZAmit Mehendale
<p>Recently upgraded to 4.0.4. While doing the Information security testing, Team raised a vulnerability<br /><strong>"The application does not validate the content type of file being uploaded. This would enable an adversary to upload a malicious file onto the server."</strong></p>
<p>If I change the extension of a file from <strong>.com</strong> to <strong>.pdf</strong>, Redmine allows file upload in issues as attachment and stores contenttype as "*application/pdf*" in table.</p>
<p>Due to this issue we are unable to roll out new version.</p>
<p>Urgent help required.<br />Thanks</p> Redmine - Defect #31637 (Confirmed): CSV and PDF export don't respect Time span formathttps://www.redmine.org/issues/316372019-06-28T18:12:17ZTeko Teleko
<p>In Spent time section I have issues displaying the hours in standard time format, but when I export to CSV the hours are displayed in decimal format.</p>
<p>For example: I have a issue with 00:45h (standard), but in the CSV file I have 0.75 (decimal).</p>
<p>How can I export with standard time format?</p>
<p>I'm using the Bitnami Redmine Stack and this are my Redmine configurations:<br />Environment:<br />Redmine version 3.4.2.stable<br />Ruby version 2.3.4-p301 (2017-03-30) [x86_64-linux]<br />Rails version 4.2.8<br />Environment production<br />Database adapter Mysql2<br />SCM:<br />Subversion 1.9.7<br />Cvs 1.12.13<br />Filesystem <br />Redmine plugins:<br />redmine_checklists 3.1.15<br />redmine_custom_css 0.1.6</p> Redmine - Defect #31582 (Confirmed): Issue subject may be truncated if the subject field in the r...https://www.redmine.org/issues/315822019-06-18T07:16:25ZYuichi HARADA
<p>When you create issues via email, the subject of the created issue may be truncated if the subject field in the original email is split into multiple lines in singlebytes and multibytes mixed format like the following.<br /><pre>
To: redmine@somenet.foo
From: John Smith <JSmith@somenet.foo>
Subject: =?UTF-8?B?W+e3iuaApV1bUkVETUlORV1bV0FSTklORzAxXVByb2JsZW06IOODoQ==?=
=?UTF-8?B?44Oi44Oq5a656YeP44GM6YC86L+r44GX44Gm44GE44G+44GZ?=
Message-ID: <42feb4b3-4dec-7c61-0edd-45dfc4795143@somenet.foo>
Date: Tue, 18 Jun 2019 14:08:06 +0900
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Problem started at 13:49:27 on 2019.06.18
</pre></p>
<p>The Subject should be decoded like this:<br /><pre>
[緊急][REDMINE][WARNING01]Problem: メモリ容量が逼迫しています
</pre></p>
<p>But the subject of the created issue will be the following:<br /><pre>
[緊急][REDMINE][WARNING01]Problem: メ
</pre></p>
<p>Attached a test.</p> Redmine - Defect #31021 (Confirmed): Fullwidth characters enclosed in "<" and ">" are removed in ...https://www.redmine.org/issues/310212019-03-13T06:51:20ZMasaomi Yoshida
<p>Hi, I'm using Redmine ver.3.4.7 and multi-byte environment(Japanese).</p>
<p>I found a bug in mail notifications function.<br />When I update a ticket with the comments below</p>
<p>-----<br />aaa<bbb>ccc<br />AAA<BBB>CCC<br />-----</p>
<p>The less-than sign, grater-than sign, and multi-byte "BBB" are deleted in the mail, while the ticket itself is properly updated.<br />Note that the first sentence is written using single-byte characters, and the second one is written using multi-byte characters except less-than sign(<) and grater-than sign(>).</p>
<p>It will not happen when the letters are quoted with < pre > and < /pre >.<br />Neither It will not happen when html mail is not used.</p>
<p>See the attached for details.</p> Redmine - Defect #31010 (Confirmed): The query visibility option "To me only" actually behaves as...https://www.redmine.org/issues/310102019-03-11T16:30:23ZYuuki NARA
<p>If you change the display range of a shared custom query created by another person to "Only me", only creator can be used instead of me.</p>
<p>When changing the Visibility of a custom query created by someone from "to these roles only" to "to me only" <br />It becomes available only to the custom query creator, not the one who is manipulating it.<br />It seems that display content is wrong and it leads to erroneous operation.</p>
<p>It may be better to change from "to me only" to "to author only".</p>
<p>Redmine3.4.6</p> Redmine - Defect #30851 (Reopened): Redmine 4.0.1 Internnal error 500 on accessing the settings pagehttps://www.redmine.org/issues/308512019-02-20T18:43:18Znet ops
<p>Hi,</p>
<p>I've setup a brand new redmine 4.0.1 plateform and everything's running fine but the "Settings" sub menu from "Administration" menu.<br />When I click on it, I've got an internal error (redmine error 500)</p>
<p>When I go back to my previous version redmine 3.4.5, I can access the Settings page, no problem.</p>
<p>Here is my configuration :</p>
<p>Centos 7 operating system<br />[redmine-4.0.1]# bundler -v<br />The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32`.<br />Bundler version 2.0.1</p>
<p>[redmine-4.0.1]# passenger -v<br />Phusion Passenger 6.0.1</p>
<p>[redmine-4.0.1]# ruby -v<br />ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-linux]</p>
<p>[redmine-4.0.1]# rails -v<br />Rails 5.2.2</p>
<p>Here's my database.yml</p>
<p>Using seperate mysql server for redmine database:</p>
<pre>
production:
adapter: mysql2
database: redmine
host: localhost
username: redmine
password: "redmine"
encoding: utf8
</pre>
<p>This is error on the browsers:</p>
<blockquote>
<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.<br />If you are the Redmine administrator, check your log files for details about the error.</p>
</blockquote>
<p>This is the exact error each time I click on Administration, Settings page in the production.log</p>
<pre>
Started GET "/settings" for 10.11.0.254 at 2019-02-20 12:26:56 -0600
Processing by SettingsController#index as HTML
Current user: aqureshi (id=79)
Rendering settings/edit.html.erb within layouts/admin
Rendered settings/_general.html.erb (117.3ms)
Rendered settings/_display.html.erb (1691.3ms)
Rendered common/_tabs.html.erb (1820.0ms)
Rendered settings/edit.html.erb within layouts/admin (1820.8ms)
Completed 500 Internal Server Error in 1884ms (ActiveRecord: 39.0ms)
*ActionView::Template::Error (Invalid argument @ apply2files - /web/servers/redmine-4.0.1/tmp/cache*/.i18n%2Flanguages_options%2F4.0.1.stable20190220-19164-oswowk):
3: <div class="box tabular settings">
4: <p><%= setting_select :ui_theme, Redmine::Themes.themes.collect {|t| [t.name, t.id]}, :blank => :label_default, :label => :label_theme %></p>
5:
6: <p><%= setting_select :default_language, lang_options_for_select(false) %></p>
7:
8: <p><%= setting_check_box :force_default_language_for_anonymous %></p>
9:
lib/redmine/i18n.rb:125:in `languages_options'
app/helpers/application_helper.rb:1232:in `lang_options_for_select'
app/views/settings/_display.html.erb:6:in `block in _app_views_settings__display_html_erb__340993510091443663_70326203883240'
app/views/settings/_display.html.erb:1:in `_app_views_settings__display_html_erb__340993510091443663_70326203883240'
app/views/common/_tabs.html.erb:17:in `block in _app_views_common__tabs_html_erb__2649452778657733169_70326203643820'
app/views/common/_tabs.html.erb:16:in `each'
app/views/common/_tabs.html.erb:16:in `_app_views_common__tabs_html_erb__2649452778657733169_70326203643820'
app/helpers/application_helper.rb:386:in `render_tabs'
app/views/settings/edit.html.erb:5:in `_app_views_settings_edit_html_erb__3986788488367518628_70326203621180'
app/controllers/settings_controller.rb:31:in `index'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
</pre>
<p>I have also started the webrick server:</p>
<pre>
[redmine-4.0.1]# bundle exec rails server webrick -e production
</pre>
<p>When I click on Settings, I get this in the webrick server conosle:</p>
<pre>
http://redmine-test.trondent.net:3000/stylesheets/application.css -> /images/true.png
10.11.0.254 - - [20/Feb/2019:12:41:16 CST] "GET /settings HTTP/1.1" 500 648
http://redmine-test.trondent.net:3000/admin/info -> /settings
</pre>
<p>Please advise?</p>
<p>Thank you so much for your time in advance..</p> Redmine - Defect #30510 (Confirmed): Bad Project's page Formhttps://www.redmine.org/issues/305102019-01-28T14:36:23ZRégis BRACHET-COTARedmine - Defect #30176 (Confirmed): Anonymous users cannot upload attachment if added to project...https://www.redmine.org/issues/301762018-12-11T05:56:02ZWicky Hu
<p>Hi,</p>
<p>I found an upload issue for anonymous users, here is the details to re-produce the issue:</p>
<p>1. Anonymous role: keep default setting, i.e. NO "Add Issue" permission<br />2. Reporter role: keep default setting, i.e. HAS "Add Issue" permission<br />3. Create a project<br />4. Add Anonymous users to members list of the project, as Reporter<br />5. Now Anonymous user can Add Issue and save<br />6. However, while uploading file, authentication box will popup <br />7. If I change Anonymous role to check "Add Issue", file upload is ok</p>
<p>The expected result is: <br />When Anonymous users added to project as reporter, they can add issue and can upload files,<br />without the needs to change Anonymous role, which will affect all public projects</p>
<pre>
Environment:
Redmine version 3.4.7.stable
Ruby version 2.4.4-p296 (2018-03-28) [x86_64-linux]
Rails version 4.2.11
Environment production
Database adapter Mysql2
SCM:
Subversion 1.7.14
Git 1.8.3.1
Filesystem
Redmine plugins:
clipboard_image_paste 1.13
custom_users_as_assignees 0.0.3
customfield_checkbox_utility 0.0.2
redmine_checklists 3.1.11
redmine_email_inline_images 1.0.0
redmine_helpdesk 0.0.15
redmine_knowledgebase 3.3.1
redmine_lightbox2 0.4.3
redmine_logs 0.1.1
redmine_more_code 1.0.0
redmine_preview_inline 1.0.2
</pre>
<p>Regards<br />Wicky</p> Redmine - Defect #30164 (Confirmed): Missing images in a wiki page are not visualizedhttps://www.redmine.org/issues/301642018-12-09T17:21:35ZDarko Palic
<p>Right now if a wiki page has referenced a image/picture, it is not visualizing the lack of the attached binary.<br />It would be great to add a image reference like this <a class="external" href="https://upload.wikimedia.org/wikipedia/commons/e/e4/Comic_image_missing.svg">https://upload.wikimedia.org/wikipedia/commons/e/e4/Comic_image_missing.svg</a> with the missing image name as a caption to let the user know, that he has forgot to upload a image</p>
<p>In following cases the images of a wiki page could be missing:</p>
<ul>
<li>you create a new wiki article, you already reference the wished image, and you later want to batch-upload all images</li>
<li>you cleanup the current wiki pages, by copying some parts into new wiki pages, but you forget to re-upload the images again</li>
</ul>
<p>In both cases the issue can happen quickly. Sadly if you miss to upload the images afterwards, you need a admin to determine where the images have been and to reupload them again.<br />This is not user friendly.</p> Redmine - Defect #30125 (Confirmed): Can't be distinguished when deleting multiple attachments wi...https://www.redmine.org/issues/301252018-12-08T05:37:21ZJun NAITOH
<ul>
<li>When attachment file names are the same.</li>
</ul>
<p><img src="https://www.redmine.org/attachments/download/21958/same_name_attachments.png" alt="" /></p>
<ul>
<li>I can not distinguish files I want to delete.</li>
</ul>
<p><img src="https://www.redmine.org/attachments/download/21957/delete.png" alt="" /></p> Redmine - Defect #29855 (Confirmed): add_working_days returns wrong datehttps://www.redmine.org/issues/298552018-10-27T06:46:28ZYutaka Hara
<p><code>Redmine::Util::DateCalculation#add_working_days(date, n)</code> returns wrong date when <code>date</code> is holiday and <code>n</code> is a multiple of 5.</p>
<p>Example:</p>
<pre>
irb(main):004:0> Setting.non_working_week_days
=> ["6", "7"]
irb(main):001:0> include Redmine::Utils::DateCalculation
irb(main):002:0> add_working_days(Date.new(2018, 10, 27), 5)
=> Mon, 05 Nov 2018 # Expected Fri, 02 Nov 2018
irb(main):003:0> add_working_days(Date.new(2018, 10, 28), 5)
=> Mon, 05 Nov 2018 # Expected Fri, 02 Nov 2018
</pre>
<p>Tested with <code>trunk@17598</code></p> Redmine - Defect #29416 (Reopened): Do not show Git revisions https://www.redmine.org/issues/294162018-08-21T09:16:00ZAlexandr Kirilov
<p>My tech-stack:<br />FreeBSD 11 + Apache 24 + MySQL 8 + Gitolite + Redmine 3.4.6.stable</p>
<p>The issue: the Redmine do not show the Git all revisions in repository but showing it if I am requesting by precise tag.</p>
<p>Just the same way do not working reference tag for issues. It's not gotten from repo. No any issues referenced.</p> Redmine - Defect #29300 (Confirmed): New issue can't select read-only trackerhttps://www.redmine.org/issues/293002018-07-30T19:05:20ZPavel Rosický
<p>I have 2 trackers, default and read-only<br />1/ go to New issue<br />2/ select the read-only tracker (the field disappears and can't be changed anymore)<br />3/ after sumbitting issue has the default tracker</p>
<p>desired behaviour:<br />it should be possible to create a new issue with a read-only tracker. It can by done via api and later on the edit form.</p>
<p>related: <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: New issue AND tracker read-only: status is not changable (Closed)" href="https://www.redmine.org/issues/19162">#19162</a></p> Redmine - Defect #28882 (Confirmed): GDPR compliancehttps://www.redmine.org/issues/288822018-05-25T12:15:09ZBernhard Rohloff
<p>Today the General Data Protection Regulation (GDPR) comes into effect.<br />The regulation could cause severe damage to a non compliant community project, even if it's a non profit one.<br />As Richard Rauch mentioned on the <a href="http://www.redmine.org/boards/1/topics/55222" class="external">forum</a> redmine.org doesn't seem to comply to the new laws.</p>
<p>I think GDPR compliance for redmine.org should get checked ASAP.<br />Perhaps the guys at Planio have some useful advise for their project mother ship.</p> Redmine - Defect #28793 (Confirmed): Redmine replaces tabs with spaces in code blockshttps://www.redmine.org/issues/287932018-05-16T16:57:42ZAnton Shepelev
<p>Regardless of whether I use Markdown or Textile, Redmine always replaces tabs with spaces in code blocks, which makes the code read-only, i.e. one cannot copy and paste it into their program, so I have to attach source files to issues or send them in separate e-mails.</p>
<p>The underlying Markdown and Textile text is correct but is rendered into HTML wrong.</p>
<p>Code blocks should present code as it is written: spaces should be spaces and tabs should be tabs.</p>
<p>My Redmine environment:<br /><pre>
Environment:
Redmine version 3.4.4.stable
Ruby version 2.3.3-p222 (2016-11-21) [i386-mingw32]
Rails version 4.2.8
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.16
Filesystem
Redmine plugins:
no plugin installed
</pre></p> Redmine - Defect #26002 (Confirmed): Issues can be assigned to this role - didnt work correctlyhttps://www.redmine.org/issues/260022017-05-19T16:17:37ZMaxim Krušina
<p>We have an API user and special role for this user.<br />This role have "Issues can be assigned to this role" box unchecked.<br />But when ticket is created by this API user, he's still listed in Assignee field of the ticket and the ticket can be aasigned to this user.<br />When ticket is created by someone else, it works OK.</p> Redmine - Defect #25806 (Confirmed): Custom value from freshly disabled custom field in sub-proje...https://www.redmine.org/issues/258062017-05-10T10:21:33ZStephane Evr
<p>Create a project hierarchy such as:<br /><pre>
P1
|
P1.1
</pre></p>
<p>Create and Activate Issue Custom field <code>C1</code> in Both projects.</p>
<p>Create an issue <code>I1</code> in <code>P1.1</code> with a value for field <code>C1</code></p>
<p>Deactivate <code>C1</code> in <code>P1.1</code></p>
<p>Do not do any modification to <code>I1</code></p>
<p>Go to <code>P1</code> Issues view<br />Add <code>C1</code> to selectedcolumns<br />Apply</p>
<p>Actual: Former value of <code>C1</code> for <code>I1</code> still shows<br />Expected: value of <code>C1</code> for <code>I1</code> shall be empty.</p>
<p>I know that if I save I1 after deactivating C1, the associated custom value for C1 will be erased, but the 'index' view should remain consistent with the 'show' view without having to manually perform a save.</p> Redmine - Defect #25748 (Confirmed): Spent time details CSV export: issues' id, tracker & subject...https://www.redmine.org/issues/257482017-05-03T11:25:18ZJenda Benda
<p>Dear Redmine team!</p>
<p>We really appreciate all your work here. thanks for that.</p>
<p>I would like to ask you for an explanation and possibility of modification of Issue column in "Spent time - overall spent time - details view".</p>
<p>Could you please explain me, why (started/changed in some previous versions of redmine) “issue” column has been changed and consists of joint information of "tracker", "task ID", and "task subject"?</p>
<p>The think that relates to this is that "spent time" filter doesn’t offer those columns/attributes to be used as a filter within spent time detail view.</p>
<p>This makes impossible to filter and sort by those "attributes" of the spent time entries, which is something that was previously and would be very useful.</p>
<p>This makes impossible to export information into CSV with separated information/columns mentioned above.</p>
<p>This doesn’t follow database normalization rules I guess (I suppose this information is stored separately within DB)...so I don't understand the reason for this.</p>
<p>Could you please make this filtering possible and add possibility of adding those colums separately in the report and CSV export?</p>
<p>thanks a lot<br />Kind regards<br />JB</p> Redmine - Defect #25106 (Confirmed): "Spent time" in all issues, show as 0 with no permissionhttps://www.redmine.org/issues/251062017-02-16T12:21:37ZSergiy Melnychuk
<p><strong>Step 1</strong>: Create role "Clients" with those Permissions</p>
<p>Path: Administration -> Roles and permissions (Roles) -> New role</p>
<p>I`m uncheck all checkboxes on "Time tracking" area</p>
<p><img src="https://www.redmine.org/attachments/download/17759/roles_permissions.png" style="width:100px;" alt="" /></p>
<p>to see on full size picture press "this"</p>
<p><strong>Step 2</strong>: I`m add User to Test Project with this Role</p>
<p>Path: Projects -> Test Project -> Settings -> Members tab</p>
<p><img src="https://www.redmine.org/attachments/download/17757/projects_test_settings_members.png" alt="" /></p>
<p><strong>Step 3</strong>: Go to my issues list in my Test project, and see this</p>
<p>Path: Projects -> Test Project -> Issues</p>
<p><img src="https://www.redmine.org/attachments/download/17756/project_tasks.png" alt="" /></p>
<p>Its all right, i`m dont see "Spent time"</p>
<p><strong>Step 4</strong>: Go to Path: Projects -> View all issues</p>
<p>Expected: I Shoud not see the column "Spent time" and the values in it. Column "Spent time" is hidden<br />Actual: I can see "Spent time" column and values in it</p>
<p><img src="https://www.redmine.org/attachments/download/17758/issues.png" alt="" /></p> Redmine - Defect #23604 (Confirmed): Parsing Attachments in Emails Structured with Content-Dispos...https://www.redmine.org/issues/236042016-08-17T16:10:30ZBen Roberts
<p><strong>Expected</strong>: Core Redmine (3.1.1) should parse incoming emails structured with only inline attachment(s) that satisfy all requirements of the user configuration (e.g "Maximum attachment size", "Exclude attachments by name", etc.) to create a new issue with attachments consisting of those attached to the email. Alternatively or in addition, if any attachment(s) are discarded, some indication of this is included in the Redmine log such as the name of the file attachment discarded and the reason discarded.</p>
<p><strong>Observed</strong>: Core Redmine (3.1.1) creates a new issue, but does not include (i.e. it discards) the inline attachment(s) in the email and does not represent any issue parsing the email in the log.</p>
<p><strong>Details</strong>: The problematic email construction is...</p>
<blockquote>
<p><code>Content-Type: audio/wav; name="VoiceMessage.wav"</code><br /><code>Content-Transfer-Encoding: Base64</code><br /><code>Content-Disposition: inline; filename="VoiceMessage.wav"; voice=Voice-Message</code></p>
</blockquote>
<p>The Redmine log does not indicate a problem processing the email making the following entry in the log:</p>
<blockquote>
<p><code>MailHandler: issue #5776 created by test test</code></p>
</blockquote>
<p>An example of a raw email with these characteristics is attached to the issue.</p> Redmine - Defect #23357 (Confirmed): Lose hostname/path in news email notification including wikihttps://www.redmine.org/issues/233572016-07-18T10:53:45ZSebastian Paluch
<p>It seems that Redmine version 3.3.0 has broken links generation in email notifications for news (at least), with 3.2.0 noone was reporting such problem.</p>
<p>I have a news publish that includes following description:</p>
<pre>
New software version#1267 has been released. It is ...
{{include(myproject:100-0_Alpha_2_(rev_93029))}}
h3. Feel free to report new issues
* "myproject":/redmine/projects/myproject/issues/new
</pre>
In email notification
<ul>
<li>the first link to version#1267 has been generated correctly, </li>
<li>the last one is missing server name that should be added automatically: <br /><a class="external" href="http://redmine/projects/myproject/issues/new">http://redmine/projects/myproject/issues/new</a> but should be <a class="external" href="http://host/redmine/projects/myproject/issues/new">http://host/redmine/projects/myproject/issues/new</a></li>
</ul>
<p>Included wiki (myproject:100-0_Alpha_2_(rev_93029)) is in different project then the news and includes:</p>
<pre>
h3. Requirements
* Service Pack version#1272 or newer
{{include(myproject:Update_Instruction)}}
...
</pre>
In email notification
<ul>
<li>the link to version#1272 has been generated wrong, it is missing server name: <br /><a class="external" href="http://redmine/versions/1272">http://redmine/versions/1272</a> but should be <a class="external" href="http://host/redmine/versions/1272">http://host/redmine/versions/1272</a></li>
</ul>
<p>Included wiki (myproject:Update_Instruction) is in different project then the news and includes:</p>
<pre>
h3. Download
All pre-production software releases are available on the "shared network location":file://host\full\path\to\directory.
...
</pre>
In email notification
<ul>
<li>the link to "shared network location" has been generated wrong, all "\" has been replaced with a code %5: <br />file://\\host%5full%5path%5to%5directory<br />the link does not work and for some reason, it is not even possible to copy it from Outlook into clipboard</li>
</ul>
<pre>
Environment:
Redmine version 3.3.0.stable
Ruby version 2.1.8-p440 (2015-12-16) [i386-mingw32]
Rails version 4.2.6
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.11
Git 2.7.4
Filesystem
Redmine plugins:
computed_custom_field 0.0.2
inside_avatar 1.0.2
issue_filters 1.0.1
redmine_agile 1.4.1-3
redmine_checklists 3.1.1-1
redmine_custom_columns 1.1.0
redmine_favorite_projects 2.0.2-2
redmine_version_fixed_issues 1.0.1
sidebar_hide 0.0.7
</pre> Redmine - Defect #22394 (Confirmed): Gantt start of weekhttps://www.redmine.org/issues/223942016-04-05T06:01:52ZMehrdad Abdi
<p>I've changed the start of week to Saturday, Weeks presentation is OK in date pikers, but in Gantt it starts from Monday.</p> Redmine - Defect #20943 (Resolved): migrate_from_trac.rake dont workhttps://www.redmine.org/issues/209432015-10-08T13:20:58ZKarel Blumentrit
<p>Hello,</p>
<p>I have encountered several issues with the migrate_from_trac.rake script, trying to import a Trac(V 1.0.2) Project with SQLite (V. 3.8.7.1) Database.</p>
<p>My Enviroment:</p>
<pre>
cat /etc/debian_version
8.2
</pre>
<pre>
Environment:
Redmine version 3.1.1.stable
Ruby version 2.1.5-p273 (2014-11-13) [x86_64-linux-gnu]
Rails version 4.2.4
Environment production
Database adapter Mysql2
SCM:
Git 2.1.4
Filesystem
Redmine plugins:
no plugin installed
</pre>
<p>After applying the Patches from <a class="issue tracker-1 status-1 priority-4 priority-default" title="Defect: Trac Migrate Script with Redmine 3.0 (New)" href="https://www.redmine.org/issues/19173#note-6">#19173-6</a> and overcomming that issue, I also applied the patch from <a class="issue tracker-3 status-1 priority-4 priority-default" title="Patch: migrate_from_trac.rake does not convert timestamps in Trac database version 23 (New)" href="https://www.redmine.org/issues/14567">#14567</a> to overcome the timestamp conversion issue.</p>
<p>However I now encountered a new Issue:</p>
<pre>
rake redmine:migrate_from_trac RAILS_ENV="production" --trace
(in /opt/redmine/redmine-3.1.1)
** Invoke redmine:migrate_from_trac (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine:migrate_from_trac
WARNING: a new project will be added to Redmine during this process.
Are you sure you want to continue ? [y/N] y
Trac directory []: /tmp/project
Trac database adapter (sqlite3, mysql2, postgresql) [sqlite3]:
Trac database encoding [UTF-8]:
Target project identifier []: project
Trac database version is: 29
Migrating components......................
Migrating milestones................
Migrating custom fields
Migrating tickets.rake aborted!
ArgumentError: wrong number of arguments (1 for 0)
/var/lib/gems/2.1.0/gems/activerecord-4.2.4/lib/active_record/scoping/named.rb:24:in `all'
/opt/redmine/redmine-3.1.1/lib/tasks/migrate_from_trac.rake:180:in `attachments'
/opt/redmine/redmine-3.1.1/lib/tasks/migrate_from_trac.rake:539:in `block in migrate'
/var/lib/gems/2.1.0/gems/activerecord-4.2.4/lib/active_record/relation/batches.rb:51:in `block (2 levels) in find_each'
/var/lib/gems/2.1.0/gems/activerecord-4.2.4/lib/active_record/relation/batches.rb:51:in `each'
/var/lib/gems/2.1.0/gems/activerecord-4.2.4/lib/active_record/relation/batches.rb:51:in `block in find_each'
/var/lib/gems/2.1.0/gems/activerecord-4.2.4/lib/active_record/relation/batches.rb:124:in `find_in_batches'
/var/lib/gems/2.1.0/gems/activerecord-4.2.4/lib/active_record/relation/batches.rb:50:in `find_each'
/var/lib/gems/2.1.0/gems/activerecord-4.2.4/lib/active_record/querying.rb:9:in `find_each'
/opt/redmine/redmine-3.1.1/lib/tasks/migrate_from_trac.rake:486:in `migrate'
/opt/redmine/redmine-3.1.1/lib/tasks/migrate_from_trac.rake:797:in `block (2 levels) in <top (required)>'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/var/lib/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/var/lib/gems/2.1.0/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'
Tasks: TOP => redmine:migrate_from_trac
</pre>
<p>Please correct me if I am wrong, as I have absolutely no idea about ruby on rails programming, but (after reading throught this issue, which really ha nothing to do with the migration script: <a class="external" href="https://github.com/arkhitech/redmine_timesheet_plugin/issues/49">https://github.com/arkhitech/redmine_timesheet_plugin/issues/49</a>) I assume that the Problem are those two lines:</p>
<pre>
180 TracMigrate::TracAttachment.all(:conditions => ["type = 'ticket' AND id = ?", self.id.to_s])
</pre>
<pre>
235 TracMigrate::TracAttachment.all(:conditions => ["type = 'wiki' AND id = ?", self.id.to_s])
</pre>
<p>which passes arguments to the all() function, which doesnt accept any arguments anymore. This seems to have changed in some Ruby on Rails Version. Maybe someone knows how to fix this and could provide a patch I could test? I tried myself, but with litteraly no knowledge about Ruby on Rails programming I failed =P</p>
<p>I attached the migrate_from_trac.rake with all the patches included.</p> Redmine - Defect #19229 (Reopened): redmine.org plugin page only shows latest version compatibilityhttps://www.redmine.org/issues/192292015-03-01T14:14:41ZTobias Fischer
<p>The Redmine plugin page (e.g. <a class="external" href="http://www.redmine.org/plugins/redmine_lightbox2">http://www.redmine.org/plugins/redmine_lightbox2</a>) only shows the compatibility of the latest version:</p>
<p><img src="https://www.redmine.org/attachments/download/13206/redmine_lightbox2_screenshot.png" alt="" /></p>
<p>This is probably confusing for users who still have redmine 2.6 in use and are searching for plugins compatible with redmine 2.6.<br />They don't get a hint, that there are older versions of the plugin which are compatible with redmine 2.6<br />This user experience could be improved if the compatible redmine version numbers of earlier plugin versions would be printed out as well.<br />For example like this:</p>
<p><img src="https://www.redmine.org/attachments/download/13207/redmine_lightbox2_screenshot__mockup.png" alt="" /></p> Redmine - Defect #19105 (Confirmed): [Plugin directory] ratings link in plugin show view is point...https://www.redmine.org/issues/191052015-02-14T05:31:57ZMischa The Evil
<p>This can be fixed by adding the <code>ratings</code> id to the <code>h3</code> heading (<code><h3 id="ratings">User ratings</h3></code>).</p> Redmine - Defect #18984 (Resolved): migrate_from_mantis with NoMethodError: strftimehttps://www.redmine.org/issues/189842015-01-30T18:08:31ZPaulo Moreira
<p>I am migrating from Mantis 1.1.8 to Redmine 2.6.1.stable</p>
<p>Using: rake --trace redmine:migrate_from_mantis RAILS_ENV="production"</p>
<p>I get the following error:<br /> NoMethodError: undefined method `strftime' for 1411982898:Fixnum</p>
<p>I have applied: <a class="issue tracker-1 status-3 priority-4 priority-default" title="Defect: migrate_from_mantis script fails on first project when trying to update version dates (Resolved)" href="https://www.redmine.org/issues/10504">#10504</a></p>
<p>But with no success.</p>
<p>Any hints?</p> Redmine - Defect #18095 (Confirmed): Unable to submit time entries via REST API for activities th...https://www.redmine.org/issues/180952014-10-14T15:34:03ZAlex MacAulay
<p>Steps to reproduce: Create a new project. In web interface, go to "Settings" tab, then go to "Activities (time tracking)" tab. Deactivate an activity (let's say "Design") by unchecking the checkbox. Click "Save". Then reactivate the activity by re-checking the checkbox. Click "Save".</p>
<p>At this point, there is a project-specific activity for the "Design" activity in the Redmine database, in addition to the system-level "Design" activity. So the first question could be: is this a bug? Should the project-specific activity no longer exist when it has been reactivated? For the moment, I'll assume that it is reasonable that it continues to exist.</p>
<p>So, now I make a request to the REST API to get an enumeration of the time entry activities (GET /enumerations/time_entry_activities.xml). It returns only the system-level time entry activities.</p>
<p>However, if I use the web interface to submit a time entry on the "Design" activity for my project via the web interface, it uses the project-specific ID for the time entry.</p>
<p>This inconsistency between the behavior exposed via the REST API and the web interface means that I'm unable to submit time entries via the REST API for project-specific activities, because the REST API does not give me the IDs of those activities.</p>
<p>In order to resolve the bug, I would propose to modify the code that adds time entries in order to converts a system-level time entry activity ID to the corresponding project-specific time entry activity ID if it exists. I've attached a proposed patch.</p>
<p>For reference, here is the output of ruby script/about:</p>
<pre>
Environment:
Redmine version 2.5.2.devel.13434
Ruby version 1.8.7-p352 (2011-06-30) [x86_64-linux]
Rails version 3.2.19
Environment production
Database adapter PostgreSQL
SCM:
Subversion 1.6.11
Git 1.7.1
Filesystem
Redmine plugins:
no plugin installed
</pre> Redmine - Defect #15327 (Reopened): move issue(s) disappeared / not functionalhttps://www.redmine.org/issues/153272013-11-12T11:14:38ZTerence Mill
<p>Since redmine 2.3.3 i don't have "move issue" operation anywhere (button on issue form, context menu entry in issue list) although i have a role for this project with checked "move issues" right.<br />When i manually call the url "https://redmine.local/issue_moves/new/13101" i get "Routing Error (no Route matches [Get]..."</p> Redmine - Defect #15041 (Reopened): Issues list bad ordering by Subjecthttps://www.redmine.org/issues/150412013-10-04T11:51:28ZVictor Sinceac
<p>Sorting the list by column Subject returns unexpected results.</p>
Steps to reproduce:<br />- Display All Issues; by default the list is ordered by Subject;<br />- Click two times on the column Subject;<br />- The screen copy in attachments shows the bad ordering by Subject. The resulting order is as follows:
<ul>
<li>Cy...</li>
<li>...some items not in [A-Z, a-z]...</li>
<li>Se...</li>
<li>Ye...</li>
<li>Ya...</li>
<li>XP</li>
<li>XM...</li>
<li>xm...</li>
<li>Wr
*</li>
</ul> Redmine - Defect #14906 (Resolved): Excessive queries on roles table when show a Issuehttps://www.redmine.org/issues/149062013-09-14T13:26:07ZMaicon Zucco
<p>Hi,</p>
<p>Monitoring the Redmine MySQL queries from Redmine app I found a lot of queries on table roles.<br />For each member in project is executed a query below (changed the member_id) when I access the page "redmine/issues/xxxx":<br /><pre>
SELECT `roles`.* FROM `roles` INNER JOIN `member_roles` ON `roles`.`id` = `member_roles`.`role_id` WHERE `member_roles`.`member_id` = 2310
</pre></p>
<p>The problem is that there are about 500 members in the issue project.</p>
<p>It’s possible to otimize this process?</p>
<p>Thanks.</p> Redmine - Defect #14038 (Reopened): Ordered/unordered lists inside table cell are mangledhttps://www.redmine.org/issues/140382013-05-13T10:32:07ZMikhail Sviridov
<p>Here is an example:</p>
<table>
<tr>
<td>test name</td>
<td>test</td>
</tr>
<tr>
<td>test formatting</td>
<td><strong>bold</strong> <ins>underlined</ins> <del>striked out</del> <em>italic</em> <code>code</code> <a class="external" href="http://www.redmine.org">www.redmine.org</a> <img src="https://www.redmine.org/attachments/download/9761/coffee.jpg" alt="" /> <a class="wiki-page new" href="https://www.redmine.org/projects/redmine/wiki/Wiki_page_link">Wiki page link</a></td>
</tr>
<tr>
<td>test multiline</td>
<td><strong>bold</strong> <br /> <br /><ins>underlined</ins><br /><del>striked out</del><br /><em>italic</em><br /><code>code</code><br /><a class="wiki-page new" href="https://www.redmine.org/projects/redmine/wiki/Wiki_page_link">Wiki page link</a><br /><a class="external" href="http://www.redmine.org">www.redmine.org</a> <br /><img src="https://www.redmine.org/attachments/download/9761/coffee.jpg" alt="" /><br /><pre>
preformatted test
with indents
</pre></td>
</tr>
<tr>
<td>test numbered list</td>
<td>numbered list:<br /># item 1<br /># item 2</td>
</tr>
<tr>
<td>test bulleted list</td>
<td>bulleted list:<br />* item 1<br />* item 2</td>
</tr>
<tr>
<td>record after bad rows</td>
<td>some data</td>
</tr>
</table>
<p>Look at the rows with "test numbered list" and "test bulleted list" in the first column.<br />As I understood I can't use quotations inside of table cell as well, but it's not critical.</p> Redmine - Defect #13995 (Resolved): Custom Field (User) - Changes were not correct journalizedhttps://www.redmine.org/issues/139952013-05-07T11:28:49ZMartin G
<p>I have a custom field of type "user" with multiple values and I create a new issue with some selected users.<br />During a change of the issue I delete some selected users and this action were not journalized. The only change that i see is when I add some additional users.</p>
<p>See also the attached screenshot.</p> Redmine - Defect #13118 (Reopened): a_issue.project.issue_custom_fields don't work always correcthttps://www.redmine.org/issues/131182013-02-10T16:35:35ZThomas Kohler
<p>This means "a_issue.project.issue_custom_fields" and "Project.find_by_id(a_issue.project.id).issue_custom_fields" give sometimes different results. This also affect the result of the method "available_custom_fields" in issue.rb. This is only sometimes the case - don't no why.</p>
<p>Especially in that case "a_issue.project.issue_custom_fields.count" give also a wrong value (count like expected, but some expected entries are nil)</p>
<p>A simple detection is possible with:<br />(Project.find_by_id(a_issue.project.id).issue_custom_fields - a_issue.project.issue_custom_fields).empty?</p>
<p>The same for trackers:<br />(Tracker.find_by_id(a_issue.tracker.id).custom_fields - a_issue.tracker.custom_fields).empty?</p> Redmine - Defect #12950 (Reopened): priority dropdown empty on m.redmine.orghttps://www.redmine.org/issues/129502013-01-22T18:47:08ZDavid Morrison
<p>I'm trying to set up a demo on m.redmine.org and running into a bit of a roadblock. I've created a project and that seems OK. When I try to create a new issue, one of the mandatory fields is "priority", but the drop down list in the web interface is empty. So I can't indicate a priority and this stops me from creating the new issue. I can't figure out how if I've misconfigured things myself (I don't think so) or if there's some problem with the way the demo server is set up. Are other folks able to create demo projects and then create new issues? Any advice?</p> Redmine - Defect #10535 (Reopened): Atom feeds for the Project Activity contain incorrect hostnamehttps://www.redmine.org/issues/105352012-03-23T23:14:34ZArtem Sheremet
<p>The link in the Atom feed (at least for Project Activity) contains a hostname detected by Rails, but not the one specified in settings.<br />This makes link unusable if the requests to Rails are proxified.</p>
<p>Versions:</p>
<p>Redmine:<br /><pre>
SVN: http://redmine.rubyforge.org/svn/branches/1.3-stable revision 9240
</pre></p>
<p>Env:<br /><pre>
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.1.2
Rails version 2.3.14
Active Record version 2.3.14
Active Resource version 2.3.14
Action Mailer version 2.3.14
Active Support version 2.3.14
Application root /opt/redmine
Environment production
Database adapter mysql
Database schema version 20110902000000
</pre></p> Redmine - Defect #10532 (Resolved): migrate_from_mantis script fails with missing table namehttps://www.redmine.org/issues/105322012-03-23T15:15:29ZAlan Chandler
<p>See <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: migrate_from_mantis script fails on first project using sqlite3 (Closed)" href="https://www.redmine.org/issues/10501">#10501</a> and <a class="issue tracker-1 status-3 priority-4 priority-default" title="Defect: migrate_from_mantis script fails on first project when trying to update version dates (Resolved)" href="https://www.redmine.org/issues/10504">#10504</a> for environment. This bug is with the patches supplied in those reports applied.</p>
<p>Migrating users......<br />rake aborted!<br />Mysql::Error: Table 'bugtracker.mantis_project_category_table' doesn't exist: SELECT * FROM `mantis_project_category_table` WHERE (`mantis_project_category_table`.project_id = 1) <br />/home/alan/dev/redmine/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:227:in `log'<br />/home/alan/dev/redmine/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:324:in `execute'<br />/home/alan/dev/redmine/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb:639:in `select'<br />/home/alan/dev/redmine/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:7:in `select_all_without_query_cache'<br />/home/alan/dev/redmine/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:62:in `select_all'<br />/home/alan/dev/redmine/vendor/rails/activerecord/lib/active_record/base.rb:665:in `find_by_sql'<br />/home/alan/dev/redmine/vendor/rails/activerecord/lib/active_record/base.rb:1582:in `find_every'<br />/home/alan/dev/redmine/vendor/rails/activerecord/lib/active_record/base.rb:619:in `find'<br />/home/alan/dev/redmine/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:60:in `find'<br />/home/alan/dev/redmine/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:423:in `find_target'<br />/home/alan/dev/redmine/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:365:in `load_target'<br />/home/alan/dev/redmine/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:213:in `method_missing'<br />/home/alan/dev/redmine/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:392:in `method_missing'<br />/home/alan/dev/redmine/lib/tasks/migrate_from_mantis.rake:296:in `migrate'<br />/home/alan/dev/redmine/lib/tasks/migrate_from_mantis.rake:267:in `each'<br />/home/alan/dev/redmine/lib/tasks/migrate_from_mantis.rake:267:in `migrate'<br />/home/alan/dev/redmine/lib/tasks/migrate_from_mantis.rake:509<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `execute'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `invoke_with_call_chain'<br />/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `run'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/bin/rake:33<br />/usr/local/bin/rake:19:in `load'<br />/usr/local/bin/rake:19<br />Tasks: TOP => redmine:migrate_from_mantis<br />Migrating projects.</p> Redmine - Defect #10504 (Resolved): migrate_from_mantis script fails on first project when trying...https://www.redmine.org/issues/105042012-03-21T08:29:41ZAlan Chandler
<p>The script fails with the following trace (NOTE: This is based on applying the patch I just posted against #15501</p>
<p>Migrating users......<br />rake aborted!<br />undefined method `to_date' for 1312467840:Fixnum<br />/home/alan/dev/redmine/lib/tasks/migrate_from_mantis.rake:289:in `migrate'<br />/home/alan/dev/redmine/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:392:in `method_missing'<br />/home/alan/dev/redmine/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in `each'<br />/home/alan/dev/redmine/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in `send'<br />/home/alan/dev/redmine/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in `method_missing'<br />/home/alan/dev/redmine/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:392:in `method_missing'<br />/home/alan/dev/redmine/lib/tasks/migrate_from_mantis.rake:286:in `migrate'<br />/home/alan/dev/redmine/lib/tasks/migrate_from_mantis.rake:267:in `each'<br />/home/alan/dev/redmine/lib/tasks/migrate_from_mantis.rake:267:in `migrate'<br />/home/alan/dev/redmine/lib/tasks/migrate_from_mantis.rake:509<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `execute'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `invoke_with_call_chain'<br />/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `run'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'<br />/var/lib/gems/1.8/gems/rake-0.9.2.2/bin/rake:33<br />/usr/local/bin/rake:19:in `load'<br />/usr/local/bin/rake:19</p>
<p>This time my environment is different from that reported in #15501, I am on a debian Unstable machine with the following environment</p>
<p>About your application's environment<br />Ruby version 1.8.7 (x86_64-linux)<br />RubyGems version 1.8.15<br />Rack version 1.1.3<br />Rails version 2.3.14<br />Active Record version 2.3.14<br />Active Resource version 2.3.14<br />Action Mailer version 2.3.14<br />Active Support version 2.3.14<br />Edge Rails revision 84b6b8bfd869a4fc91d434adca74adfb661537b2<br />Application root /home/alan/dev/redmine<br />Environment production<br />Database adapter sqlite3<br />Database schema version 20110902000000</p> Redmine - Defect #9966 (Resolved): Private issue permissionshttps://www.redmine.org/issues/99662012-01-10T12:38:57ZLu Pon
<p>Hi, in 1.3.0, we realize that "private issue" has a different behavior.</p>
<p>When I put an issue as "private" on a public project, that issue can only be accessed by myself. I mean, I have coordinator privileges, I change public/private to issue and then a developer can't see that issue.</p>
<p>I had checked permissions at "Administration" and searched all issues here in Redmine's site without luck.</p>
<p>Is it a new behavior or is a bug?</p>
<p>Information about my environment:<br /><pre>
mysql Ver 14.14 Distrib 5.1.41
--
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.1.2
Rails version 2.3.14
Database schema version 20110902000000
--
Redmine 1.3.0.stable.8325
</pre></p>
<p>thanks ! <br />(apologies about my english)</p> Redmine - Defect #7699 (Reopened): Subversion: 500 Internal Server Error when browsing a repositoryhttps://www.redmine.org/issues/76992011-02-23T17:15:17ZAnthony C
<p>I've added a subversion repository to one of our projects. When I go to the repository tab to browse the repository I get a 500 Internal Server Error. The production.log contains no entry at all for the page access. The strangest part is that another repository on another server works perfectly. Both the working and non-working servers run subversion-1.6.9-1 on CentOS 5. The biggest difference is that the non-working server is on a different subnet and required a firewall opening for port 443. Both servers return good information when the svn commands are run by hand (I've included these at the bottom).</p>
<p>When I run redmine with "ruby script/server -e production -p 80" in screen I get disconnected from my SSH session and upon resuming find:</p>
<p>root@redmine:/usr/share/redmine# ruby script/server -e production -p 80<br />=> Booting WEBrick<br />=> Rails 2.3.5 application starting on <a class="external" href="http://0.0.0.0:80">http://0.0.0.0:80</a><br />=> Call with -d to detach<br />=> Ctrl-C to shutdown server<br />[2011-02-23 12:03:02] INFO WEBrick 1.3.1<br />[2011-02-23 12:03:02] INFO ruby 1.8.7 (2010-01-10) [x86_64-linux]<br />[2011-02-23 12:03:02] INFO WEBrick::HTTPServer#start: pid=5043 port=80<br />Killed</p>
<p>The Apache server log shows the generic error:<br />[Fri Feb 18 15:32:51 2011] [error] [client 10.xxx.xxx.xxx] Premature end of script headers: projects, referer: <a class="external" href="https://redmine.xxxxx.com/redmine/projects/xxxxx/settings">https://redmine.xxxxx.com/redmine/projects/xxxxx/settings</a></p>
<p>My environment:<br />root@redmine:/usr/share/redmine# RAILS_ENV=production ruby script/about<br />About your application's environment<br />Ruby version 1.8.7 (x86_64-linux)<br />RubyGems version 1.3.5<br />Rack version 1.0<br />Rails version 2.3.5<br />Active Record version 2.3.5<br />Active Resource version 2.3.5<br />Action Mailer version 2.3.5<br />Active Support version 2.3.5<br />Edge Rails revision unknown<br />Application root /usr/share/redmine-1.1.1<br />Environment production<br />Database adapter mysql<br />Database schema version 20101114115359</p>
<p>About your Redmine plugins<br />Redmine Hudson plugin 1.0.6.1</p>
<p>Masked out results of manual svn list commands:</p>
<p>Non-working svn output:<br />setit@redmine:~$ sudo -u www-data svn --username redminesvn list --config-dir /usr/share/redmine/svn --xml 'https://149.8.205.147/svn/zop'@HEAD<br /><?xml version="1.0"?><br /><lists><br /><list<br /> path="https://XXXXX/XXXXX"><br /><entry<br /> kind="dir"><br /><name>XXXXX</name><br /><commit<br /> revision="165"><br /><author>XXXXX</author><br /><date>2011-02-17T22:14:31.210436Z</date><br /></commit><br /></entry><br /><entry<br /> kind="dir"><br /><name>RPMS</name><br /><commit<br /> revision="166"><br /><author>XXXXX</author><br /><date>2011-02-17T22:15:39.495387Z</date><br /></commit><br /></entry><br /><entry<br /> kind="dir"><br /><name>branches</name><br /><commit<br /> revision="151"><br /><author>XXXXX</author><br /><date>2011-02-17T15:25:01.243637Z</date><br /></commit><br /></entry><br /><entry<br /> kind="dir"><br /><name>tags</name><br /><commit<br /> revision="147"><br /><author>XXXXX</author><br /><date>2011-02-15T19:18:56.290041Z</date><br /></commit><br /></entry><br /><entry<br /> kind="dir"><br /><name>trunk</name><br /><commit<br /> revision="174"><br /><author>XXXXX</author><br /><date>2011-02-18T20:53:01.961666Z</date><br /></commit><br /></entry><br /></list><br /></lists></p>
<p>Working svn output:<br />setit@redmine:~$ sudo -u www-data svn --username redminesvn list --config-dir /usr/share/redmine/svn --xml 'https://subversion.setcorp.com/set_it'@HEAD<br /><?xml version="1.0"?><br /><lists><br /><list<br /> path="https://XXXXX/XXXXX"><br /><entry<br /> kind="dir"><br /><name>branches</name><br /><commit<br /> revision="1"><br /><author>XXXXX</author><br /><date>2008-11-26T02:24:32.556798Z</date><br /></commit><br /></entry><br /><entry<br /> kind="dir"><br /><name>tags</name><br /><commit<br /> revision="1"><br /><author>XXXXX</author><br /><date>2008-11-26T02:24:32.556798Z</date><br /></commit><br /></entry><br /><entry<br /> kind="dir"><br /><name>trunk</name><br /><commit<br /> revision="55"><br /><author>XXXXX</author><br /><date>2011-01-19T21:33:32.032020Z</date><br /></commit><br /></entry><br /></list><br /></lists></p> Redmine - Defect #7572 (Reopened): Commit driven state setting not changablehttps://www.redmine.org/issues/75722011-02-07T17:51:41ZMatthias Neubert
<p>When commiting into project archive with e.g. commit comment fixes <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: One user's bad email address breaks all email notifications for everyone on a project (Closed)" href="https://www.redmine.org/issues/123">#123</a><br />then redmine can be configured to set the state of the fixed ticket e.g. to "Done"</p>
<p>The bug is: after this happened noone can change the state of the ticket anymore.</p>
<p>please fix it</p>
<p>regards<br />Matthias</p> Redmine - Defect #7568 (Reopened): Long combination of characters without spaces goes beyond the ...https://www.redmine.org/issues/75682011-02-07T15:01:54ZИван Сентюров
<p>Try to enter long combination of characters without spaces. For example: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456</p>
<p>It should stay in text form, but after submittimg a report text goes beyond the edge of the window.</p>
<p>Please, see screenshots in attachment.</p> Redmine - Defect #7217 (Reopened): Access to SVN Repository of subproject is not allowed if repo ...https://www.redmine.org/issues/72172011-01-03T10:30:26ZTharuka Pathirana
<p>If a subproject is set to show the parent's project repository but a user is only allowed to access the subproject but not the parent project, they are not allowed to access the repository.</p>
<p>Accessing the repository via the web interface works fine, even commit access works (using the <a href="http://www.redmine.org/projects/redmine/wiki/PluginScmExtensions" class="external">SCM Extensions Plugin</a>).<br />Using TortoiseSVN results in a 403 error, even for read operations.</p> Redmine - Defect #6969 (Reopened): Less-than sign in issue description and comments are not escapedhttps://www.redmine.org/issues/69692010-11-24T17:51:00ZMagnus Henoch
<p>When an issue description or comment contains a less-than sign (<code><</code>), this sign is output verbatim in the issue page, instead of being escaped with ampersand-"lt"-semicolon. This causes the issue details page to be invalid XHTML, which is contrary to the page's doctype, and makes it impossible to read the page with an XML parser. I created <a href="http://demo.redmine.org/issues/38181" class="external">an issue on the demo site</a> to demonstrate the problem.</p>
<p>To reproduce, run <code>xmllint URL-OF-ISSUE-PAGE</code>, like this:<br /><pre>$ xmllint http://demo.redmine.org/issues/38181
http://demo.redmine.org/issues/38181:166: parser error : StartTag: invalid element name
<p>Hm: <</p>
^
http://demo.redmine.org/issues/38181:241: parser error : StartTag: invalid element name
mg alt="Comment" src="/images/comment.png?1286930539" /></a></div><p>And this? <
^
http://demo.redmine.org/issues/38181:330: parser error : Entity 'copy' not defined
Powered by <a href="http://www.redmine.org/">Redmine</a> &copy; 2006-2010 Je
^
</pre></p>
<p>The third error is a false positive (xmllint doesn't know XHTML entities), but the first two errors are symptoms of this problem.</p> Redmine - Defect #6868 (Reopened): migrate_from_trac and trac 0.12https://www.redmine.org/issues/68682010-11-11T17:10:28ZFélix Delval
<p>When I migrate from my Trac 0.12 database using sqlite3. I encounter this error :</p>
<p>Not knowing much about ruby I have some problems finding where it comes from</p>
www-data@myserver:~/public/ruby/redmine-1.0.3$ rake redmine:migrate_from_trac RAILS_ENV="production" --trace<br />(in /home/www-data/public/ruby/redmine-1.0.3)
<ul>
<li>Invoke redmine:migrate_from_trac (first_time)</li>
<li>Invoke environment (first_time)</li>
<li>Execute environment</li>
<li>Execute redmine:migrate_from_trac</li>
</ul>
<p>WARNING: a new project will be added to Redmine during this process.<br />Are you sure you want to continue ? [y/N] y</p>
<p>Trac directory []: /home/www-data/public/python/trac/myproject/<br />Trac database adapter (sqlite, sqlite3, mysql, postgresql) [sqlite3]: <br />Trac database encoding [UTF-8]: <br />Target project identifier []: myproject</p>
<p>Migrating components..<br />Migrating milestones....<br />Migrating custom fields<br />Migrating tickets................<br />Migrating wiki...........................................................................................................rake aborted!</p>
<pre>no implicit conversion to float from nil
/home/www-data/public/ruby/redmine-1.0.3/vendor/rails/activesupport/lib/active_support/core_ext/time/calculations.rb:277:in `minus_without_duration'
/home/www-data/public/ruby/redmine-1.0.3/vendor/rails/activesupport/lib/active_support/core_ext/time/calculations.rb:277:in `minus_without_coercion'
/home/www-data/public/ruby/redmine-1.0.3/vendor/rails/activesupport/lib/active_support/core_ext/time/calculations.rb:286:in `-'
/home/www-data/public/ruby/redmine-1.0.3/lib/tasks/migrate_from_trac.rake:79:in `fake'
/home/www-data/public/ruby/redmine-1.0.3/lib/tasks/migrate_from_trac.rake:547:in `migrate'
/home/www-data/public/ruby/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:369:in `method_missing'
/home/www-data/public/ruby/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/home/www-data/public/ruby/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in `each'
/home/www-data/public/ruby/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in `send'
/home/www-data/public/ruby/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb:215:in `method_missing'
/home/www-data/public/ruby/redmine-1.0.3/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb:369:in `method_missing'
/home/www-data/public/ruby/redmine-1.0.3/lib/tasks/migrate_from_trac.rake:545:in `migrate'
/home/www-data/public/ruby/redmine-1.0.3/lib/tasks/migrate_from_trac.rake:758
/usr/lib/ruby/1.8/rake.rb:636:in `call'
/usr/lib/ruby/1.8/rake.rb:636:in `execute'
/usr/lib/ruby/1.8/rake.rb:631:in `each'
/usr/lib/ruby/1.8/rake.rb:631:in `execute'
/usr/lib/ruby/1.8/rake.rb:597:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:583:in `invoke'
/usr/lib/ruby/1.8/rake.rb:2051:in `invoke_task'
/usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2029:in `each'
/usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:2023:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2001:in `run'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1998:in `run'
/usr/bin/rake:28</pre> Redmine - Defect #6609 (Reopened): % Done for Parent Tasks [2]https://www.redmine.org/issues/66092010-10-08T07:36:18ZEwan Makepeace
<p>If I have parent tasks and sub tasks and I use manual (per issue) % done values, then the parent gets the average of the values of the subtasks.<br />However if I use the option to set % done from status updates then instead of inheriting its % done from the subtasks it takes it from the status attached on the parent task.</p>
<p>Example:</p>
<p><img src="https://www.redmine.org/attachments/download/4635/parent.jpg" alt="" /></p>
<p>In this case 3 of 4 subtasks are finished and the 4th is in progress, yet the parent task remains at 10% because its status is just 'Developing' (which means not much for a container task).</p>
<p>I actually have two separate requests here:</p>
<ol>
<li>I think that parent tasks should inherit their done% from the sub tasks in both modes (note that when using per-issue Done% values I do not get the option to pick a value for the parent, it is always computed, so why not for the by-status version too?)</li>
<li>Rather than average the <span>Done of the child tasks I would prefer to weight them by the estimated time of each subtask, so if I have 2 x 8 hr tasks finished and one 4 hour task not started the parent would be at 80</span> and not 66%.</li>
</ol> Redmine - Defect #6378 (Reopened): Subtask - Start is invalidhttps://www.redmine.org/issues/63782010-09-13T07:18:10ZMartin G
When i try to update subtasks the error message "Start is invalid" appears.<br />For example:
<ul>
<li>The start date of the parent task is '2010-09-10'</li>
<li>The start date of the subtask is '2010-09-10'</li>
</ul>
<p>I've tried some other dates for the subtask and it works for date '2010-10-01' and later...</p> Redmine - Defect #6376 (Reopened): Turning off textile inline with '==' doesn't work.https://www.redmine.org/issues/63762010-09-12T21:06:57ZNoah Diewald
<p>At <a class="external" href="http://www.textism.com/tools/textile/index.php">http://www.textism.com/tools/textile/index.php</a> if I enter:</p>
<pre>
==-test== is ==test-==
-test is test-
</pre>
<p>I get:</p>
<pre>
<p>&#45;test is test&#45;</p>
<p><del>test is test</del></p>
</pre>
<p>In Redmine this produces:</p>
<del>test is test</del>
<p><del>test is test</del></p>
<p>Or:</p>
<pre>
<del>test is test</del>
<p><del>test is test</del></p>
</pre>
<p>This is really bad news for me because I have a bunch of linguists that want to use familiar notations to talk about prefixes and suffixes and this useless delete formatting can't be simply turned off as it can be in normal textile, my only other alternative being to suggest the use of @'s, which change the font and have different meanings.</p> Redmine - Defect #5932 (Reopened): hook for :view_repositories_show_contextual is incompletehttps://www.redmine.org/issues/59322010-07-21T15:30:54ZArnaud Martel
I wrote a plugin to add new commands in repository views (upload files, create directory and delete file/directory) and I noticed that :view_repositories_show_contextual hook lacks of 2 context parameters:
<ul>
<li>path</li>
<li>revision</li>
</ul>
<p>As a "workaround", I patched the views (show.rhtml, entry.rhtml, changes.rhtml and annotate.rhtml) to replace:<br /><pre>
<%= call_hook(:view_repositories_show_contextual, { :repository => @repository, :project => @project }) %>
</pre><br />with<br /><pre>
<%= call_hook(:view_repositories_show_contextual, { :repository => @repository, :project => @project, :path => @path, :revision => @rev }) %>
</pre></p>
<p>but it would be better if included in the next release of Redmine...</p> Redmine - Defect #5327 (Reopened): Auth source LDAP parameters being filled incorrectlyhttps://www.redmine.org/issues/53272010-04-15T13:06:04ZRadek Antoniuk
<p>if you go to the page of LDAP auth source configuration, the username/password fields are automatically pre-filled with current credentials.<br />which is wrong, because they are optional.</p>
<p>if you firstly define LDAP auth source (without user/pass).<br />then go again to edit the settings and click save (without clearing the username/password fields)<br />and then it fucks up the configuration because it saves my credentials for LDAP connection.</p> Redmine - Defect #5114 (Reopened): New issue statuses not showing up in old workflowshttps://www.redmine.org/issues/51142010-03-18T04:56:43ZJames Turnbull
<p>In trunk (<a class="changeset" title="Fixes undefined method 'notes' error from r3594" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/3596">r3596</a>) if I add a new issue status it does not appear in the Administrator -> Workflow work flow check-box forest for each trunk. If I create a new tracker then the new issue status is present but old tracker do not get the new status.</p> Redmine - Defect #3793 (Reopened): Error 302 (Found): "Filter chain halted" on issue creationhttps://www.redmine.org/issues/37932009-08-28T19:39:55Zkardan brueckenschlaeger
<ul>
<li>PLEASE check your error log</li>
</ul>
<pre>
Found
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
</pre>
<a name="Input-to-reproduce"></a>
<h1 >Input to reproduce<a href="#Input-to-reproduce" class="wiki-anchor">¶</a></h1>
<ul>
<li>when the redmine session cookie got deleted, the created of a previously opened 'new issue'-form fails with 302 (Found)</li>
<li>like in <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Blank screen when unauthorized access attempt. (Closed)" href="https://www.redmine.org/issues/51">#51</a>, the submitted data are lost</li>
</ul>
<strong>steps to reproduce:</strong>
<ul>
<li>login</li>
<li>go to /projects/*/issues/new</li>
<li>delete the cookie</li>
<li>submit the issue</li>
</ul>
<ul>
<li>this issue has been reproduced on redmine.org :)</li>
</ul>
<p><em>log/production.log:</em><br /><pre>
Filter chain halted as [:check_if_login_required] rendered_or_redirected.
Completed in 0.02353 (42 reqs/sec) | DB: 0.00025 (1%) | 302 Found [https://kern.brueckenschlaeger.de/projects/support/issues/new]
</pre></p>
<strong>environment:</strong>
<ul>
<li>ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]</li>
<li>Rails Rails 2.1.2</li>
<li>mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2</li>
<li>git version 1.5.6.5</li>
</ul>
<pre>
79d6c7aec94004012d105cd4dc66b9dd4586df55
Date: Sun May 10 04:01:40 2009 +0200
init
</pre>
<pre>
# cat /etc/debian_version
5.0.2
</pre>
<p>ii libdb-ruby1.8 0.6.5-2 Interface to Berkeley DB for Ruby 1.8<br />ii libfusefs-ruby 0.6.0-3 library to easily define a filesystem in Rub<br />ii libfusefs-ruby1.8 0.6.0-3 library to easily define a filesystem in Rub<br />ii libgettext-ruby1.8 1.91.0-1.2 Gettext for ruby1.8<br />ii libopenssl-ruby 4.2 OpenSSL interface for Ruby<br />ii libopenssl-ruby1.8 1.8.7.72-3 OpenSSL interface for Ruby 1.8<br />ii libreadline-ruby1.8 1.8.7.72-3 Readline interface for Ruby 1.8<br />ii librmagick-ruby1.8 2.5.2-1 ImageMagick API for Ruby<br />ii libruby1.8 1.8.7.72-3 Libraries necessary to run Ruby 1.8<br />ii libsqlite3-ruby 1.2.2-1 SQLite3 interface for Ruby<br />ii libsqlite3-ruby1.8 1.2.2-1 SQLite3 interface for Ruby 1.8<br />ii libxml-ruby1.8 0.5.2.0-3+lenny1 Ruby interface to libxml<br />ii libxmpp4r-ruby 0.4-1 XMPP/Jabber library for Ruby (dummy package)<br />ii libxmpp4r-ruby1.8 0.4-1 XMPP/Jabber library for Ruby<br />ii libxslt-ruby 0.9.2-4 Ruby interface to libxslt<br />ii libxslt-ruby1.8 0.9.2-4 Ruby interface to libxslt<br />ii rake 0.8.1-3 a ruby build program<br />ii rdoc 4.2 Generate documentation from ruby source file<br />ii ruby 4.2 An interpreter of object-oriented scripting <br />ii ruby-dev 4.2 Header files for compiling extension modules<br />ii ruby1.8 1.8.7.72-3 Interpreter of object-oriented scripting lan<br />ii ruby1.8-dev 1.8.7.72-3 Header files for compiling extension modules<br />ii rubygems 1.2.0-3 package management framework for Ruby librar<br />ii rubygems1.8 1.2.0-3 package management framework for Ruby librar</p>
<a name="DATA-that-caused-302-Found"></a>
<h1 ><i>DATA</i> that caused 302 (Found):<a href="#DATA-that-caused-302-Found" class="wiki-anchor">¶</a></h1>
<p><em>stripped</em> => please check your log</p> Redmine - Defect #3554 (Reopened): The IMAP method for anonymous issue creation doesn't work from...https://www.redmine.org/issues/35542009-06-28T15:06:05ZMarcel Evenson
<p>The Anonymous user email mapping from Revision 2789 doesn't work. I'm trying to use the IMAP method to create an issue from email.</p>
<p>Here is the command I'm using:<br />rake redmine:email:receive_imap RAILS_ENV="production" host=mail.mydomain.com username=<a class="email" href="mailto:support@mydomain.com">support@mydomain.com</a> password=mypassword project=support unknown_user=accept</p>
<p>Note: After I run the command the test email in the INBOX is marked as "seen" (so I know its connecting and reading the mailbox properly) but no issue is created. I've double checked the permissions and the anonymous user has "add issues" permission. There are no errors in the error log.</p>
<p>Here is my environment:<br />About your application's environment<br />Ruby version 1.8.5 (i386-linux)<br />RubyGems version 1.3.1<br />Rails version 2.2.2<br />Active Record version 2.2.2<br />Action Pack version 2.2.2<br />Active Resource version 2.2.2<br />Action Mailer version 2.2.2<br />Active Support version 2.2.2<br />Application root /var/www/vhosts/mydomain.com/httpdocs/redmine<br />Environment production<br />Database adapter mysql<br />Database schema version 20090614091200</p> Redmine - Defect #2414 (Reopened): 'Add News Button' in 'Add news'https://www.redmine.org/issues/24142008-12-29T17:40:32ZKarl Heinz Marbaise
<p>I have observed a little 'Bug', cause if i going to News and click on 'Add news' I'm forwarded to the 'Add news' area but the 'Add news' Button is displayed anymore.<br />My opinion is not to display the 'Add news' Button there. Take a look at the attached screen shot.</p>
<p>May be this is a feauture? or already fixed on a newer revision ?</p>
<ul>
<li>Revision 2081 on trunk<br />my environment:<br /><pre>minden205:/usr/local/vhosts/redmine # ruby script/about
About your application's environment
Ruby version 1.8.6 (x86_64-linux)
RubyGems version 1.3.0
Rails version 2.1.1
Active Record version 2.1.1
Action Pack version 2.1.1
Active Resource version 2.1.1
Action Mailer version 2.1.1
Active Support version 2.1.1
Application root /usr/local/vhosts/redmine
Environment development
Database adapter mysql
Database schema version 101
</pre></li>
</ul> Redmine - Defect #1628 (Reopened): redmine sends http on forms on https serverhttps://www.redmine.org/issues/16282008-07-12T08:58:14ZMichal Bielicki
<p>I have the following configuration:<br />Glassfish v2UR2<br />jruby 1.1.2<br />rails 2.0.2</p>
<p>I have a http-listener on port 443 with security enabled.<br />Applications like xwiki, spree (rails shopping system) and others work fine.<br />redmine is supposed to be the root application on the system.</p>
<p>I had it all running fine with redmine-0.7.0 and updated to 0.7-stable from svn (I am running revision 1651). Now <a class="external" href="https://mywebserver/">https://mywebserver/</a> redirects to <a class="external" href="http://mywebserver/login">http://mywebserver/login</a> which of course does not exist.<br />When I manage to login by changing urls by hand, website links work fine, but all forms, like creating issues etc, still try to send to a http address instead of a https address.<br />THis was nt happening with 0.7.0</p> Redmine - Defect #1513 (Reopened): Fixing issues in commit messages can break the workflowhttps://www.redmine.org/issues/15132008-06-21T00:50:54ZLeandro Lucarella
<p>I have a redmine instances with trackers with orthogonal states (for example, task have a state "done" instead of "fixed" for bugs). In the workflow, a task can never be in "fixed" state and for that reason, can't go to any other state from "fixed" state..</p>
<p>On the other hand, I have the option "Referencing and fixing issues in commit messages" activated but I can only specify one "Applied status" (which I have in fixed).</p>
<p>The problem is, if a commit message closes a task, the task is set to be in "fixed" state, but (apart from being wrong) it can't be changed (unless I make the workflow less restrictive, which I rather not).</p>
<p>So, I think it would be great if one can specify a "default" closed state for a tracker, and have a option in "Applied status" that says "Default closed state" or something like that, so when a commit closes an issue, the correct state can be set.</p>
<p>It would be great too if one can specify how to close the issue in the commit message (something like "closes <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: NoMethodError causes HTTP 500 error (Closed)" href="https://www.redmine.org/issues/1234">#1234</a> (fixed)".</p>
<p>Thank you.</p>
<p>Using Redmine 0.7.2.1557 (MySQL).</p>