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> 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> OpenID Fix - Bug #2362 (Incomplete): Redmine 3 Compatibiltyhttp://projects.andriylesyuk.com/issues/23622015-03-10T14:27:44ZHarold Simpson
<p>Plugin is not compatible with Redmine 3 (rails 4.2)</p>
<p>I have made a quick patch : <a class="external" href="https://github.com/harold-s/harold-s/blob/master/patch_openid_fix_for_redmine3">https://github.com/harold-s/harold-s/blob/master/patch_openid_fix_for_redmine3</a></p> Extended Fields - Bug #2349 (Open): Redmine Bulk edit doesn't work when extended_field plugin is ...http://projects.andriylesyuk.com/issues/23492014-11-11T05:58:41ZMiluka De Silva
<p>I’m new to to ruby and redmine. When i use newest version of extened_fields plugin in redmine 2.4.6 it gives me this error</p>
<p>Internal error</p>
<p>An error occurred on the page you were trying to access.<br />If you continue to experience problems please contact your Redmine administrator for assistance.</p>
<p>If you are the Redmine administrator, check your log files for details about the error.</p>
<p>My error log shows</p>
<pre>
ActionView::Template::Error (wrong number of arguments (4 for 3)):
93: <% @custom_fields.each do |custom_field| >
94: <p>
95: <label><= h(custom_field.name) ></label>
96: <= custom_field_tag_for_bulk_edit('issue', custom_field, @projects, @issue_params[:custom_field_values][custom_field.id.to_s]) >
97: </p>
98: < end %>
99:
app/views/issues/bulk_edit.html.erb:96:in `block (2 levels) in app_views_issues_bulk_edit_html_erb__1466857573327355685_70119411110820'
app/views/issues/bulk_edit.html.erb:93:in `block in app_views_issues_bulk_edit_html_erb__1466857573327355685_70119411110820'
app/views/issues/bulk_edit.html.erb:25:in `_app_views_issues_bulk_edit_html_erb___1466857573327355685_70119411110820'
</pre>
<p>Can anybody please help me with this issue.</p> SCM Creator (+Github) - Bug #2343 (Open): Internal error when creating projects having a List for...http://projects.andriylesyuk.com/issues/23432014-10-16T10:30:21ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Here is the relevant section from the log file:</p>
<pre>
Completed 500 Internal Server Error in 482.5ms
TypeError (can't convert Array into String):
app/controllers/projects_controller.rb:83:in `create'
</pre>
Sequence to reproduce:
<ul>
<li>Go to Administration → Costom fields and create a new custom field in Projects of type (format) List.</li>
<li>Go to Projects and create a new project.</li>
<li>Clicking on Create raises the above error.</li>
</ul> 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> Extended Fields - Bug #2242 (Incomplete): Message "invalid statement: STR_TO_DATE" when using MS SQLhttp://projects.andriylesyuk.com/issues/22422013-10-04T16:10:29ZOlivier Houdas
<p>I activate Extended Fields 0.2.2 on Redmine 2.3.3.<br />Our installation of Redmine is on CentOS, uses MS SQL server 2008 and Ruby on rails 2.0.0-p247</p>
<p>When I click on the Calendar tab of a project, I get an internal error, with the following indication in the log:</p>
<pre><code>ActiveRecord::StatementInvalid (TinyTds::Error: 'STR_TO_DATE' is not a recognized built-in function name.: EXEC sp_executesql N'SELECT [custom_values].[id] AS t0_r0, [custom_values].[customized_type] AS t0_r1, [custom_values].[customized_id] AS t0_r2, [custom_values].[custom_field_id] AS t0_r3, [custom_values].[value] AS t0_r4, [custom_fields].[id] AS t1_r0, [custom_fields].[type] AS t1_r1, [custom_fields].[name] AS t1_r2, [custom_fields].[field_format] AS t1_r3, [custom_fields].[possible_values] AS t1_r4, [custom_fields].[regexp] AS t1_r5, [custom_fields].[min_length] AS t1_r6, [custom_fields].[max_length] AS t1_r7, [custom_fields].[is_required] AS t1_r8, [custom_fields].[is_for_all] AS t1_r9, [custom_fields].[is_filter] AS t1_r10, [custom_fields].[position] AS t1_r11, [custom_fields].[searchable] AS t1_r12, [custom_fields].[default_value] AS t1_r13, [custom_fields].[editable] AS t1_r14, [custom_fields].[visible] AS t1_r15, [custom_fields].[multiple] AS t1_r16, [custom_fields].[is_for_new] AS t1_r17, [custom_fields].[hint] AS t1_r18 FROM [custom_values] LEFT OUTER JOIN [custom_fields] ON [custom_fields].[id] = [custom_values].[custom_field_id] WHERE (custom_fields.field_format = N''date'' AND custom_values.customized_type = N''Issue'' AND custom_values.customized_id IN (NULL) AND STR_TO_DATE(custom_values.value, ''%Y-%m-%d'') BETWEEN ''09-30-2013'' AND ''11-03-2013'')')</code></pre>
<p>Removing the calls to STR_TO_DATE() in /lib/extended_calendars_controller_patch.rb fixes the internal error issue (but it might of course cause other issues, this is not a fix, just a check that the issue lies there and only there).</p> Download Button - Bug #2216 (New): Missing partial download/sidebarhttp://projects.andriylesyuk.com/issues/22162013-09-01T11:19:16ZRoman M
<p>Hi,<br />I use latest Redmine 2.3.x from their SVN repository and latest version of “download-button” from <a class="external" href="http://svn.s-andy.com/download-button">http://svn.s-andy.com/download-button</a></p>
<p>I tested in development mode on Ubuntu.</p>
<p>Here is that I see in log on accessing of any path on localhost, even <a class="external" href="http://localhost:3001/">http://localhost:3001/</a><br /><pre><code>
Missing template, responding with 404
Rendered common/error.html.erb within layouts/base (0.8ms)
Completed 500 Internal Server Error in 1018ms
ActionView::Template::Error (Missing partial download/sidebar with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :rsb]}. Searched in:
* "/mnt/disk/Devel/RoR/redmine-2.3/app/views"
):
47: <div id="main-menu">
48: <%= render_main_menu(@project) %>
49: </div>
50: <% end %>
51: </div>
52:
53: <div id="main" class="<%= sidebar_content? ? '' : 'nosidebar' %>">
lib/redmine/hook.rb:111:in `block in render_on'
lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
lib/redmine/hook.rb:61:in `each'
lib/redmine/hook.rb:61:in `block in call_hook'
lib/redmine/hook.rb:58:in `tap'
lib/redmine/hook.rb:58:in `call_hook'
lib/redmine/hook.rb:158:in `call_hook'
app/helpers/application_helper.rb:1161:in `view_layouts_base_sidebar_hook_response'
app/helpers/application_helper.rb:1157:in `sidebar_content?'
app/views/layouts/base.html.erb:50:in `_app_views_layouts_base_html_erb__872624873_94244800'
app/controllers/application_controller.rb:397:in `block (2 levels) in render_error'
app/controllers/application_controller.rb:395:in `render_error'
app/controllers/application_controller.rb:383:in `render_404'
</code></pre></p>
<p>Do I miss something in installation?</p> Download Button - Bug #2165 (Open): Error in emailhttp://projects.andriylesyuk.com/issues/21652013-03-08T17:33:33ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Certainly the “Download” button is not rendered in the email body... But it also gives the error:</p>
<blockquote>
<p>Error executing the download macro (Missing template download/_button.erb in view path app/views)</p>
</blockquote> TOC - Bug #2149 (New): New dokuwiki default template (from angua) make problemhttp://projects.andriylesyuk.com/issues/21492013-02-05T01:21:55ZErial Krale
<p>New dokuwiki default template make problem.</p>
<p>~<sub>TOC</sub>~ function is good work, but style is something wrong...</p>
<p>It apear in right side, always.</p>
<p>For example,</p>
<p>in old template<br />[[<a class="external" href="http://nex32.net/dokuwiki/%EA%B2%8C%EC%9E%84/%ED%8F%AC%ED%94%8C%EB%A9%94%EC%9D%BC">http://nex32.net/dokuwiki/%EA%B2%8C%EC%9E%84/%ED%8F%AC%ED%94%8C%EB%A9%94%EC%9D%BC</a>]]</p>
<p>good work. I love it.</p>
<p>but in new template<br />[[<a class="external" href="http://nex32.net/dokutest/%EA%B2%8C%EC%9E%84/%ED%8F%AC%ED%94%8C%EB%A9%94%EC%9D%BC">http://nex32.net/dokutest/%EA%B2%8C%EC%9E%84/%ED%8F%AC%ED%94%8C%EB%A9%94%EC%9D%BC</a>]]<br />bad... I don’t set it right side. just place ~<sub>TOC</sub>~.</p>
<p>I think...new template change toc style ID... it apears dw__toc...</p>
<p>Please check it.</p>
<p>Thanks.</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> SCM Creator (+Github) - Bug #2084 (Incomplete): ActionView::Template::Error (syntax error on line...http://projects.andriylesyuk.com/issues/20842012-07-02T06:04:00ZRob Landry
<p>I have decided to use my webhost for redmine vice my home pc. I have done a fresh install of redmine 2.0.3. Following installation instruction i installed redmine_scm 0.4.1.</p>
<p>Upon creating a new project I am getting a 500 error. Looking at my production log this is what i see:</p>
<pre>Started GET "/projects/new" for 74.76.105.241 at Sun Jul 01 23:58:29 -0600 2012
Processing by ProjectsController#new as HTML
Rendered plugins/redmine_scm/app/views/projects/_scm.html.erb (2.2ms)
Rendered projects/_form.html.erb (329.9ms)
Rendered projects/new.html.erb within layouts/base (332.2ms)
Completed 500 Internal Server Error in 349ms
ActionView::Template::Error (syntax error on line 33, col 12: `'):
1: <% if ScmConfig['force_repository'] %>
2: <script type="text/javascript">
3: //<![CDATA[
4: Event.observe(window, 'load', function() {
lib/redmine/hook.rb:111:in `send'
lib/redmine/hook.rb:111:in `view_projects_form'
lib/redmine/hook.rb:61:in `send'
lib/redmine/hook.rb:61:in `call_hook'
lib/redmine/hook.rb:61:in `each'
lib/redmine/hook.rb:61:in `call_hook'
lib/redmine/hook.rb:58:in `tap'
lib/redmine/hook.rb:58:in `call_hook'
lib/redmine/hook.rb:158:in `call_hook'
app/views/projects/_form.html.erb:23:in `_app_views_projects__form_html_erb__1330010327_69983346472560'
app/views/projects/new.html.erb:4:in `_app_views_projects_new_html_erb__1556954071_69983346550480'
app/helpers/application_helper.rb:950:in `labelled_form_for'
app/views/projects/new.html.erb:3:in `_app_views_projects_new_html_erb__1556954071_69983346550480'</pre>
<p>I know in fact that this version of scm works great on my home pc. The only differences i can think of between the 2 servers is that the problematic one has ruby 1.8.7.</p>
<p>Please Advise.</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> Orangutan::Redmine - Bug #1613 (Open): Guarantee that a notification will come to end userhttp://projects.andriylesyuk.com/issues/16132011-02-02T18:31:15ZAndriy Lesyuks-andy@andriylesyuk.com
Right now Orangutan notifies users about changes made to issues etc. But... There are several problems here:
<ol>
<li>If Orangutan crashes it won’t notify about changes made until crash (if he have not yet) – that is Orangutan should save the “pool” of notifications somewhere;</li>
<li>It does not take into account user’s Redmine notification settings (see <a class="issue tracker-6 status-7 priority-4 priority-low2" title="Respect user&#39;s Redmine notifications settings (Open)" href="http://projects.andriylesyuk.com/issues/1029">#1029</a>);</li>
<li>It does not send everything in a pool to a user – it sends only notifications less than 5 days old.</li>
</ol>
<p>I’m not sure about the last. Are you interested in getting notifications older than 5 days?!..</p>
<p>If this should be done better I guess to inform users about older notifications this way:<br /><pre>
Orangutan: ... <Actual notification 1> ...
Orangutan: ... <Actual notification 2> ...
Orangutan: ...
Orangutan: ... <Actual notification <N>> ...
Orangutan: There are 10 older notifications... Whould you like to check them?
User: Yes
Orangutan: ... <Old notification 1> ...
Orangutan: ...
</pre></p>