redmine_my_page_queries icon indicating copy to clipboard operation
redmine_my_page_queries copied to clipboard

3.4.2.stable error

Open keithkuk opened this issue 7 years ago • 13 comments

can not support 3.4.2.stable . pls fix it.

keithkuk avatar Jul 28 '17 08:07 keithkuk

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'

RazZziel avatar Jul 31 '17 07:07 RazZziel

Removing that page_layout view appears to have happened in http://www.redmine.org/issues/25297

mattiasa avatar Aug 05 '17 21:08 mattiasa

Hi,

I have the same problem with redmine 3.4. Are you still working on this plugin?

ghost avatar Oct 13 '17 12:10 ghost

Removing that page_layout view appears to have happened in http://www.redmine.org/issues/25297

It doesn't work

coffeduong avatar Oct 20 '17 09:10 coffeduong

I have this awesome plugin and on new version have same problem. Thank for fix :)

GrimDReaper avatar Oct 23 '17 14:10 GrimDReaper

me too

mauro-miatello avatar Nov 02 '17 14:11 mauro-miatello

mmm some hope that this will be fixed ?

mauro-miatello avatar Nov 08 '17 09:11 mauro-miatello

anyone knows how to fix ?

mauro-miatello avatar Nov 30 '17 10:11 mauro-miatello

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 avatar Dec 11 '17 12:12 cydgit

@cydgit interesting, what happens if i remove plugin? lose my queries?

mauro-miatello avatar Jan 08 '18 14:01 mauro-miatello

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

mattiasa avatar Jan 14 '18 22:01 mattiasa

Redmine support of custom queries is limited:

  • maximum 3 blocks on My Page,
  • maximum 10 issues in block, and no customization. Please, update plugin.

Vanav avatar Jun 18 '18 14:06 Vanav

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

minoru-nagasawa avatar Sep 26 '18 16:09 minoru-nagasawa