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> WikiNG - Bug #2436 (Incomplete): Autocomplete debounce does not work as expectedhttp://projects.andriylesyuk.com/issues/24362018-01-01T21:47:44ZAndriy Lesyuks-andy@andriylesyuk.com
<p>To optimize load of <code>/mentions/autocomplete</code> I set the <code>debounce</code> option of <a href="https://github.com/yuku-t/jquery-textcomplete" class="external">jQuery textcomplete</a> to 500 ms. This should have made the autocomplete function be called with the delay.</p>
<p>In practice, however, with this option set the autocomplete function sometimes is not getting called at all, ever. Usually, this happens, when I put just <code>@</code> or <code>user:</code>, i.e., a user link without any term (without a part of login, name or identifier). If, however, I add any character and then remove it (i.e., get the same <code>@</code> or <code>user:</code> in result), the autocompletion gets executed.</p>
<p>If I remove the <code>debounce</code> option, everything works as expected. This makes me think, that the problem is in how jQuery textcomplete handles the debounce.</p> ISSUE-id - Bug #ISSUE-14 (Open): Escaping #ISSUE-id Textile rule does not workhttp://projects.andriylesyuk.com/issues/ISSUE-142017-12-02T21:46:29ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Escaping ISSUE-id’s special Textile syntax rule does not work, if multiple IDs are specified in one line. For example:</p>
<pre>
!#ISSUE-1, !#ISSUE-2 and !#ISSUE-3
</pre>
<p>Demo: <img src="#ISSUE-1," alt="" /><a class="issue tracker-9 status-5 priority-5 priority-default closed" title="Bulgarian translation (Closed)" href="http://projects.andriylesyuk.com/issues/ISSUE-2">#ISSUE-2</a> and #ISSUE-3</p>
<p>This happens because Redmine treats <code>!#ISSUE-1, !</code> as an image. Therefore, <code>parse_redmine_links_with_issue_id</code> gets the following <code>text</code>:</p>
<pre>
Demo: <img src="#ISSUE-1," alt="" />#ISSUE-2 and !#ISSUE-3
</pre>
<p>The same applies to legacy IDs:</p>
<p>Demo: <img src="#1," alt="" /><a class="issue tracker-2 status-5 priority-5 priority-default closed" title="User needs some way to see available activities (Closed)" href="http://projects.andriylesyuk.com/issues/2">#2</a> and <a class="issue tracker-7 status-5 priority-4 priority-low2 closed" title="Create more bug related contexts (Closed)" href="http://projects.andriylesyuk.com/issues/3">#3</a></p>
<p>So, it’s not a problem in the plugin, but in the Redmine core.</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> 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 #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> 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> Extended Fields - Bug #2155 (Incomplete): Wiki text field donot work well when using chinese as c...http://projects.andriylesyuk.com/issues/21552013-02-28T06:41:41ZJianrong SUN
<p>Change chinese to english will be fine.</p>
<p>I’m using redmine 2.2.3, ruby-1.9.3</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>