Projects: Issueshttp://projects.andriylesyuk.com/http://projects.andriylesyuk.com/plugin_assets/andriy_lesyuk/images/s-andy.ico2018-07-19T08:38:33ZProjects
Redmine ISSUE-id - Bug #ISSUE-17 (Under Verification): SVN integration: Commit with new issue-id does not...http://projects.andriylesyuk.com/issues/ISSUE-172018-07-19T08:38:33Zdaniel wieselwind
<p>Committiong a revision with refers #ISSUE-1234 does not work. The revision is not linked to the issue.</p> ISSUE-id - Bug #ISSUE-12 (Deferred): No route matches error for journals#newhttp://projects.andriylesyuk.com/issues/ISSUE-122016-10-29T20:06:32ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Before Rails 4 it was possible to override name routes in <code>config/routes.rb</code>. But, in Rails 4 this is no longer possible, see <a class="source" href="http://projects.andriylesyuk.com/projects/issue-id/repository/revisions/21/entry/config/routes.rb#L12">source:config/routes.rb@21#L12</a>.</p>
<p>For Rails 4.1 it was possible to override the path helper method by including a custom module as follows:</p>
<pre><code class="ruby syntaxhl"><span class="CodeRay"><span class="constant">Rails</span>.application.routes.url_helpers.send(<span class="symbol">:include</span>, <span class="constant">IssueRouterHelper</span>)
</span></code></pre>
<p>But, in Rails 4.2 this does not work as well. Redmine gives the error:</p>
<pre>
No route matches {:action⇒“new”, :controller⇒“journals”, :id⇒#<Issue id: 273, ..., project_key: “ADMIN”, issue_number: 8>} missing required keys: [:id]
</pre>
<p>I tried different methods including something like (found such on StackOverflow):</p>
<pre><code class="ruby syntaxhl"><span class="CodeRay"><span class="constant">Rails</span>.application.routes.named_routes.url_helpers_module.send(<span class="symbol">:include</span>, <span class="constant">IssueRouterHelper</span>)
</span></code></pre>
<p>But, no luck.</p>
<p>Currently, this is fixed by overriding <code>app/views/issues/show.html.erb</code> (see <a class="changeset" title="Fix #quoted_issue_path by overriding issues/show.html.erb (#ISSUE-8, #ISSUE-12)" href="http://projects.andriylesyuk.com/projects/issue-id/repository/revisions/23">r23</a>), but this is not a good workaround. A better one should be found! <em>I assume, Rails 4.3+ should have a fix for this.</em></p> Hooks Manager - Bug #2384 (In Progress): Redmine v3?http://projects.andriylesyuk.com/issues/23842015-06-14T14:42:20ZChristopher Caruk
<p>Hello,</p>
<p>Will you be releasing a version of 'Hooks Manager’ that’s comparable with Redmine 3.0?</p>
<p>I’m seeing this error:</p>
An error occurred while loading the routes definition of hooks_manager plugin (/home/app/htdocs/projects/plugins/hooks_manager/config/routes.rb): You should not use the `match` method in your router without specifying an HTTP method.<br />If you want to expose your action to both GET and POST, add `via: [:get, :post]` option.<br />If you want to expose your action to GET, use `get` in the router:<br /> Instead of: match “controller#action” <br /> Do: get "controller#action".
<ul>
<li>/etc/rc.local failed with status 1</li>
</ul>
<p>Thanks<br />Chris</p> Project Alias - Bug #2378 (In Progress): Compatibility to Redmine 3.0.1http://projects.andriylesyuk.com/issues/23782015-04-15T09:16:41ZMarc M
<p>internal error with redmine 3.0.1 while try to access a project.</p>
<p>Log:<br /><pre>
Started GET "/projects/redmine" for 192.168.0.25 at 2015-04-15 11:05:17 +0200
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"redmine"}
Current user: mm (id=3)
Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.2ms)
ArgumentError (The provided regular expression is using multiline anchors (^ or $), which may present a security risk. Did you mean to use \A and \z, or forgot to add the :multiline => true option?):
app/models/project.rb:292:in `find'
app/controllers/application_controller.rb:293:in `find_project'
</pre></p> Extended Fields - Bug #2359 (In Progress): Extended fields plugin breaks PDF exporthttp://projects.andriylesyuk.com/issues/23592015-01-29T07:50:52ZSergey B
<p>PDF export of issue list doesn’t work after installation of extended fields plugin.</p>
<a name="Environment-info"></a>
<h3 >Environment info<a href="#Environment-info" class="wiki-anchor">¶</a></h3>
<pre>
Environment:
Redmine version 2.5.1.stable
Ruby version 1.9.3-p231 (2012-05-25) [i386-mingw32]
Rails version 3.2.17
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Git 1.9.0
Filesystem
Redmine plugins:
extended_fields 0.2.3
redmine_all_files 0.0.3
redmine_codebutton 0.0.1
redmine_screenshot_paste 2.1.0
redmine_tags 2.1.0
sidebar_hide 0.0.7
</pre>
<a name="Logs"></a>
<h3 >Logs<a href="#Logs" class="wiki-anchor">¶</a></h3>
<pre>
NoMethodError (undefined method `find_custom_field_template' for #<IssuesController:0x3704490>):
lib/redmine/export/pdf.rb:302:in `block in calc_col_width'
app/helpers/issues_helper.rb:29:in `block in issue_list'
app/helpers/issues_helper.rb:25:in `each'
app/helpers/issues_helper.rb:25:in `issue_list'
lib/redmine/export/pdf.rb:300:in `calc_col_width'
lib/redmine/export/pdf.rb:428:in `issues_to_pdf'
app/controllers/issues_controller.rb:93:in `block (2 levels) in index'
app/controllers/issues_controller.rb:86:in `index'
</pre> Extended Fields - Bug #2350 (Under Verification): Extended Field Values that are nil produce an e...http://projects.andriylesyuk.com/issues/23502014-11-14T03:38:17ZIvo Steinmann
<p>If an extended field is not used by a tracker but is enabled in the issue overview, then an error is produced because the value of that field is nil</p>
<p>I appended a possible patch as file</p> WikiNG - Bug #2329 (Under Verification): Mentions visibilityhttp://projects.andriylesyuk.com/issues/23292014-09-12T14:05:06ZRobert Roth
<p>Redmine setup:<br />Project A and B are not public projects, with several common members. Members of only one project can click the links of users involved in both projects, and in their activity they will see the mentions from the issues on the other projects, along with subject, project nam and other sensitive info. Mentions on objects belonging to a projwct whuch is not visible to the current usr should be hidden from activity streams.</p> WikiNG - Bug #2322 (Deferred): Viewing user pages does not work after renamehttp://projects.andriylesyuk.com/issues/23222014-07-28T10:11:29ZKrishna MS
<p>Hi,</p>
<p>I am using the latest version of your plugin. Redmine version is 2.4.3.</p>
<p>If i have a username msk and if i click on <a class="external" href="http://redmine-ip/users/msk">http://redmine-ip/users/msk</a>, it shows the users’ page.<br />However if i rename the username to krishna.ms and if i click on <a class="external" href="http://redmine-ip/users/krishna.ms">http://redmine-ip/users/krishna.ms</a> the page goes blank.</p>
<p>But <a class="external" href="http://redmine-ip/users/124">http://redmine-ip/users/124</a> where 124 is the userid of krishna.ms, it works.</p>
<p>Rename to krishna also works, but any userid which has a . between first name and last name.</p>
<p>Is there a way to make it work for the new user name.</p>
<p>Thanks,<br />Krishna M S</p>
<p>FYI, i tested it in Redmine 2.5.2 too and the problem is there.</p> Extended Fields - Bug #2320 (Under Verification): Internal error when opening issues tabhttp://projects.andriylesyuk.com/issues/23202014-06-26T04:30:02ZNaoki Tamura
<ul>
<li>In the following cases, Internal error occurred in issues tab.
<ul>
<li>enviroment:Extended Fields plugin v0.2.1, ruby v1.9.3 , Redmine v2.2.2</li>
<li>Add a custom Field whose format is <em><strong>Project</strong></em> .</li>
<li>Add a custom Field whose format is Text.</li>
<li>Click Redmine Issues tab –> Internal error</li>
</ul></li>
</ul>
<p>get error log:<br /><pre>
ActionView::Template::Error (comparison of Array with Array failed):
20: </td>
21: <td class="add-filter">
22: <%= label_tag('add_filter_select', l(:label_filter_add)) %>
23: <%= select_tag 'add_filter_select', filters_options_for_select(query), :name => nil %>
24: </td>
25: </tr>
26: </table>
app/helpers/queries_helper.rb:27:in `sort'
app/helpers/queries_helper.rb:27:in `filters_options'
app/helpers/queries_helper.rb:22:in `filters_options_for_select'
app/views/queries/_filters.html.erb:23:in `_app_views_queries__filters_html_erb___7312794_37643472
'
app/views/issues/index.html.erb:18:in `block in _app_views_issues_index_html_erb__1038509231_37556
724'
app/views/issues/index.html.erb:11:in `_app_views_issues_index_html_erb__1038509231_37556724'
app/controllers/issues_controller.rb:83:in `block (2 levels) in index'
app/controllers/issues_controller.rb:82:in `index'
</pre></p>
<p>I think that a cause is “lib/extended_custom_query_patch.rb” line 35.<br /><a class="source" href="http://projects.andriylesyuk.com/projects/extended-fields/repository/entry/lib/extended_custom_query_patch.rb#L35">source:lib/extended_custom_query_patch.rb#L35</a></p>
<pre><code class="ruby syntaxhl"><span class="CodeRay"><span class="instance-variable">@available_filters</span>[filter_id] = options.merge({ <span class="symbol">:name</span> => filter_name, <span class="symbol">:format</span> => field.field_format }) <span class="keyword">if</span> options
</span></code></pre>
<p>Above, a variable <code>field</code> is not added to <code>options</code>.<br />In Redmine model/query.add_custom_field_filter(field, assoc=nil) method, a variable <code>field</code> is added to <code>options</code>.<br /><pre><code class="ruby syntaxhl"><span class="CodeRay"> add_available_filter filter_id, options.merge({
<span class="symbol">:name</span> => filter_name,
<span class="symbol">:format</span> => field.field_format,
<span class="symbol">:field</span> => field
})
</span></code><br /></pre></p>
<p>What do you think of it?</p> Extended Fields - Bug #2318 (In Progress): Issues as pdfhttp://projects.andriylesyuk.com/issues/23182014-06-25T13:18:24ZMarc M
<p>500 internal error page when I want to view/export an issue as pdf<br />It only appears when the extendes fields plugin is installed and only on issues.</p>
<p>Log:<br /><pre>
Started GET "/issues/2012.pdf" for xx.xxx.xxx.xxx at 2014-06-25 14:43:36 +0200
Processing by IssuesController#show as PDF
Parameters: {"id"=>"2012"}
Current user: xx (id=3)
Completed 500 Internal Server Error in 140.6ms
NoMethodError (undefined method `find_custom_field_template' for #<IssuesController:0x007fc27cc2c978>):
lib/redmine/export/pdf.rb:576:in `block in issue_to_pdf'
lib/redmine/export/pdf.rb:575:in `each'
lib/redmine/export/pdf.rb:575:in `each_with_index'
lib/redmine/export/pdf.rb:575:in `issue_to_pdf'
app/controllers/issues_controller.rb:133:in `block (2 levels) in show'
app/controllers/issues_controller.rb:125:in `show'
</pre></p>
<p>Redmine 2.5.1.stable.13182<br />Extended fields 0.2.3</p> Hooks Manager - Bug #2295 (Reopened): view_layouts_base_html_head hook not workinghttp://projects.andriylesyuk.com/issues/22952014-05-24T15:25:36ZFabien Crespel
<p>Hello,</p>
<p>It appears the <code>view_layouts_base_html_head</code> hook isn’t working, because it’s already used by the Hook Manager plugin itself to register its stylesheet.<br />See the attached patch for a simple fix (tested against Hook Manager 1.0.0 running on Redmine 2.5.1).</p>
<p>Thanks for making this plugin. <span class="wiking smiley smiley-smiley" title=":-)"></span></p> Red-Andy - Bug #2151 (Deferred): Conflict with sidebar_hide pluginhttp://projects.andriylesyuk.com/issues/21512013-02-11T15:01:41ZIvan Cenov
<p>I installed recently <a href="https://github.com/ries-tech/sidebar_hide" class="external">sidebar_hide</a> plugin and noticed a little visual conflict with red-andy theme. I tested with other themes and did not saw such conflict, so I decided to create issue here. Here is the conflict:<br /><img src="http://projects.andriylesyuk.com/attachments/download/403/sidebar_hide.PNG" alt="" /><br />The left side of the sidebar is cut off (where the handle resides). If you feel that this is not red-andy problem, please ignore the issue.<br />sidebar_hide is version 0.0.2.</p> Extended Fields - Bug #2098 (In Progress): Failure in XLS Export (undefined method `find_custom_f...http://projects.andriylesyuk.com/issues/20982012-09-07T13:54:16ZTib Onu
<p>I’m getting the error below when trying to export the list of issues using the XLS Export plugin. This only happens with projects having custom fields. I tried with Extended Fields 0.1.0 as well as with the latest SVN snapshot (0.1.1 from Sep 7, 2012) - both with the same result.</p>
<p><ins>Environment</ins></p>
<p>ruby 1.8.7 (2011-06-30 patchlevel 352) [i386-linux]</p>
<pre>
*** LOCAL GEMS ***
actionmailer (2.3.14, 2.3.11)
actionpack (2.3.14, 2.3.11)
activemodel (3.0.9)
activerecord (2.3.14, 2.3.11)
activeresource (2.3.14, 2.3.11)
activesupport (3.0.9, 2.3.14, 2.3.11)
builder (2.1.2)
bundler (1.1.3)
coderay (1.0.6)
daemon_controller (0.2.6)
fastercsv (1.5.4)
fastthread (1.0.7)
i18n (0.5.0, 0.4.2)
mysql (2.8.1)
mysql2 (0.2.7)
net-ldap (0.3.1)
passenger (3.0.7)
rack (1.2.3, 1.1.3, 1.1.2, 1.1.0)
rack-test (0.5.7)
rails (2.3.14)
rake (0.9.2.2, 0.8.7)
ruby-ole (1.2.11.4)
ruby-openid (2.1.8)
rubyzip (0.9.9)
spreadsheet (0.7.3)
tzinfo (0.3.33)
</pre>
<p>Redmine 1.4.1.stable.9617</p>
<p>Extended fields 0.1.0 or latest from SVN 0.1.1 (Sep 7, 2012)<br />Issues XLS export 0.2.1</p>
<p><ins>Error trace</ins><br /><pre>
Processing XlsExportController#export_current (for 10.11.31.114 at 2012-09-07 09:26:02) [GET]
Parameters: {"action"=>"export_current", "controller"=>"xls_export", "project_id"=>"myprojectname"}
NoMethodError (undefined method `find_custom_field_template' for #<XlsExportController:0xb593c140>):
vendor/plugins/redmine_xls_export/app/controllers/xls_export_controller.rb:116:in `export_to_string'
vendor/plugins/redmine_xls_export/app/controllers/xls_export_controller.rb:50:in `export_current'
passenger (3.0.7) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
passenger (3.0.7) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
passenger (3.0.7) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
passenger (3.0.7) lib/phusion_passenger/utils.rb:479:in `safe_fork'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:180:in `start'
passenger (3.0.7) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
passenger (3.0.7) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
passenger (3.0.7) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.7) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.7) helper-scripts/passenger-spawn-server:99
</pre></p> Projects - Bug #1989 (In Progress): Кирилиця в рекламіhttp://projects.andriylesyuk.com/issues/19892012-02-26T11:33:21ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Чомусь в рекламі кирилиця заміняється знаками запитання...</p>
<p><em>P.S. Можливо баг в плагіні Advertising...</em></p> WikiNG - Bug #1931 (Deferred): it seems conflict with the redmine ckeditorhttp://projects.andriylesyuk.com/issues/19312012-01-05T04:54:41ZSteven Wong
<p>it seems conflict withe the redmine ckeditor.</p>
<p>i write a wiki and use the wiking code ,but not supply.</p>