Redmine: Issueshttps://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292024-02-08T17:20:47ZRedmine
Redmine Redmine - Defect #40215 (New): 422 Invalid form authenticity token.https://www.redmine.org/issues/402152024-02-08T17:20:47ZMemphis admin
<p>Error 422 Invalid form authenticity token is poping when accessing redmine from a different subnet.</p> Redmine - Defect #40189 (New): about packaging and distribution on fedorahttps://www.redmine.org/issues/401892024-02-03T04:04:57ZNeftali Yagua
<p>We would like to package redmine for the fedora distribution, however we hace not found information in the sources about the licenses with the distribution is allowed.</p> Redmine - Defect #40121 (New): InvalidCrossOriginRequest exception raised by automated pentests o...https://www.redmine.org/issues/401212024-01-24T11:58:52ZLiane Hampe
<a name="Problem"></a>
<h2 >Problem<a href="#Problem" class="wiki-anchor">¶</a></h2>
<p>When an automated pentest or a malicous user requests for example:</p>
<pre>
https://<your-domain>.tld/projects/autocomplete.js
</pre>
<p>the following exception will be raised:</p>
<pre>
An ActionController::InvalidCrossOriginRequest occurred in projects#autocomplete:
Security warning: an embedded <script> tag on another site requested protected JavaScript. If you know what you're doing, go ahead and disable forgery protection on this action to permit cross-origin JavaScript embedding.
</pre>
<p><strong>Note:</strong> Any other url containing *.js will raise this exception.</p>
<p>All currently supported versions of Redmine are affected.</p>
<a name="Solution"></a>
<h2 >Solution<a href="#Solution" class="wiki-anchor">¶</a></h2>
<p>The solution is to rescue from ActionController::InvalidCrossOriginRequest.</p>
<p>The attached patch file fix_invalid_cross_origin_request_exception.patch gives an example how to do that. A test is also included.</p> Redmine - Defect #40100 (New): User ordering by name is incorrect for french languagehttps://www.redmine.org/issues/401002024-01-23T14:33:10Zphilippe lhardy
<p>by example in user list to pick for ticket assignement users with accentuated characters don't follow natural french ordering.<br />It should normalize name with accentuated characters like éè to correponding non accenutated letter prior of ordering.<br />when the list is very long it can lead to the false impression that user is not registered.</p>
<p>in redmine : Claire < Clovis < Clément < Constantin < Cyril < Céline</p>
<p>while we would expect : Céline (Celine) < Claire < Clément (Clement) < Clovis < Constantin < Cyril</p> Redmine - Defect #39843 (Needs feedback): Create a new task, the page does not jump after the tas...https://www.redmine.org/issues/398432023-12-14T03:02:52Zjianjun liu
<p>Environment:<br /><pre>
Redmine version 5.0.4.stable
Ruby version 2.7.5-p203 (2021-11-24) [x86_64-linux-gnu]
Rails version 6.1.7
Environment production
Database adapter PostgreSQL
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Circle (includes JavaScript)
</pre></p>
<p><img src="https://www.redmine.org/attachments/download/31626/clipboard-202312141102-imz31.png" alt="" /><br /><img src="https://www.redmine.org/attachments/download/31627/clipboard-202312141102-9wh6v.png" alt="" /></p> Redmine - Defect #39803 (Needs feedback): Plugin modules no longer workinghttps://www.redmine.org/issues/398032023-12-10T13:58:20ZGuus Teley
As of Redmine 5.1.x (Rails 7.1.2) plugins that rely on modules in the plugin/lib directory are no longer working.<br />Debugging lib/redmine/plugin_loader.rb shows that in <code>add_autoload_paths</code> in <code>engine_cfg.all_eager_load_paths.each do |dir|</code> the following directories are added:
<ul>
<li>app/controllers</li>
<li>app/helpers</li>
<li>app/models</li>
<li>lib</li>
</ul>
<p>Note that the lib directory also has been added before with an explicit <code>engine_cfg.paths.add 'lib', eager_load: true</code></p>
<p>Trying to force load the required module with <code>require File.expand_path('../lib/my_module', __FILE__)</code> or <code>require_relative 'lib/my_module'</code> doesn't help.<br />Before migrating to Rails 7, a simple <code>require MyModule</code> worked fine.</p> Redmine - Defect #39505 (New): redmine preview whether the image can be scaled with the mousehttps://www.redmine.org/issues/395052023-11-02T06:29:07Zcrystal su
<p>The images in the page appear to be adaptive to the browser window size. Images are zoomed in and out based on browser percentage. Can you zoom in and out the image with the mouse without changing the browser percentage? Thanks for your reply</p> Redmine - Defect #38992 (New): How do I use helper_queries_column_value helper hook?https://www.redmine.org/issues/389922023-08-28T02:06:07Zkeineahnung 2345mimifasosofamire1123@gmail.com
<p>In app/helpers/queries_helper.rb, there is:</p>
<pre><code class="ruby syntaxhl"> <span class="k">def</span> <span class="nf">column_value</span><span class="p">(</span><span class="n">column</span><span class="p">,</span> <span class="n">item</span><span class="p">,</span> <span class="n">value</span><span class="p">)</span>
<span class="n">content</span> <span class="o">=</span> <span class="o">...</span>
<span class="n">call_hook</span><span class="p">(</span><span class="ss">:helper_queries_column_value</span><span class="p">,</span>
<span class="p">{</span><span class="ss">:content</span> <span class="o">=></span> <span class="n">content</span><span class="p">,</span> <span class="ss">:column</span> <span class="o">=></span> <span class="n">column</span><span class="p">,</span> <span class="ss">:item</span> <span class="o">=></span> <span class="n">item</span><span class="p">,</span> <span class="ss">:value</span> <span class="o">=></span> <span class="n">value</span><span class="p">})</span>
<span class="n">content</span>
<span class="k">end</span>
</code></pre>
<p>In my xxx_helper_queries_column_value_hook.rb:</p>
<pre><code class="ruby syntaxhl"> <span class="k">def</span> <span class="nf">helper_queries_column_value</span><span class="p">(</span><span class="n">context</span> <span class="o">=</span> <span class="p">{</span> <span class="p">})</span>
<span class="k">if</span> <span class="n">context</span><span class="p">[</span><span class="ss">:column</span><span class="p">].</span><span class="nf">name</span> <span class="o">==</span> <span class="ss">:action</span>
<span class="n">context</span><span class="p">[</span><span class="ss">:content</span><span class="p">]</span> <span class="o">=</span> <span class="s2">"Ushiro"</span>
<span class="k">end</span>
<span class="k">end</span>
</code></pre>
<p>I can change the parameter context, but when I checked in app/helpers/queries_helper.rb, I found that the variable content is not updated. So what's the proper way of using this hook? My guess is that this piece of code:</p>
<pre><code class="ruby syntaxhl"> <span class="n">call_hook</span><span class="p">(</span><span class="ss">:helper_queries_column_value</span><span class="p">,</span>
<span class="p">{</span><span class="ss">:content</span> <span class="o">=></span> <span class="n">content</span><span class="p">,</span> <span class="ss">:column</span> <span class="o">=></span> <span class="n">column</span><span class="p">,</span> <span class="ss">:item</span> <span class="o">=></span> <span class="n">item</span><span class="p">,</span> <span class="ss">:value</span> <span class="o">=></span> <span class="n">value</span><span class="p">})</span>
<span class="n">content</span>
</code></pre>
<p>should be revised to:</p>
<pre><code class="ruby syntaxhl"> <span class="n">content</span> <span class="o">=</span> <span class="n">call_hook</span><span class="p">(</span><span class="ss">:helper_queries_column_value</span><span class="p">,</span>
<span class="p">{</span><span class="ss">:content</span> <span class="o">=></span> <span class="n">content</span><span class="p">,</span> <span class="ss">:column</span> <span class="o">=></span> <span class="n">column</span><span class="p">,</span> <span class="ss">:item</span> <span class="o">=></span> <span class="n">item</span><span class="p">,</span> <span class="ss">:value</span> <span class="o">=></span> <span class="n">value</span><span class="p">})</span>
<span class="n">content</span>
</code></pre> Redmine - Defect #38317 (New): Redmine 5.0 stable Mention User function doesn't send mail notific...https://www.redmine.org/issues/383172023-03-02T03:31:50ZCalvin S
<p>Redmine Installation Info: Remdmine 5.0.0 Stable <br />Problem: <br />when updating description or contents of issue with @ function, users list could be shown correctly, but no mail notification sent to the user. user name format is GivenName.FamilyName</p>
<p>I've searched the history problem related to mention user function, and try with the latest R21665, but still doesn't working.</p>
<p>user account notification setting refer to the attachment<br /><img src="https://www.redmine.org/attachments/download/30219/problem.JPG" alt="" /></p> Redmine - Defect #37762 (New): Project form - editable custom fieldshttps://www.redmine.org/issues/377622022-10-10T10:02:28ZMaciej Pankanin
<p>Recently I was developing plugin which adds <em>Editable by</em> to project's custom fields (works similar to <em>Visible by</em>). I analyzed RM code and found out Project has <em>editable_custom_field_values</em> - decided to override it in my plugin. Then I was surprised that in this method is not used in form. So my question is why this method even exists in Project model?</p>
<p>In issue or timelog forms <em>editable_custom_field_values</em> is used. Could we unify this?</p> Redmine - Defect #37688 (New): Move to modern authentication(OAuth 2.0) from IMAP for receiving e...https://www.redmine.org/issues/376882022-09-19T17:14:18ZRaja Govindan
<p>Hello,</p>
<pre><code>Microsoft is going to disable IMAP authentication to read emails from Office365. I need to use modern authentication to read/receive emails.</code></pre>
<pre><code>Currently, I am using IMAP to receive email into Redmine.</code></pre>
<p>-- part of script below---<br />bundle exec rake <del>f Rakefile redmine:email:receive_imap host=outlook.office365.com<br />-------------------------</del></p>
<p>Could you please help me in providing script to use modern authentication instead of <abbr title="receive_imap">IMAP</abbr></p>
<p>Thanks <br />-/Raja G</p> Redmine - Defect #37584 (New): Gantt PNG export fails (MiniMagick error)https://www.redmine.org/issues/375842022-08-17T15:03:29ZOana VIGY
<p>Dear All,</p>
<p>I encounter a problem while exporting Gantt chart in PNG <code>MiniMagick::Error (You must have ImageMagick or GraphicsMagick installed):</code> as already reported in <a class="issue tracker-1 status-8 priority-4 priority-default" title="Defect: https://www.redmine.org/boards/2/topics/65661 (Reopened)" href="https://www.redmine.org/issues/35424">#35424</a>.</p>
<p>I tried the <a href="https://redmine.org/issues/36231#note-9" class="external">fix proposed by Jan</a> without success.</p>
<p>We just upgraded to Redmine 5.0.2 (from 4.2.2) with Ruby 3.0 (I don't remember if it worked earlier).</p>
<p>If someone have an idea. Thanks.</p>
<p>Best regards,</p>
<p>Oana</p>
<hr />
<p><strong>Production log:</strong></p>
<pre>
I, [2022-08-17T16:10:49.664599 #93460] INFO -- : [367292a9-e17e-4a86-a18d-13976de5d954] Started GET "/projects/qualite/issues/gantt.png?month=8&months=6&year=2022&zoom=2" for 10.7.19.28 at 2022-08-17 16:10:49 +0200
I, [2022-08-17T16:10:49.666126 #93460] INFO -- : [367292a9-e17e-4a86-a18d-13976de5d954] Processing by GanttsController#show as PNG
I, [2022-08-17T16:10:49.666212 #93460] INFO -- : [367292a9-e17e-4a86-a18d-13976de5d954] Parameters: {"month"=>"8", "months"=>"6", "year"=>"2022", "zoom"=>"2", "project_id"=>"qualite"}
I, [2022-08-17T16:10:49.673618 #93460] INFO -- : [367292a9-e17e-4a86-a18d-13976de5d954] Current user: adminPPM (id=50)
I, [2022-08-17T16:10:49.734119 #93460] INFO -- : [367292a9-e17e-4a86-a18d-13976de5d954] Completed 500 Internal Server Error in 68ms (ActiveRecord: 31.5ms | Allocations: 17710)
F, [2022-08-17T16:10:49.734835 #93460] FATAL -- : [367292a9-e17e-4a86-a18d-13976de5d954]
[367292a9-e17e-4a86-a18d-13976de5d954] MiniMagick::Error (You must have ImageMagick or GraphicsMagick installed):
[367292a9-e17e-4a86-a18d-13976de5d954]
[367292a9-e17e-4a86-a18d-13976de5d954] lib/redmine/helpers/gantt.rb:401:in `to_image'
[367292a9-e17e-4a86-a18d-13976de5d954] app/controllers/gantts_controller.rb:46:in `block (2 levels) in show'
[367292a9-e17e-4a86-a18d-13976de5d954] app/controllers/gantts_controller.rb:42:in `show'
[367292a9-e17e-4a86-a18d-13976de5d954] lib/redmine/sudo_mode.rb:61:in `sudo_mode'
</pre>
<p><strong>Redmine information</strong></p>
<pre>
Environment:
Redmine version 5.0.2.stable
Ruby version 3.0.4-p208 (2022-04-12) [amd64-freebsd13]
Rails version 6.1.6
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Default
SCM:
Git 2.37.1
Filesystem
Redmine plugins:
no plugin installed
</pre>
<strong>MiniMagick and ImageMagick</strong>
<ul>
<li>MiniMagick available : mini_magick (4.11.0)</li>
<li>ImageMagick
<ul>
<li>Version7.1.0-34 Q16-HDRI</li>
<li>Path defined in "configuration.yml": <code>imagemagick_convert_command: /usr/local/bin/convert</code></li>
</ul></li>
</ul> Redmine - Defect #37540 (New): If issue assigned to is a group, email will not send normally.https://www.redmine.org/issues/375402022-08-03T02:49:16ZTerence Lien
<p>I had set a group that has some users.<br />Now, to create a issue and assign this issue to the group, set due day as yesterday,<br />execute:<br /><pre>
bundle exec rake redmine:send_reminders days=1 RAILS_ENV="production"
</pre><br />get error:<br /><pre>
E, [2022-08-03T10:19:27.602043 #152172] ERROR -- : Email delivery error: end of file reached
</pre></p>
<p>I tried use crontab to trigger reminder, today I got the message:<br /><pre>
# Logfile created on 2022-08-03 09:00:19 +0800 by logger.rb/v1.4.2
I, [2022-08-03T09:00:19.995716 #148805] INFO -- : Rendering mailer/reminder.text.erb within layouts/mailer
I, [2022-08-03T09:00:20.143974 #148805] INFO -- : Rendered mailer/reminder.text.erb within layouts/mailer (147.4ms)
I, [2022-08-03T09:00:20.145199 #148805] INFO -- : Rendering mailer/reminder.html.erb within layouts/mailer
I, [2022-08-03T09:00:20.310644 #148805] INFO -- : Rendered mailer/reminder.html.erb within layouts/mailer (165.3ms)
E, [2022-08-03T09:00:20.510885 #148805] ERROR -- : Email delivery error: end of file reached
I, [2022-08-03T09:00:20.511416 #148805] INFO -- : Performed ActionMailer::DeliveryJob (Job ID: b9b7789d-c3aa-47a4-9a76-c30cb3aee1dc) from Inline(mailers) in 647.54ms
I, [2022-08-03T09:00:20.517979 #148805] INFO -- : Enqueued ActionMailer::DeliveryJob (Job ID: b9b7789d-c3aa-47a4-9a76-c30cb3aee1dc) to Inline(mailers) with arguments: "Mailer", "reminder", "deliver_now", #<GlobalID:0x0000557910b7cdf0 @uri=#<URI::GID gid://redmine-app/User/87>>, [#<GlobalID:0x0000557910b7b158 @uri=#<URI::GID gid://redmine-app/Issue/4218>>, #<GlobalID:0x0000557910b79100 @uri=#<URI::GID gid://redmine-app/Issue/4241>>, #<GlobalID:0x0000557910b783e0 @uri=#<URI::GID gid://redmine-app/Issue/4242>>, #<GlobalID:0x0000557910b77490 @uri=#<URI::GID gid://redmine-app/Issue/4243>>, #<GlobalID:0x0000557910b763b0 @uri=#<URI::GID gid://redmine-app/Issue/4244>>, #<GlobalID:0x0000557910b75410 @uri=#<URI::GID gid://redmine-app/Issue/4245>>, #<GlobalID:0x0000557910b745b0 @uri=#<URI::GID gid://redmine-app/Issue/4246>>, #<GlobalID:0x0000557910b73700 @uri=#<URI::GID gid://redmine-app/Issue/4247>>, #<GlobalID:0x0000557910b71e28 @uri=#<URI::GID gid://redmine-app/Issue/4248>>, #<GlobalID:0x0000557910b710b8 @uri=#<URI::GID gid://redmine-app/Issue/4249>>, #<GlobalID:0x0000557910b701e0 @uri=#<URI::GID gid://redmine-app/Issue/4250>>, #<GlobalID:0x0000557910b673d8 @uri=#<URI::GID gid://redmine-app/Issue/4256>>, #<GlobalID:0x0000557910b66140 @uri=#<URI::GID gid://redmine-app/Issue/4257>>, #<GlobalID:0x0000557910b65060 @uri=#<URI::GID gid://redmine-app/Issue/4258>>, #<GlobalID:0x0000557910b64278 @uri=#<URI::GID gid://redmine-app/Issue/4259>>, #<GlobalID:0x0000557910b63350 @uri=#<URI::GID gid://redmine-app/Issue/4260>>, #<GlobalID:0x0000557910b62518 @uri=#<URI::GID gid://redmine-app/Issue/4261>>, #<GlobalID:0x0000557910b617a8 @uri=#<URI::GID gid://redmine-app/Issue/4262>>, #<GlobalID:0x0000557910b60a60 @uri=#<URI::GID gid://redmine-app/Issue/4263>>, #<GlobalID:0x0000557910b5fca0 @uri=#<URI::GID gid://redmine-app/Issue/4268>>, #<GlobalID:0x0000557910b5f070 @uri=#<URI::GID gid://redmine-app/Issue/4269>>, #<GlobalID:0x0000557910b5e418 @uri=#<URI::GID gid://redmine-app/Issue/4270>>, #<GlobalID:0x0000557910b5d518 @uri=#<URI::GID gid://redmine-app/Issue/4271>>, #<GlobalID:0x0000557910b5c690 @uri=#<URI::GID gid://redmine-app/Issue/4272>>, #<GlobalID:0x0000557910b5ba38 @uri=#<URI::GID gid://redmine-app/Issue/4273>>, #<GlobalID:0x0000557910b5a980 @uri=#<URI::GID gid://redmine-app/Issue/4275>>, #<GlobalID:0x0000557910b59378 @uri=#<URI::GID gid://redmine-app/Issue/4276>>, #<GlobalID:0x0000557910b58568 @uri=#<URI::GID gid://redmine-app/Issue/4279>>, #<GlobalID:0x0000557910aab8b8 @uri=#<URI::GID gid://redmine-app/Issue/4280>>, #<GlobalID:0x0000557910aaaff8 @uri=#<URI::GID gid://redmine-app/Issue/4281>>, #<GlobalID:0x0000557910aaa008 @uri=#<URI::GID gid://redmine-app/Issue/4282>>, #<GlobalID:0x0000557910aa9568 @uri=#<URI::GID gid://redmine-app/Issue/4283>>, #<GlobalID:0x0000557910aa8690 @uri=#<URI::GID gid://redmine-app/Issue/4284>>, #<GlobalID:0x0000557910a9e9d8 @uri=#<URI::GID gid://redmine-app/Issue/4313>>, #<GlobalID:0x0000557910a9df60 @uri=#<URI::GID gid://redmine-app/Issue/4314>>, #<GlobalID:0x0000557910a9d678 @uri=#<URI::GID gid://redmine-app/Issue/4315>>, #<GlobalID:0x0000557910a9cca0 @uri=#<URI::GID gid://redmine-app/Issue/4316>>, #<GlobalID:0x0000557910a9c340 @uri=#<URI::GID gid://redmine-app/Issue/4317>>, #<GlobalID:0x0000557910b0b948 @uri=#<URI::GID gid://redmine-app/Issue/4318>>], 1
</pre><br />I thinks that means there has 39 issues over due day.</p>
<p>At the final, I set other issue over due day and assign to me only, <br />the email can send to me, and I saw the content has the last one and above issues.</p>
<p>Please hava a check. Thanks.</p>
<pre>
Environment:
Redmine version 4.2.7.stable
Ruby version 2.7.0-p0 (2019-12-25) [x86_64-linux-gnu]
Rails version 5.2.8
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.13.0
Mercurial 5.3.1
Cvs 1.12.13
Bazaar 3.0.2
Git 2.25.1
Filesystem
Redmine plugins:
external_links_in_new_window 0.9
redmine_closed_date 0.1.1
redmine_custom_workflows 2.0.4
redmine_dmsf 3.0.3
redmine_hearts 2.1.1
redmine_issue_templates 1.1.0
redmine_issues_panel 0.0.5
redmine_logs 0.3.0
redmine_mermaid_macro 1.0.1
redmine_message_customize 0.1.5
redmine_searchable_selectbox 0.1.10
redmine_status_report 1.0.0
redmine_theme_changer 0.6.0
redmine_wysiwyg_editor 0.27.0
redmine_xlsx_format_issue_exporter 0.1.7
</pre> Redmine - Defect #37257 (New): Conflict when update sub-project ofhttps://www.redmine.org/issues/372572022-06-16T14:30:00ZXavier MARC
<p>I want to update the sub-project of my project. but when i click to save i have an 409 error (conflict).<br />I check in the log and i have this error :</p>
<p>ActiveRecord::StaleObjectError (Attempted to update a stale object: Issue.):</p>
<p>app/models/issue.rb:227:in `create_or_update'<br />app/models/issue.rb:1880:in `block in update_versions'<br />app/models/issue.rb:1874:in `update_versions'<br />app/models/issue.rb:1467:in `update_versions_from_hierarchy_change'<br />app/models/project.rb:1033:in `update_versions_from_hierarchy_change'<br />app/controllers/projects_controller.rb:216:in `update'<br />lib/redmine/sudo_mode.rb:61:in `sudo_mode'</p>
<p>Thanks</p> Redmine - Defect #37165 (New): Can not get anonymous user using User.findhttps://www.redmine.org/issues/371652022-05-27T02:15:06ZYuichi HARADA
<p>When I tried to get an anonymous user(id: 6) with <code>User.find</code>, the behavior of <code>User.find</code> is different between 4.2-stable and trunk(<a class="changeset" title="Wiki notation `attachment:file_name` cannot make a link to a file attached to other journals (#35..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/21605">r21605</a>).</p>
<p>4.2-stable<br /><pre>
% RAILS_ENV=development bundle exec rails console
Loading development environment (Rails 5.2.8)
>> User.find(6)
Creating scope :sorted. Overwriting existing method Group.sorted.
Creating scope :sorted. Overwriting existing method User.sorted.
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."type" IN ('User', 'AnonymousUser') AND "users"."id" = ? LIMIT ? [["id", 6], ["LIMIT", 1]]
=> #<AnonymousUser id: 6, login: "", hashed_password: "1", firstname: "", lastname: "Anonymous", admin: false, status: 0, last_login_on: nil, language: "", auth_source_id: nil, created_on: "2006-07-19 17:33:19", updated_on: "2006-07-19 17:33:19", type: "AnonymousUser", identity_url: nil, mail_notification: "only_my_events", salt: nil, must_change_passwd: false, passwd_changed_on: nil, twofa_scheme: nil, twofa_totp_key: nil, twofa_totp_last_used_at: nil>
>> exit
</pre></p>
<p>trunk<br /><pre>
% RAILS_ENV=development bundle exec rails console
Loading development environment (Rails 6.1.6)
[1] pry(main)> User.find(6)
Creating scope :sorted. Overwriting existing method User.sorted.
(3.5ms) SELECT sqlite_version(*)
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."type" = ? AND "users"."id" = ? LIMIT ? [["type", "User"], ["id", 6], ["LIMIT", 1]]
ActiveRecord::RecordNotFound: Couldn't find User with 'id'=6
from vendor/bundle/ruby/3.1.0/gems/activerecord-6.1.6/lib/active_record/core.rb:338:in `find'
[2] pry(main)> exit
</pre></p> Redmine - Defect #37048 (New): generate redmine_plugin is broken for Redmine 5https://www.redmine.org/issues/370482022-04-27T19:53:23Zfabrice salvaire
<p>I tried this command</p>
<pre>
bundle exec rails generate redmine_plugin Polls
/usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require': cannot load such file -- listen (LoadError)
from /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
from /usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `block in require'
from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:299:in `load_dependency'
from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `require'
from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/evented_file_update_checker.rb:6:in `<top (required)>'
from /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
from /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
from /usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `block in require'
from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:299:in `load_dependency'
from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `require'
from /home/www/redmine-5.0.0/config/environments/development.rb:58:in `block in <top (required)>'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/railtie.rb:234:in `instance_eval'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/railtie.rb:234:in `configure'
from /home/www/redmine-5.0.0/config/environments/development.rb:5:in `<top (required)>'
from /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
from /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
from /usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `block in require'
from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:299:in `load_dependency'
from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `require'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/engine.rb:571:in `block (2 levels) in <class:Engine>'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/engine.rb:570:in `each'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/engine.rb:570:in `block in <class:Engine>'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/initializable.rb:32:in `instance_exec'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/initializable.rb:32:in `run'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/initializable.rb:61:in `block in run_initializers'
from /usr/share/ruby/tsort.rb:228:in `block in tsort_each'
from /usr/share/ruby/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
from /usr/share/ruby/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
from /usr/share/ruby/tsort.rb:431:in `each_strongly_connected_component_from'
from /usr/share/ruby/tsort.rb:421:in `block in each_strongly_connected_component_from'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/initializable.rb:50:in `each'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/initializable.rb:50:in `tsort_each_child'
from /usr/share/ruby/tsort.rb:415:in `call'
from /usr/share/ruby/tsort.rb:415:in `each_strongly_connected_component_from'
from /usr/share/ruby/tsort.rb:349:in `block in each_strongly_connected_component'
from /usr/share/ruby/tsort.rb:347:in `each'
from /usr/share/ruby/tsort.rb:347:in `call'
from /usr/share/ruby/tsort.rb:347:in `each_strongly_connected_component'
from /usr/share/ruby/tsort.rb:226:in `tsort_each'
from /usr/share/ruby/tsort.rb:205:in `tsort_each'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/initializable.rb:60:in `run_initializers'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/application.rb:391:in `initialize!'
from /home/www/redmine-5.0.0/config/environment.rb:16:in `<top (required)>'
from /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
from /usr/share/gems/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
from /usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb:35:in `require'
from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `block in require'
from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:299:in `load_dependency'
from /usr/share/gems/gems/activesupport-6.1.4.7/lib/active_support/dependencies.rb:332:in `require'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/application.rb:367:in `require_environment!'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/command/actions.rb:28:in `require_environment!'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/command/actions.rb:15:in `require_application_and_environment!'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/commands/generate/generate_command.rb:21:in `perform'
from /usr/share/gems/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
from /usr/share/gems/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
from /usr/share/gems/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/command/base.rb:69:in `perform'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/command.rb:48:in `invoke'
from /usr/share/gems/gems/railties-6.1.4.7/lib/rails/commands.rb:18:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
</pre> Redmine - Defect #36794 (New): Issue copying ignores workflow ruleshttps://www.redmine.org/issues/367942022-03-17T15:45:10ZDmitry Makurin
<p><code>Issue.copy</code> ignores rules defined by workflow for status <code>New</code> (new issue form).</p>
<p>A simple example.</p>
<p>Let's say we have an issue:</p>
<p>Project: eCookBook<br />Tracker: Bug<br />Status: Closed<br />Category: Print</p>
<p>Create a workflow rule where for tracker <code>Bug</code> and role <code>Manager</code> field <code>Category</code> is read-only on status <code>New</code>.</p>
<p>User with given role presses the Copy button. New issue form is shown, as expected by workflow there is no Category field because it is not editable by user.</p>
<p>Press create and see that field Category was succesfully copied even though user can't edit it.</p>
<p>Also steps to reproduce on a test database with loaded fixtures:</p>
<p>1. Go to Administration - Workflow - Fields permissions<br />2. Select role Manager, tracker Bug press edit<br />3. Make <code>Float field</code> read-only for status <code>New</code><br />4. Log as <code>jsmith</code> and copy issue#1<br />5. There is no <code>Float field</code> on form<br />6. Save the issue and see that <code>Float field</code> was copied</p> Redmine - Defect #36260 (New): Gantt errorhttps://www.redmine.org/issues/362602021-11-30T10:55:12ZBang Truong
<p>Hi Everybody,</p>
<p>I install version 4.2.3. The Gantt is working fine a long time. But, suddenly error below:</p>
<pre>
Completed 500 Internal Server Error in 1168ms (ActiveRecord: 47.1ms)
ActionView::Template::Error (undefined method `-@' for Mon, 01 Nov 2021:Date):
132:
133: # Width of the entire chart
134: g_width = ((@gantt.date_to - @gantt.date_from + 1) * zoom).to_i
135: @gantt.render(:top => headers_height + 8,
136: :zoom => zoom,
137: :g_width => g_width,
138: :subject_width => subject_width)
lib/redmine/helpers/gantt.rb:637:in `coordinates'
lib/redmine/helpers/gantt.rb:371:in `line'
lib/redmine/helpers/gantt.rb:311:in `line_for_project'
lib/redmine/helpers/gantt.rb:275:in `render_object_row'
lib/redmine/helpers/gantt.rb:233:in `render_project'
lib/redmine/helpers/gantt.rb:222:in `block in render'
app/models/project.rb:966:in `block in project_tree'
app/models/project.rb:961:in `each'
app/models/project.rb:961:in `project_tree'
lib/redmine/helpers/gantt.rb:220:in `render'
app/views/gantts/show.html.erb:135:in `_app_views_gantts_show_html_erb__1650289389054086982_82240'
app/controllers/gantts_controller.rb:43:in `block (2 levels) in show'
app/controllers/gantts_controller.rb:42:in `show'
lib/redmine/sudo_mode.rb:61:in `sudo_mode'
</pre> Redmine - Defect #35885 (New): the change of routing raw files from repositories not included in ...https://www.redmine.org/issues/358852021-09-17T14:14:36ZWim Bertels
<p>Hello,</p>
<p>after upgrading, as described on <a class="external" href="https://wiki.debian.org/Redmine">https://wiki.debian.org/Redmine</a><br />from version 3.3.1 to 4.0.7</p>
<p>i noticed that redmine has a another http routing to the raw download files of a named repository,<br />i didn't find any documentation on this, maybe i missed it.</p>
<p>for example,<br />now this links works, (it is the download link presented in the redmine repository for this file):<br /><a class="external" href="https://www.redmine.org/projects/redmine/repository/raw/sandbox/custom_fields/Gemfile">https://www.redmine.org/projects/redmine/repository/raw/sandbox/custom_fields/Gemfile</a><br />(this repository has no explicit name identifier set on the settings page i'm guessing)</p>
<ul>
<li>in version 3.3.1 this same link would appear, whether or not the repository has a name identifier</li>
<li>in version 4.0.7 this same link would appear if the repository has no name identifier, otherwise if the name identifier is included as such for identifier XYZ: <a class="external" href="https://www.redmine.org/projects/redmine/repository/XYZ/raw/sandbox/custom_fields/Gemfile">https://www.redmine.org/projects/redmine/repository/XYZ/raw/sandbox/custom_fields/Gemfile</a></li>
</ul>
<p>So after upgrading, none of the links referring to repository with a name identifiers still work,<br />as they all point to <a class="external" href="https://../projects/../repository/raw/">https://../projects/../repository/raw/</a>.. instead of <a class="external" href="https://../projects/../repository/repo_name_identifier/raw/">https://../projects/../repository/repo_name_identifier/raw/</a>..</p>
<p>hth, suggestions welcome</p> Redmine - Defect #35802 (Needs feedback): Redmine profile language form lists non-localized langu...https://www.redmine.org/issues/358022021-08-23T16:10:44ZFlorian Krupicka
<p>In our Redmine installation we found, that the drop down for preferred language was listing "English" twice.</p>
<p>After some investigation, we found out, that Redmine, using the standard Rails I18N gem, takes all available locales from the I18N backend. A library dependency from one of our custom plugins actually provided I18N for the Khmer language (<code>km</code>). Since the displayed language name is localized in Redmine itself and the fallback mechanism is in place, it was displayed as "English", while still using the language code in several places, resulting in strange error messages in the log file.</p> Redmine - Defect #35382 (New): Copy Project Tracker and Tasks and relations https://www.redmine.org/issues/353822021-06-09T13:39:24ZOz Ak
<p>In order to manage our Implementation Project better, I created a Project X. In order to better organize our task I also created a tracker for Project.</p>
The trackers I have are:
<ul>
<li>Project</li>
<li>Programming Request</li>
<li>Support</li>
<li>Bug</li>
<li>Training</li>
</ul>
<p>The hierarchy of the project is as follow :</p>
<ul>
<li>Project X
<ul>
<li>Project (Tracker) = Project Implementation
<ul>
<li>Programming request 1 - Precedes (Support 2)</li>
<li>Support 2 Precedes (Support 3)</li>
<li>Support 3</li>
</ul></li>
</ul></li>
</ul>
<p>When I make a copy of the Project Implementation, the subtasks Programming request 1, Support 2, Support 3 do copy however the Precedes values does not copy over.</p>
<p>Anyone else has this issue?</p>
<p>Ideally what I would love to do is copy the Project Implementation as a template and push the dates based on the Project Implementation for other projects moving forward</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 #35102 (New): Issue Tracking Details are showning issue statuses even if they ar...https://www.redmine.org/issues/351022021-04-15T09:02:37ZPan Tau
<p>The Issue Tracking Details show all issue statuses of all trackers used in the project, <br />even if no project-role uses them in their workflow.</p>
<p>That becomes an problem if have many projects using for example the tracker "Defect" <br />and some of the projects have additional issue statuses.<br />Because you get an really long table und header and most of the statuses are not used within the project.</p>
<p>It would be helpful to filter the shown statuses by project-trackers and their project-role-workflows.</p>
<p><img src="https://www.redmine.org/attachments/download/27191/many_not_used_issue_statuses.png" alt="" /></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 #34593 (Needs feedback): privacy problem on users infohttps://www.redmine.org/issues/345932021-01-14T16:23:30ZFabrizio Sebastiani
<p>If a logged-is user start to access cyclically to urls likes this:</p>
<pre>
https://example.com/redmine/users/5
https://example.com/redmine/users/6
https://example.com/redmine/users/7
...
</pre>
<p>he/she will see get the full organization's useers, members, informations, accounts, email etc... This is a particular sensible information if organization needs to hide and protect membership information to all users.</p>
<p>This looks violation of privacy information. Also the organization cannot hide to any member this wide information. Looks a design lack.</p> Redmine - Defect #34176 (New): Empty page reponses on Redmine 3.4.5.stablehttps://www.redmine.org/issues/341762020-10-27T17:10:17ZRaf Zed
<p>Hi Guys,</p>
<p>We are experiencing an issue where Redmine response with no response "white page" in browser when trying access issue pages.</p>
<p>This is completely random issue. It happens on random pages.</p>
<p>Normally refresh or re-opening in the new tab load the page normally.</p>
<p>Any know issues with this version. We are using Bitnami stack so it wasn't configured by us but we migrated it from version 2.</p>
<p>Environment:<br /> Redmine version 3.4.5.stable<br /> Ruby version 2.3.7-p456 (2018-03-28) [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 /> Git 2.14.1<br /> Filesystem <br />Redmine plugins:<br /> redmine_default_custom_query 1.3.0<br /> redmine_hide_estimated_hours 1.0.9</p> Redmine - Defect #33287 (Needs feedback): Issue File Column Attachment Link Errorhttps://www.redmine.org/issues/332872020-04-10T19:28:55ZSarthak Bakshi
<p>Attachments link on issue page inside Files column is breaking and file is unable to view.</p> Redmine - Defect #32612 (New): Distinct can be removed due to unique constraint in databasehttps://www.redmine.org/issues/326122019-12-11T17:31:47Zjwjw yy
<p>Hi, we are a research team that aims to detect and fix performance and data constraints problems in application built upon ORM framework, such as Rails. Redmine provides us with a good platform.</p>
<p>There are two queries can be improved by removing the distinct keyword based on the unique constraint created in database.</p>
<pre>
@principals ||= Principal.active.joins(:members).where("#{Member.table_name}.project_id = ?", id).distinct
</pre>
<pre>
@users ||= User.active.joins(:members).where("#{Member.table_name}.project_id = ?",
</pre><br />constraint is redmine/db/migrate/20101104182107_add_unique_index_on_members.rb<br />add_index :members, [:user_id, :project_id], :unique => true
<p>which means (user_id, project_id) will be unique. so this will make above two queries return distinct results without the `distinct` call.</p> Redmine - Defect #32610 (New): A inner join can be removedhttps://www.redmine.org/issues/326102019-12-11T17:24:53Zjwjw yy
<p>There is a query<br /><pre>
SELECT DISTINCT(issues.id) FROM issues INNER JOIN projects ON projects.id = issues.project_id INNER JOIN issue_statuses ON issue_statuses.id = issues.status_id LEFT OUTER JOIN users ON users.id = issues.assigned_to_id LEFT OUTER JOIN trackers ON trackers.id = issues.tracker_id LEFT OUTER JOIN enumerations ON enumerations.id = issues.priority_id AND enumerations.type IN ('IssuePriority') LEFT OUTER JOIN versions ON versions.id = issues.priority_id WHERE (projects.status <> 9 AND projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='issue_tracking')) AND ((issues.status_id IN (SELECT id FROM issue_statuses WHERE is_closed=0)) AND projects.id = 3821) ORDER BY issues.id DESC LIMIT 501;
</pre><br />which actually can be simplied due to the foreign key and presence constraint<br />-- remove LEFT OUTER JOIN (because of id being PK, already done by postgres)<br />-- remove INNER JOIN (because of FK; no need to add issues.project_id IS NOT NULL / issues.status_id IS NOT NULL because of constraint)<br />-- remove DISTINCT (FK)</p>
<p>After removing, the query becomes: <br /><pre>
SELECT issues.id FROM issues INNER JOIN projects ON projects.id = issues.project_id LEFT OUTER JOIN enumerations ON enumerations.id = issues.priority_id AND enumerations.type IN ('IssuePriority') WHERE (projects.status <> 9 AND projects.id IN (SELECT em.project_id FROM enabled_modules em WHERE em.name='issue_tracking')) AND ((issues.status_id IN (SELECT id FROM issue_statuses WHERE is_closed=0)) AND projects.id = 3821) ORDER BY issues.id DESC LIMIT 501;
</pre></p>
<p>It can make the code easier to read and faster</p> Redmine - Defect #32558 (New): Distinct can be removed https://www.redmine.org/issues/325582019-12-06T03:07:20Zjwjw yy
<p>In apps/redmine/app/models/project.rb, there is `User.active.joins(:members).where("#{Member.table_name}.project_id = ?", id).distinct`. which will be translated to `SELECT DISTINCT users.* FROM users INNER JOIN members ON members.user_id = users.id WHERE users.status = 1 AND (members.project_id = ?);`</p>
<p>Actually DISTINCT is not necessary due to the uniqueness constraint in member.rb: `validate: user_id, uniqueness: {:scope => project_id}`, which indicates that for member1(member_id1, user_id, project_id) , and member2(member_id2, user_id, project_id), there is member_id1 = member_id2. Or else the uniqueness constraint will be violated. As a result the join result will not return duplicate users.</p> Redmine - Defect #32420 (Needs feedback): Issue redirect after login not workinghttps://www.redmine.org/issues/324202019-11-05T22:15:08ZJames Kurczodyna
<p>I am seeing issues with redirects after login. When I go to an issue URL while logged out I expect to be redirected to the issue after logging in. I'm seeing this on.</p>
Steps to reproduce:
<ul>
<li>log out</li>
<li>go to /issues/12345
<ul>
<li>I get redirected to /login?back_url=http%253A%252F%252Fissues.afinedevelopment.com%252Fissues%252F12345</li>
</ul>
</li>
<li>log in
<ul>
<li>I get redirected to /my/page</li>
<li>expecting to be /issues/12345</li>
</ul></li>
</ul>
<p>MacOS / Chrome 77.0.3865.90</p>
<p>Environment:<br /> Redmine version 4.0.1.stable<br /> Ruby version 2.5.3-p105 (2018-10-18) [x86_64-linux]<br /> Rails version 5.2.2<br /> Environment production<br /> Database adapter Mysql2<br /> Mailer queue ActiveJob::QueueAdapters::AsyncAdapter<br /> Mailer delivery smtp<br />SCM:<br /> Subversion 1.6.17<br /> Git 1.7.9.5<br /> Filesystem <br />Redmine plugins:<br /> bitbucket_reference_redmine 0.1.3<br /> redmine_agile 1.4.8<br /> redmine_base_deface 0.0.1<br /> redmine_base_stimulusjs 1.0.1<br /> redmine_checklists 3.1.14<br /> redmine_lightbox2 0.5.0<br /> redmine_messenger 1.0.3<br /> redmine_multiprojects_issue 4.0.0<br /> redmine_open_links_in_new_window 0.0.3<br /> redmine_theme_changer 0.4.0</p>
<p>Thanks,<br />James</p> Redmine - Defect #31886 (New): There is no limitation for the content of news https://www.redmine.org/issues/318862019-08-13T05:35:43Zjwjw yy
<p>In my deployed Redmine, I tried to create a news with more than 65536 characters. And I got this as attached. There should be a constraint in new.rb, such as:<br /><pre>
validates_length_of :description, maximum: 65535
</pre><br />even more, in the news/_form.html, <br /><pre>
maxlength => 65535 </pre> should be added to the textarea. I have attached the patch.</p> Redmine - Defect #31755 (New): Couldn't download Redmine by curl in Debian busterhttps://www.redmine.org/issues/317552019-07-19T08:43:21ZSeiei Miyagi
<p>In debian buster, failed.</p>
<pre>
% docker run --rm -it debian:buster
root@26737ff8e626:/# apt update && apt install curl -y
root@26737ff8e626:/# curl -I https://redmine.org
curl: (35) error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol
root@26737ff8e626:/# curl -vI https://redmine.org
* Expire in 0 ms for 6 (transfer 0x55ec91433dd0)
* Expire in 1 ms for 1 (transfer 0x55ec91433dd0)
* Expire in 0 ms for 1 (transfer 0x55ec91433dd0)
* Expire in 1 ms for 1 (transfer 0x55ec91433dd0)
* Expire in 0 ms for 1 (transfer 0x55ec91433dd0)
* Expire in 0 ms for 1 (transfer 0x55ec91433dd0)
* Expire in 2 ms for 1 (transfer 0x55ec91433dd0)
* Expire in 0 ms for 1 (transfer 0x55ec91433dd0)
* Expire in 0 ms for 1 (transfer 0x55ec91433dd0)
* Expire in 2 ms for 1 (transfer 0x55ec91433dd0)
* Expire in 0 ms for 1 (transfer 0x55ec91433dd0)
* Expire in 0 ms for 1 (transfer 0x55ec91433dd0)
* Expire in 2 ms for 1 (transfer 0x55ec91433dd0)
* Expire in 0 ms for 1 (transfer 0x55ec91433dd0)
* Expire in 0 ms for 1 (transfer 0x55ec91433dd0)
* Expire in 4 ms for 1 (transfer 0x55ec91433dd0)
* Expire in 1 ms for 1 (transfer 0x55ec91433dd0)
* Expire in 1 ms for 1 (transfer 0x55ec91433dd0)
* Expire in 2 ms for 1 (transfer 0x55ec91433dd0)
* Trying 46.4.36.71...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55ec91433dd0)
* Connected to redmine.org (46.4.36.71) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (OUT), TLS alert, protocol version (582):
* error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol
* Closing connection 0
curl: (35) error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol
root@26737ff8e626:/# curl -V
curl 7.64.0 (x86_64-pc-linux-gnu) libcurl/7.64.0 OpenSSL/1.1.1c zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Release-Date: 2019-02-06
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL
</pre>
<p>In debian stretch, success.</p>
<pre>
% docker run --rm -it debian:stretch
root@b18b86448650:/# apt update && apt install curl -y
root@b18b86448650:/# curl -vI https://redmine.org
* Rebuilt URL to: https://redmine.org/
* Trying 46.4.36.71...
* TCP_NODELAY set
* Connected to redmine.org (46.4.36.71) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.0 (IN), TLS handshake, Server hello (2):
* TLSv1.0 (IN), TLS handshake, Certificate (11):
* TLSv1.0 (IN), TLS handshake, Server key exchange (12):
* TLSv1.0 (IN), TLS handshake, Server finished (14):
* TLSv1.0 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.0 (OUT), TLS change cipher, Client hello (1):
* TLSv1.0 (OUT), TLS handshake, Finished (20):
* TLSv1.0 (IN), TLS change cipher, Client hello (1):
* TLSv1.0 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.0 / DHE-RSA-AES256-SHA
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: OU=Domain Control Validated; OU=Gandi Standard SSL; CN=redmine.org
* start date: Nov 5 00:00:00 2017 GMT
* expire date: Nov 11 23:59:59 2019 GMT
* subjectAltName: host "redmine.org" matched cert's "redmine.org"
* issuer: C=FR; ST=Paris; L=Paris; O=Gandi; CN=Gandi Standard SSL CA 2
* SSL certificate verify ok.
> HEAD / HTTP/1.1
> Host: redmine.org
> User-Agent: curl/7.52.1
> Accept: */*
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Date: Fri, 19 Jul 2019 08:24:36 GMT
Date: Fri, 19 Jul 2019 08:24:36 GMT
< Server: Apache
Server: Apache
< X-UA-Compatible: IE=Edge,chrome=1
X-UA-Compatible: IE=Edge,chrome=1
< ETag: "d862fcd307564c280b55a91f5ccabd02"
ETag: "d862fcd307564c280b55a91f5ccabd02"
< Cache-Control: max-age=0, private, must-revalidate
Cache-Control: max-age=0, private, must-revalidate
< X-Request-Id: d6b094973b691b257f46884fab5fad97
X-Request-Id: d6b094973b691b257f46884fab5fad97
< X-Runtime: 0.090759
X-Runtime: 0.090759
< X-Rack-Cache: miss
X-Rack-Cache: miss
< Set-Cookie: _redmine_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTdkOTg2OGVmZjg0ZTYzNDE2YzViOWQzNDE0Y2VkYzQ2BjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMUhaNVM1ekxQNUdxYkdta3BOUnNEajgzMUcwMG0xcnZjeGpnOHdDUSszaHM9BjsARg%3D%3D--04a0e08b3bceb4b6605986f4fefe603512be714d; path=/; HttpOnly
Set-Cookie: _redmine_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJTdkOTg2OGVmZjg0ZTYzNDE2YzViOWQzNDE0Y2VkYzQ2BjsAVEkiEF9jc3JmX3Rva2VuBjsARkkiMUhaNVM1ekxQNUdxYkdta3BOUnNEajgzMUcwMG0xcnZjeGpnOHdDUSszaHM9BjsARg%3D%3D--04a0e08b3bceb4b6605986f4fefe603512be714d; path=/; HttpOnly
< Vary: Accept-Encoding
Vary: Accept-Encoding
< Content-Type: text/html; charset=utf-8
Content-Type: text/html; charset=utf-8
<
* Curl_http_done: called premature == 0
* Connection #0 to host redmine.org left intact
root@b18b86448650:/# curl -V
curl 7.52.1 (x86_64-pc-linux-gnu) libcurl/7.52.1 OpenSSL/1.0.2s zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy PSL
</pre> Redmine - Defect #31710 (New): Assigned on search issues not ordered by namehttps://www.redmine.org/issues/317102019-07-11T18:43:05ZHynek Petrla
<p>assigned_to_values isn't ordered by user name.</p>
<p>Fix:<br />Posiible fix, change line in query.rb to:<br />assigned_to_values += (Setting.issue_group_assignment? ? principals : users).sort_by{|h| [ h.status, h.name ]}.collect{|s| [s.name, s.id.to_s, l("status_#{User::LABEL_BY_STATUS[s.status]}")] }</p> Redmine - Defect #31341 (New): install redmine on windowshttps://www.redmine.org/issues/313412019-05-10T11:17:45ZMajid Dehnamaki
<p>hi<br />I try to install Redmine in windows according to this [[<a class="external" href="http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_a_sub-URI_on_Windows_with_Apache">http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_a_sub-URI_on_Windows_with_Apache</a>]].<br />this document is for 2010 and I think It's time to update.<br />I cant install mongrel and use gem install mongrel --pre, also cant install mongrel_service and rmagick, when I try to install it see an error.<br />please help me,what can i do?</p> Redmine - Defect #31111 (New): About custom fields in List format or Key/value list formathttps://www.redmine.org/issues/311112019-03-28T07:17:42ZAyami Yasuoka
<p>1.<br />Format:List<br />If you change the contents of the list, the change is not reflected at all in past issues.</p>
<p>2.<br />Format:Key/value list<br />If you change the contents of the list, the change will be reflected in all past issues.</p>
<p>I want a function that falls in the middle of these(No.1 & No.2).<br />For example, when changing the contents of the list on the “Custom field” edit screen of the management menu, check the check box of the project for which the change is to be reflected.<br />When you press the "save" button, all changes will be reflected in the project issues checked in the checkbox.</p> Redmine - Defect #30055 (New): Keep it from one job to the nexthttps://www.redmine.org/issues/300552018-11-29T09:02:05ZMehmet hanifi
<p>Hi,</p>
<p>I'm just using the Redmine program. First of all, I would like to thank everyone who contributed. I created a project. want to define workflows.<br />It's like you don't move from one job to the next. And on the other hand I want to create a work flow diagram. If it's not possible, let's create it.</p>
<p>Can the above mentioned issues be made?<br />Thank you for your interest.</p> Redmine - Defect #29980 (New): Option "disalow registration" not work if ldap is used and ldap-ac...https://www.redmine.org/issues/299802018-11-15T15:00:19ZFlorian Fehring
<p>Steps to reproduce:</p>
<p>1. Deactivate registration form<br />2. Bind redmine to ldap authentification<br />3. try to login with account information from ldap-account name and ldap-login (that user information used in authentification method / ldap)</p>
<p>Effect:<br />Now the register site shows.</p> Redmine - Defect #29920 (New): Email has already been taken/Login has already been takenhttps://www.redmine.org/issues/299202018-11-07T12:20:38ZTom Jones
<p>I know i have already used the same username & email address, but i have also deleted the user and the email address <br />- i guess the question is how can i clear down the database which holds this information?</p>
<p>Details of my system:-<br />Environment:<br /> Redmine version 3.4.4.stable<br /> Ruby version 2.5.1-p57 (2018-03-29) [x86_64-linux-gnu]<br /> Rails version 4.2.10<br /> Environment production<br /> Database adapter PostgreSQL<br />SCM:<br /> Subversion 1.9.7<br /> Git 2.17.1<br /> Filesystem <br />Redmine plugins:<br /> no plugin installed</p> Redmine - Defect #29511 (New): cpu 100%https://www.redmine.org/issues/295112018-09-06T07:47:18ZAleksandr Zagoskin
<p>На своем сервере с debian 9 стоит redmine<br />Есть несколько процессов:<br />Passenger RubyApp: /opt/redmine-3.3.4 (production)</p>
<p>Грузят CPU 100%, redmine медленно работает</p>
<p>в чем может быть проблема?</p> Redmine - Defect #28871 (New): Adding the window AD activity directory to verify redmine permissi...https://www.redmine.org/issues/288712018-05-24T07:59:55Zkui liu
<p>LDAP validation information is shown in the attached diagram below, and the window AD server test is successful; add users and validate the LDAP auth that just created. Failed to login with new user redmine; login user: domain \users or users</p> Redmine - Defect #28807 (New): Cannot search in a case-insensitive mannerhttps://www.redmine.org/issues/288072018-05-17T12:56:23ZStefan Kuhr
<p>Hello everyone,</p>
<p>we have just upgraded from Redmine 2.5.1.stable to 3.2.1.stable (installed on a newly installed Ubuntu 16.04LTS). Now we cannot search anymore in a case insensitive way. E.g. we get a different result when searching for "abb" than for "ABB", so nothing fancy here such as Umlauts or non-ASCII characters that we are searching for, just plain 7-bit ASCII search terms yield different results when cased differently.</p>
<p>We use the following versions:</p>
<p>Redmine version 3.2.1.stable<br /> Ruby version 2.3.1-p112 (2016-04-26) [x86_64-linux-gnu]<br /> Rails version 4.2.10<br /> Environment production<br /> Database adapter Mysql2</p>
<p>Is this a problem with ruby being version 2.3.1 (the installation guide only lists versions 1.9.3, 2.0.0, 2.1 and 2.2 as being supported for redmine 3.2)?</p>
<p>We just did a default install of the required packages as they come with Ubuntu 16.04LTS. What are we doing wrong?</p>
<p>Best regards,</p>
<p>-- <br />Stefan Kuhr</p> Redmine - Defect #28558 (New): OpenLDAPhttps://www.redmine.org/issues/285582018-04-14T11:47:14ZBrian Rose
<p>Disclaimer: I am not an IT pro, I just play one on TV.</p>
<p>I am trying to migrate a Redmine instance from one server to another. The last bit that I am trying to get working is to connect Redmine to OpenLDAP.</p>
<p>My server configuration (details attached) is an Ubuntu 16.04.04 Server, with OpenLDAP 2.4.42 and Redmine 3.4.4. Note that this machine has a self-signed security certificate.</p>
<p>I am able to connect to the LDAP server with Apache Directory Studio and also ldapsearch on the command line.</p>
<p><code>LDAPTLS_REQCERT=never ldapsearch -D "cn=admin,dc=ubuntutest" -W -p 389 -h ubuntutest -b "dc=ubuntutest" -s sub -x -ZZ "(objectclass=*)" <br /></code></p>
<p>When I configure the LDAP connection in Redmine and test it, I get the following error.</p>
<pre>
Unable to connect (SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A)
</pre>
<p>I have a feeling this has to do with the self signed cert in some way, but I am not sure where to start looking here.</p>
<p>Any ideas?</p> Redmine - Defect #28188 (New): No Access-Control-Allow-Originhttps://www.redmine.org/issues/281882018-02-14T08:50:26Zanju dhiman
<p>Hi ,</p>
<p>I am using the redmine api in angular js and for users and issues list, but i am getting error "No 'Access-Control-Allow-Origin'" while hit api.<br />Can any body help me?<br />I need this on urgently basis.<br /> I am using redmine 3.3.1</p> Redmine - Defect #28127 (New): It is impossible to filter the trackers by project in the XML/REST...https://www.redmine.org/issues/281272018-02-02T10:58:44Zschmier fink
<p>I can query <br /><a class="external" href="https://servicedesk.cor-management.ch/Servicedesk/trackers.xml">https://servicedesk.cor-management.ch/Servicedesk/trackers.xml</a><br />for a list of all trackers.</p>
<p>But I always get all trackers. <br />Adding the project_id to the filters has no effect.</p>
<p>For issues instead of trackers, it works fine.</p> Redmine - Defect #28111 (New): Redmine Permissions - option to combine "Non member" role with othershttps://www.redmine.org/issues/281112018-01-31T10:58:51ZStephane Evr
<p>In our Redmine, we have set a public project and have allowed certain permissions to the role "Non member".</p>
<p>Hence, Users non members of the project can do certain actions.</p>
<p>The moment we give a user a specific role in this project, he then looses all the rights of the "Non member" role.</p>
<p>To me this is a bit counter intuitive. I would expect any role to at least take all the permissions of the "Non member" role. Right now for any role that could be used in this public project, we need to copy the permissions / adapt the workflows from the "Non member" role.</p> Redmine - Defect #27990 (New): Roadmap Issues null on selection of version custom fieldhttps://www.redmine.org/issues/279902018-01-15T06:27:32ZShreyas Moolya
<p>Hi,</p>
<p>I cannot see any issues listed in my 'Roadmap' page when I enter a 'Build in Patch version' custom field. This field I am using on a different instance of Redmine 3.2.3 shows me the 'Roadmap' with issues listed in it. why is it so?<br />Also only when I enable the Target Version field and enter a value in it this defect is resolved.</p>
<p>Kindly help</p> Redmine - Defect #27902 (New): Overview page is very slow for private projects with large number ...https://www.redmine.org/issues/279022018-01-05T16:24:00Zsimon butcher
<p>I have over 2000 members in a non-public project. Hence, these members get shown on the overview page. This makes the display of the overview page take around 3-4seconds.<br /><pre>
..
Rendered projects/_members_box.html.erb (579.5ms)
Rendered projects/show.html.erb within layouts/base (596.2ms)
...
Completed 200 OK in 3430ms (Views: 622.8ms | ActiveRecord: 37.4ms)
</pre></p> Redmine - Defect #27693 (New): In queries, operator "Any" should be "Not empty"https://www.redmine.org/issues/276932017-12-01T13:43:07ZStephane Evr
<p>In queries, the operator "All" actually returns only fields which are not empty.<br />Let's say I create an Issue Query with the following filter:</p>
<pre>
Assignee: ALL
</pre>
<p>This will return all the issues with the assignee field <strong>not empty</strong>, same for any filter where the operator "ALL" is available.</p>
<ul>
<li>Could we change the naming of "ALL" to "Not empty" somewhat?</li>
<li>It can still be useful to have a true "ALL" operator which returns any result (Empty OR Not Empty), because then we can quickly change the operator without having to remove/add the filter (especially if many filters are available to select from)</li>
</ul> Redmine - Defect #27126 (Needs feedback): Breadcrumbs and Drop-down List corruptedhttps://www.redmine.org/issues/271262017-10-05T03:34:11ZRobin Corba
<p>Dear Redmine,</p>
<p>We have an issue with our current version of Redmine. We have about 50 different projects in our location installation, including some plugins:</p>
<pre>
Environment:
Redmine version 3.3.2.stable
Ruby version 2.1.2-p95 (2014-05-08) [x86_64-linux]
Rails version 4.2.7.1
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.11
Mercurial 1.4
Git 2.3.1
Filesystem
Redmine plugins:
plantuml_macro 0.0.1
redmine_wiki_extensions 0.7.0
redmine_wiki_lists 0.0.8
scrum 0.16.2
</pre>
<p>Since a day ago, we are having problems with our (sub)projects being re-arranged incorrectly in the breadcrumbs (top left corner) and the drop-down list for project selection in the top-right corner. Please see attached file <a class="attachment" href="https://www.redmine.org/attachments/19265">redmine-bug-breadcrumbs.png</a>).</p>
<p>Even though in the settings page of "Project A" the information is correct (Project A is a subject of Projects, which is a subproject of Development), in the breadcrumbs and drop-down list it shows that Project A is subproject of Development.</p>
<p>It also seems that when we want to move one (sub)project to a different level, many other projects get "moved" unwanted. Is there some cache that needs to be cleared, or do we have some corrupted data in the database?</p>
<p>Thanks!</p> Redmine - Defect #27067 (Needs feedback): Missed task for redmine:plugins:testhttps://www.redmine.org/issues/270672017-09-24T21:17:45ZEduard Panov
<p>Hi.<br />After the task for runs the plugins ui tests has been added need add invoke in redmine:plugins:test list also.</p>
<p>File ./lib/tasks/redmine.rake</p> Redmine - Defect #26508 (Needs feedback): excel have wrong column name at custom fieldhttps://www.redmine.org/issues/265082017-07-24T08:35:11ZRanda Bustami
<p>i had added some custom fields , but when i export to excel it display beside the name of the field " translation missing: en." <br />pls check attached image</p> Redmine - Defect #25222 (Needs feedback): 404 error when visiting project's repository tab withou...https://www.redmine.org/issues/252222017-02-28T18:32:46ZLluís Vilanova
<p>I have a newly created project with some repositories, but none of them is marked as "main". If I now go to the repository tab, redmine shows a nice error page, saying it could not find an entry or revision in the repo (number 404). More importantly, the non-main repositories do not appear on the side-bar, where they usually are.</p>
<p>If I create an empty main repository using git the error persists, since git has no initial commit in it.</p>
<p>Only after I do some initial commit on the main repo, I can see the list of sub-repos in that project.</p> Redmine - Defect #25141 (New): Changing the scope and resetting the position of an acts_as_positi...https://www.redmine.org/issues/251412017-02-21T15:46:15ZFelix Schäfer
<p>We have a model where objects should be appended to the list in the new scope when the list scope of the object is changed. We do this by setting the <code>self.position = nil</code> before it is saved, unfortunately this inserts the object at the one-before-last position.</p>
<p>The following patch solves this problem:</p>
<pre><code class="diff syntaxhl"><span class="gh">diff --git a/lib/redmine/acts/positioned.rb b/lib/redmine/acts/positioned.rb
index 75041fe38..d3959a335 100644
</span><span class="gd">--- a/lib/redmine/acts/positioned.rb
</span><span class="gi">+++ b/lib/redmine/acts/positioned.rb
</span><span class="p">@@ -67,7 +67,7 @@</span> module Redmine
def set_default_position
if position.nil?
<span class="gd">- self.position = position_scope.maximum(:position).to_i + (new_record? ? 1 : 0)
</span><span class="gi">+ self.position = position_scope.maximum(:position).to_i + ((new_record? || position_scope_changed?) ? 1 : 0)
</span> end
end
</code></pre>
<p>This affects trunk.</p> Redmine - Defect #24906 (New): Session expiration not visible when editing issueshttps://www.redmine.org/issues/249062017-01-23T10:35:58ZAnonymous
<a name="Session-expiration-not-visible-when-editing-issues"></a>
<h2 >Session expiration not visible when editing issues<a href="#Session-expiration-not-visible-when-editing-issues" class="wiki-anchor">¶</a></h2>
<p>As some tickets already address redmine's behavior when you are <em>currently</em> editing a ticket and get (in the meantime) logged out, this addresses an aditional scenario:</p>
<a name="Problem"></a>
<h3 >Problem<a href="#Problem" class="wiki-anchor">¶</a></h3>
<p>if your session has expired, you can <strong>still click on edit</strong> for a currently shown issue and editing is still possible.<br />However if you hit <strong>save</strong> you will be notified your session has expired. Selecting Back (on firefox) redirects you to the login page and your edits are lost.</p>
<a name="How-to-test"></a>
<h3 >How to test<a href="#How-to-test" class="wiki-anchor">¶</a></h3>
<p>Log in<br />Select an issue (viewing mode)<br />open redmine in a second tab and logout on this<br />Return to the issue tab<br />Select edit (editing is possible)<br />Select save<br />--> you will be notified that your session is expired and your edits are lost</p>
<a name="Desired-behavior"></a>
<h3 >Desired behavior<a href="#Desired-behavior" class="wiki-anchor">¶</a></h3>
<p>If your session has expired at least the "edit" function should be blocked and user should get notification on invalid session. Ideally the user would be shown (when session expires during editing) the login-dialog with the possibility to authenticate, resume and save the current edit.</p>
<a name="our-environment"></a>
<h2 >our environment<a href="#our-environment" class="wiki-anchor">¶</a></h2>
<p>Environment:<br /> Redmine version 3.3.0.stable<br /> Ruby version 2.1.4-p265 (2014-10-27) [x86_64-linux]<br /> Rails version 4.2.6<br /> Environment production<br /> Database adapter Mysql2<br />SCM:<br /> Git 2.7.4<br /> Filesystem <br />Redmine plugins:<br /> clipboard_image_paste 1.10<br /> redmine_all_files 0.0.3<br /> redmine_edit_custom_fields 0.0.4<br /> redmine_extended_watchers 1.0.5<br /> redmine_issues_tree 0.0.8<br /> redmine_lightbox2 0.3.1<br /> redmine_my_page_queries 2.1.6<br /> redmine_people 1.2.0<br /> redmine_silencer 0.4.1<br /> redmine_tweaks 0.5.6<br /> redmine_wiki_extensions 0.7.0<br /> redmine_wiki_lists 0.0.6<br /> redmine_xapian 1.6.5<br /> sidebar_hide 0.0.7</p> Redmine - Defect #24426 (New): sqlserver2014:chang issues parentId success but view is wronghttps://www.redmine.org/issues/244262016-11-22T09:15:32Z刘 彤彤
<p>see as flow image:<br />I use SSMA for mySQL Client to tranfer redmine database from mysql to sqlserver2014,everything is ok.<br />but s few weeks ago ,we find that,if I chang some issues parentId,it works well but the tree view is wrong.like this:<br />I change issuess 218947's parentId is 218972.after I promit change,the tree view show it's parentId is 218937.<br />for help.</p> Redmine - Defect #21770 (New): Preview does not work on non-ascii data inputhttps://www.redmine.org/issues/217702016-01-20T13:05:08ZAnonymous
<p>The following content will break the preview option.</p>
<pre>
insert content of non-ascii_content.txt here
</pre>
<p>When opening the debug console in chrome, I can see the following:</p>
<pre>
4 jquery-1.11.1-ui-1.11.0-ujs-3.1.3.js:4 Uncaught URIError: URI malformed
39 jquery-1.11.1-ui-1.11.0-ujs-3.1.3.js:4 Uncaught URIError: URI malformede
@ jquery-1.11.1-ui-1.11.0-ujs-3.1.3.js:4(anonymous function)
@ jquery-1.11.1-ui-1.11.0-ujs-3.1.3.js:4m.extend.each
@ jquery-1.11.1-ui-1.11.0-ujs-3.1.3.js:2m.param
@ jquery-1.11.1-ui-1.11.0-ujs-3.1.3.js:4m.fn.extend.serialize
@ jquery-1.11.1-ui-1.11.0-ujs-3.1.3.js:4submitPreview
@ application.js:414onclick
@ new:320
</pre>
<p>Looks dangerous to me when user-content breaks the javascript. Obviously some parsing problems. There is probably some 0x00 in the content.</p> Redmine - Defect #20547 (New): Exporting CSV with multiple tabs open can export wrong viewhttps://www.redmine.org/issues/205472015-08-17T13:47:30ZDavid Shanahan
<p>If you have multiple issue indexes open and export one to CSV, the tab you most recently opened will be exported NOT the tab you chose to export.</p>
<p>I tested this on the demo Redmine as well. To reproduce:</p>
<p>1. Open a tab of the "Issues" view (tab 1)<br />2. Export CSV<br />3. Open a second tab of the "Issues" view (tab 2), apply different filters/options<br />4. Return to tab 1 and export CSV again<br />5. Observe that the second export actually contains content from tab 2, not tab 1.</p> Redmine - Defect #20153 (Needs feedback): Ajax indicator ajaxComplete/ajaxStop do not fire at (do...https://www.redmine.org/issues/201532015-06-23T00:11:43Zgeorgi ivanov
<p>Ajax loading bar does not hide after the document jquery ajaxStart event fires it.</p>
<p>Temporary workaround would be if we add:</p>
<pre><code class="javascript syntaxhl"><span class="kd">function</span> <span class="nx">hideAjaxIndicator</span><span class="p">()</span> <span class="p">{</span>
<span class="nx">$</span><span class="p">(</span><span class="dl">'</span><span class="s1">#ajax-indicator</span><span class="dl">'</span><span class="p">).</span><span class="nx">hide</span><span class="p">();</span>
<span class="p">}</span>
<span class="nx">$</span><span class="p">(</span><span class="nb">document</span><span class="p">).</span><span class="nx">ready</span><span class="p">(</span><span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
<span class="nx">setTimeout</span><span class="p">(</span><span class="nx">hideAjaxIndicator</span><span class="p">,</span> <span class="mi">1000</span><span class="p">);</span>
<span class="p">});</span>
</code></pre><br />to application.js in public/javascript<br />which will force initial .hide on ajaxindicator. Redmine - Defect #19174 (Needs feedback): db migrate error from old version to 2.6https://www.redmine.org/issues/191742015-02-24T22:12:02ZJasen Burkett
<p>I did the typical mysqldump to get all the data from an existing (VERY OLD) redmine install that is being used.</p>
<p>I sucessfully imported the old data into a new redmine (newest version) clean install on a different server.</p>
<p>However now when I go to the page redmine.ardemgaz.com it no longer works (redmine is broke).</p>
<p>In the production.log file I am getting this error everytime I go to the page.<br /> Started GET "/" for 10.2.2.67 at 2015-02-24 21:55:23 +0000<br />Processing by WelcomeController#index as HTML<br /> Current user: anonymous<br />Completed 500 Internal Server Error in 2.7ms</p>
<p>NoMethodError (undefined method `passwd_changed_on' for #<AnonymousUser:0x00000005ed6520>):<br /> app/controllers/application_controller.rb:150:in `force_logout_if_password_changed'</p>
<p>When I imported the new data, I have not been able to do the following:<br /> rake db:migrate RAILS_ENV=production</p>
<p>because I get an error... here is the first part of that error....</p>
<pre><code>rake aborted!<br />StandardError: An error has occurred, all later migrations canceled:</code></pre>
<p>undefined method `inherit_members_changed?' for #<Project:0x000000032977c0>/var/lib/gems/1.9.1/gems/activemodel-3.2.21/lib/active_model/attribute_methods.rb:407:in `method_missing'<br />/var/lib/gems/1.9.1/gems/activerecord-3.2.21/lib/active_record/attribute_methods.rb:149:in `method_missing'</p>
<p>I seriously need some help here.</p>
<p>Thank you in advance</p> Redmine - Defect #18914 (New): Slow rendering pages with many small macroshttps://www.redmine.org/issues/189142015-01-20T19:29:16ZИмя Фамилия
<p>Page 2 macros, including another page with 2 macros, and so on ... 16 times is not loaded. The result should not be very large. This is without recursion.</p> Redmine - Defect #18201 (New): Internal server error (500): invalid byte sequence in UTF-8https://www.redmine.org/issues/182012014-10-27T08:56:52ZBjörn Peemöller
<p>Hi, tonight my local Redmine instance (2.6.0) was visited by YandexBot with an invalid URL:</p>
<pre>
/login?%BB%A1%20%AA%13%BD%F4%06r
</pre>
<p>For this input Redmine returned the following error message:</p>
<pre>
ArgumentError: invalid byte sequence in UTF-8
</pre>
<p>The reason seems to be an invalid UTF-8 encoding which Rails can not decode successfully. After short googling, I successfully added a gem which tries to sanitize such URLs by replacing invalid bytes (<a class="external" href="https://github.com/sunny/handle_invalid_percent_encoding_requests">https://github.com/sunny/handle_invalid_percent_encoding_requests</a>, based on discussion <a class="external" href="http://stackoverflow.com/questions/24648206/ruby-on-rails-invalid-byte-sequence-in-utf-8-due-to-bot">http://stackoverflow.com/questions/24648206/ruby-on-rails-invalid-byte-sequence-in-utf-8-due-to-bot</a>), and it works for the above link.</p>
<p>Maybe there is even a better solution, but I think it would be favourable to make Redmine more robust either way.</p>
<p>Regards,<br />Björn</p> Redmine - Defect #18148 (Needs feedback): hook controller_account_success_authentication_after no...https://www.redmine.org/issues/181482014-10-21T13:25:06ZSylvain V
<p>If users are registered by an auth_sources</p>
<p>See <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/Alternativecustom_authentication_HowTo">Alternativecustom_authentication_HowTo</a></p>
<p>the hook is not used.</p>
<p>:controller_account_success_authentication_after</p>
<p><a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/entry/trunk/app/controllers/account_controller.rb#L258">source:trunk/app/controllers/account_controller.rb#L258</a></p>
<p>is it the expected behavior?</p> Redmine - Defect #17770 (New): very simple fix: that causes many sites to break, and much confu...https://www.redmine.org/issues/177702014-09-01T11:36:03Zdj jones
<p>Redmine by default, does something bad: it uses (in certain places only) the .js file extension for files that contain user content. ie files that should not be cached.</p>
<p>A small change should be made, to stop using the .js extension in these specific places.</p>
<p>Because:<br />Many Redmine users, configure Apache/Nginx to cache-in-the-browser all static files, such as .css and .js.<br />And the obvious config: is to look for files name *.js or *.css.</p>
<p>But those users will experience problems, that they then post here about (see list at the end).<br />It is a hard thing to diagnose -because the connection between the apache.nginx change and these specific, local problems: is not obvious.</p>
<p><strong>It happens alot, so fixing this will save many people pain.</strong></p>
<p>When people add a Nginx or Apache config to cache all .js files - at first everything seems to work... but then a day or more later they will notice a problem: it will happen on one of a few specific places</p>
<p><strong>a) Click 'edit' on an existing journal in an issue</strong>
<p>(the js file created is eg 24174.js where 24174 is the journal number: the AJAX call is:</p>
</p>
<p>- GET <a class="external" href="https://redmine.xyz.com/journals/edit/24174.js">https://redmine.xyz.com/journals/edit/24174.js</a></p>
<p><strong>b) Uploading a file to an Issue</strong></p>
<p>Having selected the file in the Browse button: this file is called, (which contains the image file being sent to the server)</p>
<p>- POST <a class="external" href="https://redmine.xyz.com/uploads.js?attachment_id=1&filename=my-file-to-upload.png">https://redmine.xyz.com/uploads.js?attachment_id=1&filename=my-file-to-upload.png</a></p>
<p><strong>List of Tickets on redmine.org that are definitely to this issue</strong></p>
<p>Can't upload image <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Can't upload image (Closed)" href="https://www.redmine.org/issues/13564">#13564</a><br />Nginx Configuration (with Phusion Passenger) to set Expiration Headers <a class="message" href="https://www.redmine.org/boards/2/topics/9703?r=43872#message-43872">RE: Nginx Configuration (with Phusion Passenger) to set E...</a><br />Unable to edit issue journal messages in Redmine 2.3.1 <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Unable to edit issue journal messages in Redmine 2.3.1 (Closed)" href="https://www.redmine.org/issues/14150">#14150</a><br />Unable to edit notes/answers in issues <a class="message" href="https://www.redmine.org/boards/2/topics/35751?r=35759#message-35759">RE: Unable to edit notes/answers in issues</a></p> Redmine - Defect #17520 (New): When I edit a saved Query I lose my project focushttps://www.redmine.org/issues/175202014-07-22T01:13:07ZEwan Makepeace
<p>To reproduce:</p>
<ol>
<li>Go to a project</li>
<li>Click on a saved query</li>
<li>Click the edit link</li>
<li>Modify the query</li>
<li>Save</li>
</ol>
<p>If the query applies to All Projects I am then shown the results of that query for all projects and not the project I was working on.</p> Redmine - Defect #17158 (Needs feedback): 403 error when trying to view project/issue detailshttps://www.redmine.org/issues/171582014-06-11T11:20:20ZMarcin Skoczylas
<p>Hi!</p>
<p>I've had a working instance of Redmine 2.3.0 started on Thin web server (v1.5.1 codename Straight Razor) working for last year: thin start --ssl -e production. Today I wanted to add support to send emails and I configured GMail correctly (via configuration.yml), sending emails works perfectly now... I'm not sure if that broke configuration as I literally added few lines to configuration.yml but...</p>
<p>Now all my users that are not administrators can't access their private projects with 403 error message. If project is public everything works fine, also administrators can access the private projects. List of projects by regular members can be seen in /projects URL, also issues are shown in dashboard, but when member wants to go into the project or issue details the error is thrown (excerpt from production.log):</p>
<p>Started GET "/projects/xxxxx" for 89.x.y.z at 2014-06-11 11:37:50 +0200<br />Processing by ProjectsController#show as HTML<br /> Parameters: {"id"=>"xxxxx"}<br /> Current user: j.member (id=2)<br /> Rendered common/error.html.erb within layouts/base (0.1ms)<br />Filter chain halted as :authorize rendered or redirected<br />Completed 403 Forbidden in 20ms (Views: 10.7ms | ActiveRecord: 1.6ms)<br />What's going on?? What this error means? Where I can start digging, as I do not see any clue in this? I changed member roles to allow for everything, but still they get 403... I'm really desperate as I can't find anything in settings that could cause this. Could you please give me a hint what to do to get this working back?</p>
<p>Edit:<br />I've changed logger to debug and I got some more details:</p>
<pre><code>Role Load (0.1ms) SELECT "roles".* FROM "roles" WHERE "roles"."builtin" = 1 LIMIT 1<br /> Rendered common/error.html.erb within layouts/base (0.1ms)<br />Is this a bug in Redmine? Why selecting roles creates an error?</code></pre>
<p>Edit2:<br />I've upgraded Redmine to 2.5.1 but the problem is still there. This seems as a bug as I can't properly configure this via admin Settings. I gave all privileges to members but still they receive 403 error.</p> Redmine - Defect #16299 (Needs feedback): Custom Issue field is not saved while issue is createdhttps://www.redmine.org/issues/162992014-03-10T14:21:40ZGrzegorz Kuligowski
<p>Steps to reproduce:<br />- Add custom field in "Issue" section (Administration->Custom Fields->Issues->New Custom Field). Assign this custom field to some project, for example "TestPr" <br />- Go to "TestPr", click "New issue" <br />- Fill the issue, fill created custom field<br />- Click "Create"</p>
<p>Expected outcome:</p>
<p>The custom field has value equal to the filled one</p>
<p>Percieved outcome:</p>
<p>The custom field has no value (it is empty)</p>
<p>Additional information:</p>
<p>After issue is created I can click "update" and then I can edit and save this custom field without any problems.</p>
<p>Environment:<br /> Redmine version 2.4.3.stable<br /> Ruby version 2.0.0-p353 (2013-11-22) [x86_64-linux]<br /> Rails version 3.2.16<br /> Environment development<br /> Database adapter Mysql2</p> Redmine - Defect #14706 (New): Sometimes pages are slowhttps://www.redmine.org/issues/147062013-08-19T00:37:58ZGareth Evans
<p>Firstly, sorry for the weird subject - it's the only way I can describe this.</p>
<p>I've recently upgraded my redmine from 1.3.x to 2.3.2.<br />We're using a bitnami VM as I know very little about rails or supporting technology.</p>
<p>Initially, we were using mysql as the database (which ships with the bitnami install) and we noticed that the app would sometimes "hang" for periods of time when loading pages. <br />I migrated it from mysql to sqlserver (as we have one in the office that serves our other dev systems) by copying the schema and data then updating database.yml and page load time dropped overall.<br />It's worth noting that we are also using SVN repository integration pointing at an external beanstalkapp SVN (cloud)</p>
<p>What I'm seeing is that sometimes the redmine instance just won't load a page for ages. It will just sit there and sometimes may show the "an error has occurred" <br />I've grabbed a copy of the last 1000 lines of production.log and attached it to this issue. <br />Most of the time everything will be fast and snappy but then occassionally, we'll get this (from production.log)<br /><code>Completed 200 OK in 506885ms (Views: 1515.8ms | ActiveRecord: 1271.4ms)</code><br />Note the really huge page load time but the low active record and views load times.</p>
<p>@<br />Environment:<br /> Redmine version 2.3.2.stable<br /> Ruby version 1.9.3-p448 (2013-06-27) [x86_64-linux]<br /> Rails version 3.2.13<br /> Environment production<br /> Database adapter SQLServer<br />Redmine plugins:<br /> no plugin installed</p>
<p>svn, version 1.7.5 (r1336830)<br /> compiled Jul 12 2013, 12:41:27</p>
<p>@</p> Redmine - Defect #14259 (New): sub project show position problemhttps://www.redmine.org/issues/142592013-06-12T02:10:30Zj ronald
<p>I have 2 problems:</p>
<p>1 In "My Page" view, sub project and its parent project shows in the same level, so I have to give a full name for the sub project, because it has lost its context here.<br />2 In "Issues" view, if a project have multiple sub project, some sub projects show in the same level as its parent project, while some not, and what is more confusing, for example, if I changed something in the sub project, say New -> Resolved, the level changes, say parent level -> child level.</p>
<p>Is it by design or a bug?</p> Redmine - Defect #14203 (New): Add support for the 'notes://' protocol handlerhttps://www.redmine.org/issues/142032013-06-04T04:51:23ZStepan Karandin
<p>IBM Lotus Notes is a rich client. After installation it registers in operating system additional protocol "notes"</p>
<p>An URI looks like notes://SERVER/442579BB0045C177/0/250334F0B767F79B44257B8000199EEB</p>
<p>As normal every browser handles this URI well. After the click Lotus Notes window is opened, but in Redmine it looks like plain text in both ways.</p>
<p>notes://SERVER/442579BB0045C177/0/250334F0B767F79B44257B8000199EEB<br />[[notes://SERVER/442579BB0045C177/0/250334F0B767F79B44257B8000199EEB]]</p> Redmine - Defect #13484 (New): restricted access folder in a redmine projecthttps://www.redmine.org/issues/134842013-03-15T12:49:14Zdubaust franck
<p>Is there any way to restrict the access to a folder for a given subgroup?</p>
<p>For example, in a project, I have 3 users a,b,c and the architecture of folders<br />in the repository:</p>
<p>f1
|_ f11
|_ f12
|_ f13</p>
<p>I want that the folder f12 is accessible only for a and b and all<br />the others folders are accessible for all user.</p>
<p>Thanks a lot for your help.</p> Redmine - Defect #13189 (New): Redmine version in trunk should be based on next major releasehttps://www.redmine.org/issues/131892013-02-15T23:51:46ZHarry Garrood
<p>I'm developing a plugin against trunk, which relies on the IssueQuery class. This class only exists in trunk. Therefore the first version which will contain IssueQuery will be 2.3.0, so it makes sense to put this in my init.rb:<br /><pre>requires_redmine :version_or_higher => '2.3.0'</pre><br />However trunk says the current version is <code>2.2.3-devel</code>; should it be <code>2.3.0-devel</code>?</p> Redmine - Defect #12669 (New): Filter preset does not save "projects" filter settingshttps://www.redmine.org/issues/126692012-12-23T14:57:57ZEugene B
<p>2.2.0 Version have brought a nice feature where we can make a preset of our<br />filters.</p>
<p>I have my own project, where I spend most of my time, but also I have a few<br />others, when I can have questions for me as well. I have made a filter preset<br />which shows a task list with specified list of projects, columns. But if I run<br />this preset inside my Project, it only shows the tasks bound to me in this project,<br />even if the saved filter preset contains a few project list to dispaly. If I<br />manually enter to "edit" preset and just press "Apply" it works ok. I have a<br />little workaround, to save a bookmark to this "all project" filter so that it<br />works ok.</p>
<p>the query string inside my project is:<br />"http://10.0.0.1:81/redmine/projects/supplytasks/issues?query_id=11" <br />and this way, it only shows issues that are inside "supplytasks" project</p>
<p>but if I run the same query from:<br /><a class="external" href="http://10.0.0.1:81/redmine/issues?query_id=11">http://10.0.0.1:81/redmine/issues?query_id=11</a><br />it work good for me, applying the filter to all the project, where I<br />participate.</p>
<p>Also the thing is, I cant add a "Project" string to filter preset, If I try to<br />save it being inside my project, but I can add this "Project" string If I try<br />to save my preset, from the page "My page" => My tasks "show all tasts" (under the<br />first 10)</p> Redmine - Defect #12161 (New): Cyclic recursion redirectshttps://www.redmine.org/issues/121612012-10-19T07:23:35ZAleksei Motsik
<p>Hello</p>
<p>After migrating from 1.3.2 to 2.1.2 I see that problem:<br />Can't load a page of redmine, because of "Сyclic recursion redirects".</p>
<p>Here is a LOG of attempt right after server start^<br /><pre>
Started GET "/projects/igp" for 192.168.5.2 at Thu Oct 18 17:19:07 +0300 2012
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"igp"}
Current user: anonymous
Redirected to http://192.168.5.12:3000/login?back_url=http%3A%2F%2F192.168.5.12%3A3000%2Fprojects%2Figp
Filter chain halted as :check_if_login_required rendered or redirected
Completed 302 Found in 212ms (ActiveRecord: 12.8ms)
Started GET "/login?back_url=http%3A%2F%2F192.168.5.12%3A3000%2Fprojects%2Figp" for 192.168.5.2 at Thu Oct 18 17:19:08 +0300 2012
Processing by AccountController#login as HTML
Parameters: {"back_url"=>"http://192.168.5.12:3000/projects/igp"}
Current user: anonymous
Redirected to http://192.168.5.12:3000/login?back_url=http%3A%2F%2F192.168.5.12%3A3000%2Flogin%3Fback_url%3Dhttp%253A%252F%252F192.168.5.12%253A3000%252Fprojects%252Figp
Filter chain halted as :check_if_login_required rendered or redirected
Completed 302 Found in 6ms (ActiveRecord: 1.0ms)
Started GET "/login?back_url=http%3A%2F%2F192.168.5.12%3A3000%2Flogin%3Fback_url%3Dhttp%253A%252F%252F192.168.5.12%253A3000%252Fprojects%252Figp" for 192.168.5.2 at Thu Oct 18 17:19:08 +0300 2012
Processing by AccountController#login as HTML
Parameters: {"back_url"=>"http://192.168.5.12:3000/login?back_url=http%3A%2F%2F192.168.5.12%3A3000%2Fprojects%2Figp"}
Current user: anonymous
Redirected to http://192.168.5.12:3000/login?back_url=http%3A%2F%2F192.168.5.12%3A3000%2Flogin%3Fback_url%3Dhttp%253A%252F%252F192.168.5.12%253A3000%252Flogin%253Fback_url%253Dhttp%25253A%25252F%25252F192.168.5.12%25253A3000%25252Fprojects%25252Figp
Filter chain halted as :check_if_login_required rendered or redirected
Completed 302 Found in 5ms (ActiveRecord: 0.9ms)
</pre></p>
<p>Please help!</p> Redmine - Defect #11657 (New): Filters not save for a custom queryhttps://www.redmine.org/issues/116572012-08-20T09:50:19ZPaps 1
<p>Hello,</p>
<p>I tried to save a new custom query with several filters on Redmine 2.0.3.</p>
<p>When I create the filters on the issues list it works.</p>
<p>However, if I save the query, the filter aren't being applied anymore. If I expand the filter list, all filters have disappeared.</p>
<p><strong>Steps to reproduce (Redmine 2.0.3) :</strong></p>
<ol>
<li>Go to an issue list</li>
<li>Select some filters</li>
<li>Group by something</li>
<li>Apply</li>
<li>Save the list</li>
</ol>
<p>When the new query appears add the following :</p>
<ol>
<li>Add a title to your new query</li>
<li>Tick the checkbox for all project</li>
<li>Sort : Choose one option</li>
<li>Save your new query</li>
</ol>
<p>Now if you close Redmine and open up the issues list again and try to apply your new query, you will see that no filter is being applied eventhough you specify them when you created your query.</p>
<p>Does anyone has the same problem ?</p>
<p>Thanks for your help</p>
<p>Paps</p> Redmine - Defect #11489 (New): Redmine is not able to show wiki images properlyhttps://www.redmine.org/issues/114892012-07-24T07:49:09ZMichael Rüegg
<p>Hi. My redmine installation (Ubuntu 12.04, redmine 1.3.2) is not able to show images on wiki pages properly. Sometimes they show up, and sometimes they do not. My issue seams related to this:</p>
<p><a class="external" href="http://www.redmine.org/boards/2/topics/7015">http://www.redmine.org/boards/2/topics/7015</a></p>
<p>Unfortunately, that was never resolved. It happens with images I have attached to the wiki page, e.g.:</p>
<p><code>!{width:450px}/attachments/download/2/buildconsole.png!</code></p> Redmine - Defect #11058 (New): Run Redmine in a sub directory results in "No route matches"https://www.redmine.org/issues/110582012-05-30T14:48:31ZDirk Brammertz
<p>Starting from Redmine 2.0 the web context does not recogonize a sub directory. See also Thread <a class="external" href="http://www.redmine.org/boards/2/topics/30676?r=30981#message-30981">http://www.redmine.org/boards/2/topics/30676?r=30981#message-30981</a>.</p>
<p>The problem seems to be that the ActionController within rails 3. It does no longer consider the variable <br />ActionController::AbstractRequest.relative_url_root as web context root for the routes.</p>
<p>I managed to get around that problem by modifying the config/routes.rb:</p>
<pre>
--- redmine-2.0.0/config/routes.rb (revision 9726)
+++ redmine-2.0.0/config/routes.rb (working copy)
@@ -16,6 +16,7 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
RedmineApp::Application.routes.draw do
+scope "/redmine" do
root :to => 'welcome#index', :as => 'home'
match 'login', :to => 'account#login', :as => 'signin'
@@ -332,3 +333,4 @@
end
end
end
+end
</pre>
<p>My versions:<br /><pre>
About your application's environment
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.4.2
Rack version 1.4
Rails version 3.2.3
Active Record version 3.2.3
Action Pack version 3.2.3
Active Resource version 3.2.3
Action Mailer version 3.2.3
Active Support version 3.2.3
Middleware Rack::Cache, ActionDispatch::Static, Rack::Lock, #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x7fdbc0838cd8>, Rack::Runtime, Rack::MethodOverride, ActionDispatch::RequestId, Rails::Rack::Logger, ActionDispatch::ShowExceptions, ActionDispatch::DebugExceptions, ActionDispatch::RemoteIp, ActionDispatch::Callbacks, ActiveRecord::ConnectionAdapters::ConnectionManagement, ActiveRecord::QueryCache, ActionDispatch::Cookies, ActionDispatch::Session::CookieStore, ActionDispatch::Flash, ActionDispatch::ParamsParser, ActionDispatch::Head, Rack::ConditionalGet, Rack::ETag, ActionDispatch::BestStandardsSupport, OpenIdAuthentication
Application root /srv/redmine-2.0.1
Environment production
Database adapter mysql
Database schema version 20120422150750
</pre></p> Redmine - Defect #10931 (New): Session does not stay logged inhttps://www.redmine.org/issues/109312012-05-15T17:38:16ZBrenden Soares
<a name="Problem"></a>
<h2 >Problem<a href="#Problem" class="wiki-anchor">¶</a></h2>
<p>I constantly have to login even though I choose "stay logged in." If I have multiple tabs open and the session expires they all show a basic auth login dialog which never works. I have to refresh the page to login again and if I do it doesn't work in the other tabs when I refresh them. I have to login yet again. Then once everything is logged in correctly, the session eventually is reset forcing me to login AGAIN. This usually happens after sleeping my laptop over night and getting back to work the next day. I never close the browser.</p>
<p>Recently, I have started using an android tablet, but the issue existed prior as well on one single browser on my laptop. It seems my autologin cookies are being cleared by redmine for whatever reason.</p>
<p>I have the autologin cookie set to expire after 365 days.</p>
<a name="Database-Version"></a>
<h2 >Database Version<a href="#Database-Version" class="wiki-anchor">¶</a></h2>
<p>MySQL 5.5.16</p>
<a name="Ruby-Version"></a>
<h2 >Ruby Version<a href="#Ruby-Version" class="wiki-anchor">¶</a></h2>
<p>1.8.7</p>
<a name="Rails-Versions"></a>
<h2 >Rails Versions<a href="#Rails-Versions" class="wiki-anchor">¶</a></h2>
<p>2.3.14</p>
<a name="Redmine-Version"></a>
<h2 >Redmine Version<a href="#Redmine-Version" class="wiki-anchor">¶</a></h2>
<p>1.3.1.stable</p>
<a name="Plugins"></a>
<h2 >Plugins<a href="#Plugins" class="wiki-anchor">¶</a></h2>
<p>CRM plugin <a class="external" href="http://wwww.redminecrm.com">http://wwww.redminecrm.com</a> RedmineCRM 2.2.3-light<br />Redmine Auto Identifier plugin Wade Womersley 0.0.1<br />Redmine Better Gantt Chart plugin <a class="external" href="https://github.com/kulesa/redmine_better_gantt_chart">https://github.com/kulesa/redmine_better_gantt_chart</a> Alexey Kuleshov 0.6.1<br />Redmine Issue Checklist plugin <a class="external" href="http://redminecrm.com">http://redminecrm.com</a> Kirill Bezrukov 1.0.2<br />Meetings plugin Arnaud Martel 0.1.1<br />Redmine Closed Date plugin <a class="external" href="http://github.com/ashton/redmine_closed_date">http://github.com/ashton/redmine_closed_date</a> Matheus Ashton Silva 0.0.1<br />Smart issues sort plugin Vitaly Klimov 0.2.4<br />Redmine Time Tracker plugin Jérémie Delaitre 0.4<br />Redmine Version Burndown Charts plugin <a class="external" href="http://daipresents.com/weblog/fujihalab/archives/2010/02/redmine-version-burndown-charts-plugin-release.php">http://daipresents.com/weblog/fujihalab/archives/2010/02/redmine-version-burndown-charts-plugin-release.php</a> Dai Fujihara 0.0.5 <br />Stuff To Do Plugin <a class="external" href="https://projects.littlestreamsoftware.com/projects/show/redmine-stuff-to-do">https://projects.littlestreamsoftware.com/projects/show/redmine-stuff-to-do</a> Eric Davis 0.4.0<br />Timesheet Plugin <a class="external" href="https://projects.littlestreamsoftware.com/projects/redmine-timesheet">https://projects.littlestreamsoftware.com/projects/redmine-timesheet</a> Eric Davis of Little Stream Software 0.6.0</p> Redmine - Defect #10589 (New): Auto change my account by another onehttps://www.redmine.org/issues/105892012-04-03T04:28:22ZNhan Nguyen
<p>I'm facing a redmine problem as following:<br />I logged on redmine by my account and do some actions (as show repository or show diff from repository, etc), sometime, it took long time to complete showing then my account had been changed by another one (having 50 users using redmine)so that it will be major problem about security if someone auto has my account (admin).</p>
<p>this problem sometime occurs so that i can't debug to find root cause.</p>
<p>Could you give me some comment about this?</p>
<p>Thank<br />Nhanntit</p> Redmine - Defect #10578 (New): Test case test_index_grouped_by_date (documents_controller_test.rb...https://www.redmine.org/issues/105782012-04-01T05:49:31ZM T
<p>The fixtures load the documents table with test data that specifies timezone on timestamps of +01:00. (Paris). This persists to the database in local timezone, undergoing timezone conversion in the process. If local timezone is +11:00 this causes the date to be advanced to the next day in the database. The testcase then does an assertion check on the date returned by the controller, and it is returned in the default server (local) timezone, so it does not match the expected value in the test case.</p>
<p>Interestingly this was the only testcase in the whole set that fails for this reason.</p>
<p>Since it appears that most of the test data is in Paris timezone, when the tests are run it would seem desirable to force rails to use Paris as the local timezone, rather than using the server timezone. What is the correct way to do this?</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 #10450 (New): Copy project Issues not workinghttps://www.redmine.org/issues/104502012-03-15T09:50:51ZMario Luzeiro
<p>I'm using last SVN version of redmine. I've tryed to copy a project.<br />I select this:</p>
<pre>
Copy
Members (1)
Versions (4)
Issue categories (0)
Issues (8)
Custom queries (0)
Forums (0)
Wiki pages (0)
</pre>
<p>The members, version are copied but not the issues. It doesn't create new issues for this project.</p> Redmine - Defect #10098 (Confirmed): last_login_on set to wrong time when config.active_record.de...https://www.redmine.org/issues/100982012-01-31T07:57:30ZNickolay Mischenko
<strong>reproduce</strong>
<ol>
<li>Set config.active_record.default_timezone = :utc in config/enviroment.rb</li>
<li>Login with administrative user, go Administration -> Users</li>
<li>Last connection time is wrong</li>
</ol>
<p><strong>example</strong><br />for me, I've logged in as admin in "01/01/2012 06:41 pm", my server zone is UTC+11, last connection time = "02/01/2012 05:43 am", admin user zone is UTC<br />value must be "01/01/2012 07:41 am"</p>
<p><strong>solution?</strong><br />Time.zone.now should be used instead of Time.now when user logged-in or autologged-in</p> Redmine - Defect #9881 (New): View 1st diff: Rendering common/error (404)https://www.redmine.org/issues/98812011-12-27T12:44:24ZRobin Kluth
<p>Hey :)</p>
<p>At first: Thanks for developing Redmine, best tool ever!</p>
<p>I've set up Redmine 1.3.0 with the required versions of ruby,rails,gem, etc. (the versions listed in the installation are the same as available on the Debian Squeeze repos).</p>
<p>I've configured svn-support (post-commit reload, automatic creation of new projects via reposman).</p>
<p>The 1st commit works fine, but if I want to see the diff of the 1st commit:</p>
<p><code>Processing RepositoriesController#diff (for xxx.xxx.xxx.xxx at 2011-12-27 13:38:23) [GET]<br /> Parameters: {"rev"=>"1", "action"=>"diff", "id"=>"project_id", "controller"=>"repositories"}<br />Rendering template within layouts/base<br />Rendering common/error (404)<br />Completed in 209ms (View: 15, DB: 1) | 404 Not Found [http://projects.mydomain.de/projects/project_id/repository/revisions/1/diff]</code></p>
<p>The 2nd commit is working fine, only the 1st one will produce 404?</p>
<p>I've found this problem with git, I dont know if this ticket (<a class="issue tracker-1 status-5 priority-3 priority-lowest closed" title="Defect: Git: diff is a 404 (Closed)" href="https://www.redmine.org/issues/8767">#8767</a>) is similar to mine.</p>
<p><strong>I've resatrted the vServer several times - no change.</strong></p>
<p>Can someone check this?</p> Redmine - Defect #9138 (New): db:encrypt used "can't convert nil into String" "undefined method `...https://www.redmine.org/issues/91382011-08-27T14:56:14ZPierre-Louis Bonicoli
<p>Database version: sqlite3<br />Ruby version: ruby 1.8.7<br />Rails: 2.3.11<br />Redmine 1.2.1</p>
Following the documentation:
<ul>
<li>i set the cipher key (database_cipher_key in configuration.yml)</li>
<li>i run "rake db:encrypt RAILS_ENV=production"</li>
</ul>
<p>Login, I got this error:</p>
<pre>
Processing AccountController#login (for 57.68.62.12 at 2011-08-27 01:48:22) [POST]
Parameters: {"back_url"=>"https%3A%2F%2Fprojects.plop.com%2F", "action"=>"login", "authenticity_token"=>"0yAZxJox+NPqwk3ccx2AfbCt88ov0OG6yJTfGeooWN4=", "user
name"=>"pierre-louis", "controller"=>"account", "password"=>"[FILTERED]", "login"=>"Login »"}
TypeError (can't convert nil into String):
lib/redmine/ciphering.rb:46:in `key='
lib/redmine/ciphering.rb:46:in `decrypt_text'
lib/redmine/ciphering.rb:87:in `read_ciphered_attribute'
app/models/auth_source.rb:38:in `account_password'
app/models/auth_source_ldap.rb:104:in `get_user_dn'
app/models/auth_source_ldap.rb:36:in `authenticate'
app/models/user.rb:133:in `try_to_login'
app/controllers/account_controller.rb:147:in `password_authentication'
app/controllers/account_controller.rb:142:in `authenticate_user'
app/controllers/account_controller.rb:30:in `login'
/usr/lib/ruby/1.8/rack/head.rb:9:in `call'
/usr/lib/ruby/1.8/rack/methodoverride.rb:24:in `call'
/usr/lib/ruby/1.8/rack/lock.rb:11:in `call'
/usr/lib/ruby/1.8/rack/lock.rb:11:in `synchronize'
/usr/lib/ruby/1.8/rack/lock.rb:11:in `call'
/usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request'
/usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:418:in `start_request_handler'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:358:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:354:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:213:in `start'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/phusion_passenger/passenger-spawn-server:61
</pre>
<p>i run following commands:</p>
<ul>
<li>rake db:decrypt RAILS_ENV=production</li>
<li>touch tmp/restart.txt</li>
<li>set a simpler value (alphanumeric) for the cipher key</li>
<li>rake db:encrypt RAILS_ENV=production</li>
<li>touch tmp/restart.txt</li>
</ul>
<p>At this times the error was gone.<br />I check in the database: the account_password field of auth_source table was encrypted.<br />Modifying again the value of the key (with the first value used) don't trigger the error</p>
<p>Then few hours after I got this error:<br /><pre>
Processing AccountController#login (for 57.68.62.12 at 2011-08-27 16:20:33) [POST]
Parameters: {"back_url"=>"https%3A%2F%2Fprojects.plop.com%2F", "action"=>"login", "authenticity_token"=>"mu79e6EjFrTSJuTzUCXOgeL6GLMJIyJm7fi1zKcD4hk=", "use
name"=>"pierre-louis", "controller"=>"account", "password"=>"[FILTERED]", "login"=>"Login »"}
NoMethodError (undefined method `destroy' for {}:Hash):
app/controllers/application_controller.rb:92:in `logged_user='
app/controllers/account_controller.rb:203:in `successful_authentication'
app/controllers/account_controller.rb:155:in `password_authentication'
app/controllers/account_controller.rb:142:in `authenticate_user'
app/controllers/account_controller.rb:30:in `login'
/usr/lib/ruby/1.8/rack/head.rb:9:in `call'
/usr/lib/ruby/1.8/rack/methodoverride.rb:24:in `call'
/usr/lib/ruby/1.8/rack/lock.rb:11:in `call'
/usr/lib/ruby/1.8/rack/lock.rb:11:in `synchronize'
/usr/lib/ruby/1.8/rack/lock.rb:11:in `call'
/usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:92:in `process_request'
/usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:418:in `start_request_handler'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:358:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in `safe_fork'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:354:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in `start'
/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:213:in `start'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `__send__'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in `main_loop'
/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/phusion_passenger/passenger-spawn-server:61
</pre></p> Redmine - Defect #8977 (New): user doesn't show up in the author filter dropdown when querying fo...https://www.redmine.org/issues/89772011-08-03T12:24:04ZDanny Navarro
<p>I tried this in the demo site:</p>
<p>1. I registered a user (paco perez).<br />2. I added a dummy issue to a random project (Test1).<br />3. I went to <a class="external" href="http://demo.redmine.org/issues">http://demo.redmine.org/issues</a>.<br />4. I tried to filter by author but in the dropdown menu listing the authors my user is not there (paco perez).</p>
<p>In a local installation I have, if I add some role to the user in a project, then the user shows up in the dropdown menu.</p> Redmine - Defect #8837 (New): RSS feed reports anonymus and the correct (named) user is in the ch...https://www.redmine.org/issues/88372011-07-18T15:39:24ZJan Völker
<p>I had a look in my mailbox and found</p>
<p>Issue <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Add mail notification for Adding News (Closed)" href="https://www.redmine.org/issues/411">#411</a> has been updated by Anonymous. <br />• Status changed from Neu (New) to Gelöst (Resolved)<br />• % Done changed from 0 to 100<br />Applied in changeset <a class="changeset" title="r17045@gaspard (orig r916): nbc | 2007-11-18 19:51:48 +0100 * add Redmine.pm to authenticate wi..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/1788">r1788</a>.</p>
<p>and wondered, why it said Anonymus - because this is not allowed on the Repository. When looking at the corresponding changeset in Redmine the correct information is displayed:</p>
<p>Revision 1788<br />Von jvoelker vor 1 Minute hinzugefügt [added 1 min ago]</p>
<p>[my text], closes <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Add mail notification for Adding News (Closed)" href="https://www.redmine.org/issues/411">#411</a></p>
<p>So the rss-Entry should have display jvoelker instead of Anonymus!</p>
<p>Installation data:</p>
<p>MySQL 5.1.48-community<br />ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32]<br />Rails 2.3.11<br />svn, Version 1.6.6 (r40053)</p>
<p>There was no error in the log and the changesets are processed automatically. The only active plugin is</p>
<p>Redcase Test cases management plugin for Redmine QA Project 1.0 alpha 0.144</p>
<p>which doesn't interfere here - I guess.</p> Redmine - Defect #8657 (New): CSV export fails when issue has too much texthttps://www.redmine.org/issues/86572011-06-21T10:32:21ZChris Kilner
<p>Large issues created either by filling the maximum description length a few times, or from REST issue insertion can break the csv output.</p>
<p>The symptom is that the text of the description overflows into the first column, breaking the one row per issue assumption of csv.</p>
<p>Manually editing the issues to move the excess text into attachment works around the problem.</p>
<p>[ Many thanks for an otherwise great product ]</p> Redmine - Defect #8289 (New): target version does not get propagated to subtaskshttps://www.redmine.org/issues/82892011-05-04T10:53:05ZAlessandro Santini
Subtasks of a task assigned to a specific target version should inherit that target version.<br />Having said that:
<ul>
<li>New subtasks should inherit their parent task's target version;</li>
<li>Changing target version to a parent task should propagate the change to all its subtasks;</li>
<li>Should not be possible to have a subtask with a target version different from its parent's.</li>
</ul> Redmine - Defect #7357 (New): Filter with all Projects includedhttps://www.redmine.org/issues/73572011-01-18T07:48:23ZDirk Schmidt
<p>We generated a global Filter<br />Status is open<br />Project is ALL Projects selected.</p>
<p>It´s possible to use the Filter if you choose Show all Tickets with no Focus on a Project<br />But if you are inside a Project and you choose the "Show open in all Projects" Filter it´s only selecting<br />the open Tickets of the Project you are actualy inside.</p> Redmine - Defect #7151 (New): Custom Queries are not working when copied between projectshttps://www.redmine.org/issues/71512010-12-21T16:34:09ZPrasad Patil
<p>Hi,<br />I am using Redmine - 1.0.4 (2010-11-28) with Mysql 5.1 on Windows XP machine.</p>
<p>To replicate this issue follow the steps below.</p>
<p>1. Create a sample Project "Template 1" <br />2. Add a new Tracker called "Task" via the administration options<br />3. For the Project add Issue Categories e.g. Project Meetings<br />4. Create a new issue For the Project. For this new issues select the Tracker as "Task" and Category as "Project Meetings".<br />5. Now on the Issue Filter Options in Add Filter dropdown select "Category". <br />6. For this Category select Category "is" + "Project Meetings" <br />7. Apply this filter. Now you will see only issues with Category "Project Meetings" <br />8. Save this as query as "Project Meetings". When saving the Query mark it as "Public" and select the Status as "All" and save the query.<br />9. In the Administration select "Projects" Copy the above Project to create new project. In the Copy option select <br />Issue categories, Issues, Custom Queries, Members, Wiki pages, Forums.<br />10. Select the new created Project. Click on Issues Tab. Now in the Custom Queries when you select "Project Meetings" it does not list the correct issues.</p>
<p>Regards,<br />Prasad</p> Redmine - Defect #6951 (New): Context Menu Broken on Machttps://www.redmine.org/issues/69512010-11-20T21:17:40ZDave Abrahams
<p>Tried this with Safari and FireFox. Also tried with IE in a VM, but not sure that's so conclusive. All three were broken in slightly different ways. Reporting on Safari here, though.</p>
<ul>
<li>When I <em>left</em>-click the rectangle on the right side of a subtask list (what is that rectangle <em>for</em>, anyway?) Safari changes my cursor to the context-menu cursor. It stays that way until I hit ESC. Things are otherwise normal</li>
</ul>
<ul>
<li>When I <em>right</em>-click (or control-click) inside that rectangle, I get Safari's regular context menu (e.g. with "Back" and "Reload Page")</li>
</ul>
<ul>
<li>When I right-click (or control-click) anywhere outside that rectangle, it will bring up the Redmine context menu, but it seems only to notice my mouse position when I either click to select a menu item, or, for an instant, when I press the control key again. That makes it impossible to select items in submenus until you notice that you can get the menu to wake up when you press control, because the submenu won't be displayed otherwise.</li>
</ul>
<p>I tried to get some of the information requested at <a class="external" href="http://www.redmine.org/wiki/redmine/SubmittingBugs">http://www.redmine.org/wiki/redmine/SubmittingBugs</a>, but you may have seen my other issue. It's a fresh installation of the latest redmine, MySQL, Rails, etc.</p> Redmine - Defect #6917 (New): respond_to_without_attributes? does not work from runnerhttps://www.redmine.org/issues/69172010-11-16T19:20:25ZBart Vanbrabant
<p>If have written a script that is executed with the ruby on rails runner. This script requires all repositories (which can be hg, svn or git in my setup). When a iterate over all repositories it gives an exception on the first git repository. This occurs because respond_to_without_attributes? is not defined on git instances. This only occurs in the runner, not in the a plugin.</p>
<p>I can work around this by wrapping lines 1652 to 1660 with <br /><pre>
if object.respond_to? :respond_to_without_attributes?
</pre></p>
<p>The side-effect of this workaround is that the type of the git repository objects is not <em>Repository::Git</em> such as <em>Repository::Mercurial</em> but just <em>Git</em>.</p> Redmine - Defect #6671 (New): In version detail page of a project that has sub-projects when you ...https://www.redmine.org/issues/66712010-10-14T11:41:22ZEhsan Afzali
<p>In the version detail page of project with sub-projects for example 'http://redmine.example.org/projects/parent-project/versions/1' in the 'Issues by category' section it shows all categories of sub projects. But they link to the parent project issue list instead of their own projects.<br />For example if you have a catgory 'A' for version '1' of Project 'sp1' that is sub-project of 'parent-project' the links of 'A' hyperlink in 'Issues by category' is 'http://redmine.example.org/projects/parent-project/issues?category_id=1&fixed_version_id=1&set_filter=1' instead of 'http://redmine.example.org/projects/sp1/issues?category_id=1&fixed_version_id=1&set_filter=1' because the 'parent-project' does not have 'A' category with id '1' and so it shows all issues for that version instead of showing just issues of that category.</p> Redmine - Defect #6662 (New): JavaScript is not minified for production usehttps://www.redmine.org/issues/66622010-10-13T15:18:30ZAnonymous
<p>The current JavaScript that Redmine uses in production environment is not minified using a tool such as Google Closure or YUI Compressor. This will dramatically reduce the size of the page a client has to download if it was used.</p> Redmine - Defect #6583 (New): Separate non-subURI Redmine instances on the same machine cannot be...https://www.redmine.org/issues/65832010-10-06T01:37:04ZPierce Morton
<p>This problem is trivial to reproduce.</p>
<p>Create two separate Redmine folders from the 1.02 package.</p>
<p>Initialise both as Redmine instances using the standard procedures, and run them with WebRICK or Mongrel on two different ports (so one is on machine:1234 and the other on machine:3000 )</p>
<p>Log into one, move around a bit, then log into the other. Switch back to the first one and click a link. You will be taken to the login screen.</p>
<p>Apparently the original 'setcookie' specification ignores ports, so one instance clobbers the other's session cookie.</p>
<p>Proposed resolution:<br />I took a look at the Redmine code. The session seems to be always set with a name '_redmine_session' and a randomly generated secret.<br />What I propose is this:<br />Edit the rake task in 'initialisers.rake' to accept a single argument for an identifier for the instance. This identifier is appended to the '_redmine_session' string during code generation. Thus each Redmine instance doesn't stomp on the other's cookie even if they are hosted on the same machine.</p>
<p>This also provides a cleaner solution to <a class="issue tracker-3 status-5 priority-5 priority-high2 closed" title="Patch: session cookie path does not respect RAILS_RELATIVE_URL_ROOT (Closed)" href="https://www.redmine.org/issues/3968">#3968</a> that avoids hand-editing code.</p> Redmine - Defect #5976 (Confirmed): Uniqueness of User model fields is not checked sufficiently https://www.redmine.org/issues/59762010-07-27T17:14:39ZHolger Just
<p>Although, the <code>User</code> model defines <code>:login</code> and <code>:mail</code> as unique, it is not guaranteed that these are indeed unique in the database. Parallel requests can insert the exactly same users (apart from the id) if the transaction overlap.</p>
<p>Therefore I propose to add a unique-index to the database to ensure uniqueness. Also, I propose to always save the login in lowercase to properly use that index. There still has to be checked if that correctly works with the legacy mixed case logins (after <a class="changeset" title="Change User#login to be case-insensitive. #2473 This change also overrides User#find_by_login to..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/3807">r3807</a>, <a class="changeset" title="Force string comparison for login search to be case sensitive on MySQL. #2473 Contributed by Hol..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/3813">r3813</a> because of <a class="issue tracker-1 status-5 priority-5 priority-high2 closed" title="Defect: Login and mail should not be case sensitive (Closed)" href="https://www.redmine.org/issues/2473">#2473</a>).</p> Redmine - Defect #5273 (New): Unable to configure PluginSimpleCI plugin - custom fields list is e...https://www.redmine.org/issues/52732010-04-08T14:58:19ZAlexander Zhovnuvaty
<p>Was not able to select specific project custom field value in 'Project custom field storing CI feed URL' combo box. Here is a scenario on how to reproduce this issue:</p>
<p>1. Install patch using next URL: <a class="external" href="http://www.redmine.org/wiki/redmine/PluginSimpleCI">http://www.redmine.org/wiki/redmine/PluginSimpleCI</a> ;<br />2. Go to Administration -> Custom Fields and add new item (Name: "CI feed URL", Format: Text, Length: 0-1000, Assigned to the only tracker);<br />3. Go to Administration -> Plugins -> Configure.<br />Current behavior: "Project custom field storing CI feed URL" list is empty;<br />Expected behavior: The list contains the custom field.</p>
<p>Below you may find the environment properties where this issue is appeared:</p>
<p>C:\redmine-0.9.3>C:\ruby\bin\ruby.exe script/about<br />About your application's environment<br />Ruby version 1.8.6 (i386-mswin32)<br />RubyGems version 1.3.1<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 />Application root C:/redmine-0.9.3<br />Environment development<br />Database adapter postgresql<br />Database schema version 20100221100219</p>
<p>About your Redmine plugins<br />Stuff To Do Plugin 0.2.0<br />Screenshot Paste 1.0.2<br />Simple CI 1.0</p> Redmine - Defect #4588 (New): In status form of version view, link to issues results limited.https://www.redmine.org/issues/45882010-01-15T01:11:47ZKihyun Yun
<p>I shared several versions with two projects, one is parent, and the other is child. I defined these versions in child project.<br />And the parent project has some issues, and child too.</p>
<p>In parent project, the shared version is shown (GREAT), and it shows all issues from parent and child (NICE!!).</p>
<p>But I clicked the the issues link at status form of version view. Result of issue search condition is limited to child project.</p>
<p>Especially, two projects have different trackers and categories.</p>
<p>In link to user's issue results limited to child project because this version was defined at child project.</p>
<p>In roadmap view, link to version jumps to child projects version view.<br />But the result of issues retrieved from two projects.</p>
<p>In my humble opinion, the result must be retrieved from top most projects.<br />Or the result must be displayed more detail style.</p>
<p>For example.</p>
<table>
<tr>
<td>By category</td>
<td>Total</td>
<td>Project</td>
<td>Count</td>
<td>Graph </td>
</tr>
<tr>
<td> A </td>
<td> 10 </td>
<td> parent </td>
<td> 0 </td>
<td> </td>
</tr>
<tr>
<td> A </td>
<td> </td>
<td> child </td>
<td> 10 </td>
<td> --------- </td>
</tr>
<tr>
<td> B </td>
<td> 10 </td>
<td> parent </td>
<td> 5 </td>
<td> </td>
</tr>
<tr>
<td> B </td>
<td> </td>
<td> child </td>
<td> 5 </td>
<td> --------- </td>
</tr>
</table> 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>