You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, when you are adding new custom issue block, this block's query id is set to 5. You don't have query with id=5 in your installation, so it fails. You can go to user_preferences table and edit your user's others field, so custom query has existing query id. Or, you can delete custom query line from your home page layout.
will destroy (error 500) my/page when adding custom query. only way to restore is to copy db from backup.
here is the log :
Processing MyController#page (for 192.168.xxxxx at 2011-06-04 02:53:59) [GET]
Parameters: {"action"=>"page", "controller"=>"my"}
Rendering template within layouts/base
Rendering my/page
ActionView::TemplateError (Couldn't find Query with ID=5) on line #34 of vendor/plugins/redmine_my_page_queries/app/views/my/blocks/_issues_custom_query_1.rhtml:
31: rescue ActiveRecord::RecordNotFound
32: @user.pref[:others][:custom_query1][:id]=5
33: @user.pref.save
34: @query = Query.find(@user.pref[:others][:custom_query1][:id].to_i)
35: end
36: custom_issues = @query.issues(:include => [:assigned_to, :tracker, :priority, :category, :fixed_version],
37: :limit => @user.pref[:others][:custom_query1][:limit] )
Rendering /usr/share/redmine/public/500.html (500 Internal Server Error)
tested on debian squeeze, redmine pulled from unstable with dependencies.
The text was updated successfully, but these errors were encountered: