Restream / redmine_my_page_queries

Redmine My Page Queries
55 stars 23 forks source link

internal error while creating projects #7

Closed kjaklik closed 11 years ago

kjaklik commented 11 years ago

Hi, after installing redmine_my_page_queries i can no longer create new projects.

Exception i'm getting is:

Completed 500 Internal Server Error in 457ms

SystemStackError (stack level too deep): app/models/project.rb:289:in base_reload' app/models/project.rb:301:inbase_reload' app/models/project.rb:301:in reload' lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:485:inreload_nested_set' lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:494:in move_to' lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:426:inin_tenacious_transaction' lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:492:in move_to' lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:491:inmove_to' lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:351:in move_to_left_of' app/models/project.rb:1010:inset_or_update_position_under' app/models/project.rb:1000:in update_position_under_parent' app/controllers/projects_controller.rb:83:increate'

there are no other plugins installed, removing plugin solves this problem, but i'm missing functionality :/

themaze75 commented 11 years ago

Getting the same error.

Can't destroy projects either (I can manage to create them using the administrator interface, though).

Somehow, the plugin seems to induce a loop within Redmine in app/models/project.rb 's reload method (which calls itself? - stack overflow results).

Don't see how or where this plugin interferes with a project, though.

themaze75 commented 11 years ago

jacek007 proposed a solve for a related issue (cannot delete project). I've added to my fork and to my pull request solving the options issue.

nodecarter commented 11 years ago

I've merged #8 pull request. Thanks to @jacek007 and @themaze75 !