redmine_my_page_queries
redmine_my_page_queries copied to clipboard
3.4.2.stable error
can not support 3.4.2.stable . pls fix it.
I get this error when using redmine_my_page_queries on 3.4.2:
Started GET "/my/page" for 178.33.113.61 at 2017-07-31 09:18:30 +0200
Processing by MyController#page as HTML
Current user: raziel (id=3)
Rendered plugins/redmine_my_page_queries/app/views/my/page.html.erb within layouts/base (1.9ms)
Completed 500 Internal Server Error in 12ms (ActiveRecord: 6.2ms)
ActionView::Template::Error (No route matches {:action=>"page_layout", :controller=>"my"}):
1: <%= stylesheet_link_tag 'my_page_queries', plugin: 'redmine_my_page_queries' %>
2: <%= javascript_include_tag 'my_page_queries', plugin: 'redmine_my_page_queries' %>
3: <div class="contextual">
4: <%= link_to l(:label_personalize_page), action: 'page_layout' %>
5: </div>
6:
7: <h2><%= l(:label_my_page) %></h2>
plugins/redmine_my_page_queries/app/views/my/page.html.erb:4:in `_plugins_redmine_my_page_queries_app_views_my_page_html_erb___1467037525751764458_29107460'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
Removing that page_layout view appears to have happened in http://www.redmine.org/issues/25297
Hi,
I have the same problem with redmine 3.4. Are you still working on this plugin?
Removing that page_layout view appears to have happened in http://www.redmine.org/issues/25297
It doesn't work
I have this awesome plugin and on new version have same problem. Thank for fix :)
me too
mmm some hope that this will be fixed ?
anyone knows how to fix ?
Same issue here. Based on http://www.redmine.org/issues/25297, it looks like it won't be an easy fix. Also, it looks like Redmine 3.4.x supports custom queries on My Page even without this plugin.
@cydgit interesting, what happens if i remove plugin? lose my queries?
I had a look at this again and yes, it seems the plugin needs an overhaul to support 3.4.x. But, as @cydgit says redmine now supports custom queries.
You don't lose your queries but you lose the customizations on the my page so you'll have to add all your custom queries to the "My Page" again. You can just select Issues in the "Add" dropdown on the stock "My Page". There is currently a limit of 3 custom queries, and an increase of this number has been requested here: http://www.redmine.org/issues/27313
This can be changed by changing the :max_occurs param to CORE_BLOCKS in lib/redmine/my_page.rb
Redmine support of custom queries is limited:
- maximum 3 blocks on My Page,
- maximum 10 issues in block, and no customization. Please, update plugin.
I tried to update it for Redmine 3.4.x. If you would like, try to use. https://github.com/minoru-nagasawa/redmine_my_page_queries