Projects: Issueshttp://projects.andriylesyuk.com/http://projects.andriylesyuk.com/plugin_assets/andriy_lesyuk/images/s-andy.ico2019-02-08T12:15:55ZProjects
Redmine Extended Fields - Bug #2447 (New): Support Redmine 4.0 NoMethodError: undefined method `attr_prot...http://projects.andriylesyuk.com/issues/24472019-02-08T12:15:55ZMarc M
<p>After the upgrade to redmine 4.0, we can not execute “bundle exec rake db:migrate RAILS_ENV=production” <br />NoMethodError: undefined method `attr_protected’ for #<Class:0x0000000950d030></p>
<p>Log:<br /><pre>
** Invoke db:migrate (first_time)
** Invoke db:load_config (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
NoMethodError: undefined method `attr_protected' for #<Class:0x0000000950d030>
Did you mean? attr_reader
/var/lib/gems/2.3.0/gems/activerecord-5.2.2/lib/active_record/dynamic_matchers.rb:22:in `method_missing'
/usr/share/test_redmine/plugins/wiking/app/models/wiki_macro.rb:14:in `<class:WikiMacro>'
/usr/share/test_redmine/plugins/wiking/app/models/wiki_macro.rb:3:in `<top (required)>'
/var/lib/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/var/lib/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:378:in `block in require_or_load'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:37:in `block in load_interlock'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb:14:in `block in loading'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/concurrency/share_lock.rb:151:in `exclusive'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies/interlock.rb:13:in `loading'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:37:in `load_interlock'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:356:in `require_or_load'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:510:in `load_missing_constant'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:195:in `const_missing'
/usr/share/test_redmine/plugins/wiking/init.rb:101:in `<top (required)>'
/var/lib/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/var/lib/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
/usr/share/test_redmine/lib/redmine/plugin.rb:173:in `block in load'
/usr/share/test_redmine/lib/redmine/plugin.rb:164:in `each'
/usr/share/test_redmine/lib/redmine/plugin.rb:164:in `load'
/usr/share/test_redmine/config/initializers/30-redmine.rb:21:in `<top (required)>'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in `load'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in `block in load'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:285:in `load'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/engine.rb:657:in `block in load_config_initializer'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/notifications.rb:170:in `instrument'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/engine.rb:656:in `load_config_initializer'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/engine.rb:614:in `block (2 levels) in <class:Engine>'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/engine.rb:613:in `each'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/engine.rb:613:in `block in <class:Engine>'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in `instance_exec'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:32:in `run'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/lib/ruby/2.3.0/tsort.rb:228:in `block in tsort_each'
/usr/lib/ruby/2.3.0/tsort.rb:350:in `block (2 levels) in each_strongly_connected_component'
/usr/lib/ruby/2.3.0/tsort.rb:422:in `block (2 levels) in each_strongly_connected_component_from'
/usr/lib/ruby/2.3.0/tsort.rb:431:in `each_strongly_connected_component_from'
/usr/lib/ruby/2.3.0/tsort.rb:421:in `block in each_strongly_connected_component_from'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:50:in `each'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:50:in `tsort_each_child'
/usr/lib/ruby/2.3.0/tsort.rb:415:in `call'
/usr/lib/ruby/2.3.0/tsort.rb:415:in `each_strongly_connected_component_from'
/usr/lib/ruby/2.3.0/tsort.rb:349:in `block in each_strongly_connected_component'
/usr/lib/ruby/2.3.0/tsort.rb:347:in `each'
/usr/lib/ruby/2.3.0/tsort.rb:347:in `call'
/usr/lib/ruby/2.3.0/tsort.rb:347:in `each_strongly_connected_component'
/usr/lib/ruby/2.3.0/tsort.rb:226:in `tsort_each'
/usr/lib/ruby/2.3.0/tsort.rb:205:in `tsort_each'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/initializable.rb:60:in `run_initializers'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:361:in `initialize!'
/usr/share/test_redmine/config/environment.rb:16:in `<top (required)>'
/var/lib/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/var/lib/gems/2.3.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
/var/lib/gems/2.3.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:337:in `require_environment!'
/var/lib/gems/2.3.0/gems/railties-5.2.2/lib/rails/application.rb:520:in `block in run_tasks_blocks'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `block in execute'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `each'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:273:in `execute'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:214:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:238:in `block in invoke_prerequisites'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `each'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `invoke_prerequisites'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:213:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:238:in `block in invoke_prerequisites'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `each'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:236:in `invoke_prerequisites'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:213:in `block in invoke_with_call_chain'
/usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:194:in `invoke_with_call_chain'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/task.rb:183:in `invoke'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:160:in `invoke_task'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `block (2 levels) in top_level'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `each'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:116:in `block in top_level'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:125:in `run_with_threads'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:110:in `top_level'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:83:in `block in run'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:186:in `standard_exception_handling'
/var/lib/gems/2.3.0/gems/rake-12.3.2/lib/rake/application.rb:80:in `run'
/var/lib/gems/2.3.0/gems/rake-12.3.2/exe/rake:27:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'
Tasks: TOP => db:migrate => db:load_config => environment
</pre></p> WikiNG - Bug #2440 (Open): Footnotes ignore < pre >http://projects.andriylesyuk.com/issues/24402018-02-20T10:11:57ZИльфат Аминов
<p>Inside of < pre > blocks footnotes (double parentheses) not ignored by Wiking formatter.</p>
<p><img src="http://projects.andriylesyuk.com/attachments/download/670/wikiedit.png" alt="" /></p>
<p>⇒</p>
<p><img src="http://projects.andriylesyuk.com/attachments/download/671/wiki.png" alt="" /></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> Subscription - Bug #2422 (New): User is not removed from project_subscribers table when user is d...http://projects.andriylesyuk.com/issues/24222017-04-04T14:17:44ZCheyenne Wills
<p>Ran into an internal Redmine error after deleting a user from Redmine. The project_subscribers table still had a record for the deleted user.</p>
<p>I’m using the latest checkout level from the repository.</p>
<pre>NoMethodError (undefined method `allowed_to?' for nil:NilClass):
plugins/subscription/lib/issue_subscription_patch.rb:23:in `block in notified_users_with_subscribers'
plugins/subscription/lib/issue_subscription_patch.rb:21:in `notified_users_with_subscribers'
app/models/mailer.rb:62:in `deliver_issue_add'
app/models/issue.rb:1696:in `send_notification'
app/models/issue.rb:210:in `create_or_update'
app/controllers/issues_controller.rb:140:in `create'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
</pre>
<p>Manually deleting the offending entry from the project_subscribers table corrected the error.</p> SCM Creator (+Github) - Bug #2421 (New): The access to Git is based on projects identifier.http://projects.andriylesyuk.com/issues/24212017-03-31T09:08:22ZSven Mayer
<p>The access to Gits is based on projects identifier. When the projects identifier and the git repository name is not the same, the member access will fail. Somehow the access rules are based on a string comparison not on the projects number.</p>
<p>Thus, I can create two different gits but never access both because always one GIT has a different name then the project name. If the GIT access rules are based on the project ID’s and the links to the repository and then their name this would be possible.</p>
<p>Furthermore, its super confusing that I can not just rename a GIT repo and fix the database entry in the table “repositorys”. In order to to so I also need to rename the projects identifier.</p> SCM Creator (+Github) - Bug #2420 (New): Creating a Github repository failshttp://projects.andriylesyuk.com/issues/24202017-03-08T02:19:42ZMike Hagedon
<p>When I enable Github in the SCM Creator settings, the plugin seems to crash on a sudo-requiring action. I have sudo mode turned off. Any ideas on how to fix this, or at least get more of a stack trace?</p>
<pre>
Started POST "/projects/mike-test-project/repositories" for 150.135.113.198 at 2017-03-07 19:03:26 -0700
Processing by RepositoriesController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"HjSSjhkzR8crX0fcph2dTQk9u+UEIvJqJNMeI9vBuYb/1KMhSSS9Q75ADx/NzVYTwYJjkw4jn0XCmCNtisg/Eg==", "repository_scm"=>"Github", "repository"=>{"is_default"=>"0", "identifier"=>"mike6", "url"=>"https://github.com/michaelhagedon/mike6.git", "login"=>""}, "commit"=>"Create new repository", "operation"=>"add", "ignore"=>"", "project_id"=>"mike-test-project"}
Current user: mhagedon (id=3)
Creating reporitory: mike6.git
Completed 500 Internal Server Error in 1538ms (ActiveRecord: 1.5ms)
TypeError (no implicit conversion of Array into String):
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
</pre>
<p>SCM Creator <a class="changeset" title="Added URL to repository view (fixes #2122 and #2390)" href="http://projects.andriylesyuk.com/projects/scm-creator/repository/revisions/147">r147</a>, Redmine 3.1.3, Ruby 2.2.1</p> RedPress - Bug #2404 (Incomplete): Redmine now requires POST for logouthttp://projects.andriylesyuk.com/issues/24042016-08-26T17:16:40ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Now, when a user clicks on “Sign out” link in WordPress, he/she gets a Redmine page with a “Sigh out” button. Direct <code>GET</code> request to <code>/logout</code> no longer works, see <a class="wiking external wiking-redmine wiking-issue" href="http://www.redmine.org/issues/13022">#13022</a> and <a class="wiking external wiking-redmine wiking-issue" href="http://www.redmine.org/issues/13069">#13069</a>. A workaround needed.</p>
<p>Logout now requires <code>POST</code> and expects valid CSRF token to be specified.</p> RedWord - Bug #2368 (Open): Next and prev links for multi-page articleshttp://projects.andriylesyuk.com/issues/23682015-04-02T17:27:19ZAndriy Lesyuks-andy@andriylesyuk.com
<p>Accordingly to Google <code>rel="prev"</code> and <code>rel="next"</code> links of the multi-page article should point to the previous and next pages of the article:<br /><a class="external" href="https://support.google.com/webmasters/answer/1663744">https://support.google.com/webmasters/answer/1663744</a></p>
<p>However, WordPress seems to use “neighbor” articles for these links, what can potentially cause issues.</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> SCM Creator (+Github) - Bug #2356 (New): Repositories not removed from file systemhttp://projects.andriylesyuk.com/issues/23562015-01-09T18:49:43ZLluís -
<p>I just added some debugging prints and realized that “delete_repository” in “lib/creator/scm_creator.rb” is never called, leaving lots of repositories behind in the filesystem.</p>
<p>I’m using redmine 2.5.1.</p> 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> 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> Extended Fields - Bug #2348 (Open): Buggy implementation at _list.html.erbhttp://projects.andriylesyuk.com/issues/23482014-11-10T22:35:50ZDariusz Kowalski
<p>I found that you have rewritten _list.html.erb</p>
<p>At original file was:</p>
<p><%= raw query.inline_columns.map {|column| "<td class=\"#{column.css_classes}\">#{column_content(column, issue)}</td>"}.join %></p>
<p>You have changed it to:</p>
<p><% inline_columns.each do |column| <span>><br /><%= content_tag 'td’, column_content(column, issue), :class ⇒ column.respond_to?(:css_classes) ? column.css_classes : column.name unless column.nil?%><br /> <</span> end %></p>
<p>now, when other plugin add new field as HTML, your code change it to HTML entries and HTML code is visible directly (it is not rendered as supposed)</p>
<p>Because of that I had problems with it at redmine_tags plugin. Issue is here: <a class="external" href="https://github.com/ixti/redmine_tags/issues/93">https://github.com/ixti/redmine_tags/issues/93</a></p>
<p>It would be nice if you can correct this issue.</p> Project Sections - Bug #2346 (Incomplete): Project list shifts when there are more text in sidebarhttp://projects.andriylesyuk.com/issues/23462014-11-06T10:52:09Zcharline ferro
<p>Sorry for my english, I’m using redmine 2.6.0 with your plugin and i noticed something. I think images are better:</p>
<p><img src="http://projects.andriylesyuk.com/attachments/download/629/redmine_pb.jpg" alt="" /></p>
<p>And here the problem :</p>
<p><img src="http://projects.andriylesyuk.com/attachments/download/630/redmine_pb2.jpg" alt="" /></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>