generaldesoftware / RedMine-plantillas-plugin

This plugin allow you choose a wiki template when you add a new page.
23 stars 21 forks source link

Editing wiki pages get impossible (redmine 2.3.0) #24

Closed sbriand closed 10 years ago

sbriand commented 11 years ago

Context :

I have tested the plugin on to environments :

Environment: Redmine version 2.3.0.stable Ruby version 1.9.3 (x86_64-linux) Rails version 3.2.13 Environment production Database adapter Mysql2

Environment: Redmine version 2.3.0.stable Ruby version 1.9.2 (i486-linux) Rails version 3.2.13 Environment production Database adapter Mysql2

In both cases, migration had worked fine.

Behavior :

When I try to edit a wiki page, I get and error html page, indicating "internal server error" I tried it on different pages, on different projects, as an administrator and also as a regular user.

The template features seem to work fine : I am able to edit local and global templates.

Expected :

Can you investigate if something obvious appear to corrupt wiki pages editing? Many thanks.

sbriand commented 11 years ago

Some new elements :

This issue is due to a conflict between both plugin RedMine-plantillas-plugin and _wikiextension.

Extracted infos from log file :

Started GET "/projects/project1/wiki/wiki_page1/edit" for 83.115.200.234 at 2013-06-13 10:02:10 +0000 Processing by WikiController#edit as HTML Parameters: {"project_id"=>"project1", "id"=>"wiki_page1"} Current user: sbr_developper (id=40) Completed 500 Internal Server Error in 14ms

TypeError (can't convert Symbol into Integer): plugins/redmine_wiki_extensions/lib/wiki_extensions_wiki_controller_patch.rb:47:in []' plugins/redmine_wiki_extensions/lib/wiki_extensions_wiki_controller_patch.rb:47:inrender_with_wiki_extensions' plugins/redmine_gsc_plantillas/lib/wiki_controller_patch.rb:52:in edit_with_template' actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:insend_action' actionpack (3.2.13) lib/abstract_controller/base.rb:167:in process_action' actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:inprocess_action'

Error page from browser :

Internal error

An error occurred on the page you were trying to access. If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.

fryburger commented 11 years ago

I experienced the same problem and only was able to get around it by deinstalling the 'wiki_extensions' plugin :-(

sbriand commented 11 years ago

After investigation, I found the issue. It is at side of plugin Wiki_Extension. I have submitted a tracker in r-labs wiki_extension project.

fbretel commented 10 years ago

Fixed on redmine_wiki_extensions' side

gonzalogarciajaubert commented 10 years ago

Thanx