Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.4.2.stable error #31

Open
keithkuk opened this issue Jul 28, 2017 · 13 comments
Open

3.4.2.stable error #31

keithkuk opened this issue Jul 28, 2017 · 13 comments

Comments

@keithkuk
Copy link

can not support 3.4.2.stable .
pls fix it.

@RazZziel
Copy link

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'

@mattiasa
Copy link

mattiasa commented Aug 5, 2017

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

@ghost
Copy link

ghost commented Oct 13, 2017

Hi,

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

@coffeduong
Copy link

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

It doesn't work

@GrimDReaper
Copy link

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

@mauro-miatello
Copy link

me too

@mauro-miatello
Copy link

mmm some hope that this will be fixed ?

@mauro-miatello
Copy link

anyone knows how to fix ?

@cydgit
Copy link

cydgit commented Dec 11, 2017

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.

@mauro-miatello
Copy link

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

@mattiasa
Copy link

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

@Vanav
Copy link

Vanav commented Jun 18, 2018

Redmine support of custom queries is limited:

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

@minoru-nagasawa
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants