Project

General

Profile

Defect #1284

Problem due to interaction with Wiki Template plugin

Added by Stéphane Briand about 6 years ago. Updated over 5 years ago.

Status:
解決(Resolved)
Priority:
通常(Normal)
Assignee:
Target version:
Start date:
09/26/2013
Due date:
% Done:

100%

Estimated time:

Description

具体的な再現方法
What steps will reproduce the problem?

Install the plugin Wiki template
Activate wiki extension module, as well as wiki template module.
Edit a wiki page.

Error page appears.

期待する結果と実際の結果
What is the expected output? What do you see instead?

Should be able to select a wiki template, and edit the wiki page content.

下記コマンドの実行結果を教えてください。
Please give us a result of following command.

% ruby script/about
Environment:
  Redmine version                2.3.3.devel
  Ruby version                   1.9.3-p392 (2013-02-22) [i386-mingw32]
  Rails version                  3.2.13
  Environment                    production
  Database adapter               Mysql2
SCM:
  Git                            1.8.1
  Filesystem
Redmine plugins:
  redmine_gsc_plantillas         0.1.0
  redmine_issue_checklist        2.0.5
  redmine_wiki_extensions        0.6.4
  redmine_wiki_issue_fields      0.4.1

Please provide any additional information below.

I found a way to turn around this issue. In file wiki_extensions_wiki_controller_patch.rb, line 47, I changed :

if (args[:partial] == 'common/preview')

to

if (args.class == Hash) and (args.has_key?:partial) and (args[:partial] == 'common/preview')

Actually, the type of args, is sometime a hash, sometime a string.

Associated revisions

Revision 4434f876 (diff)
Added by Haru Iida over 5 years ago

fixes #1284 conflict with template plugin.

History

#1

Updated by Haru Iida over 5 years ago

  • Project changed from r-labs to Wiki Extensions
  • Assignee set to Haru Iida
  • Target version set to 0.6.5

Sorry for my late answer. I did't notice this issue until now.
I will fix soon.

#2

Updated by Haru Iida over 5 years ago

  • Status changed from 新規(New) to 解決(Resolved)
  • % Done changed from 0 to 100

更新履歴 commit:ac08cf5b7e74 で適用されました。

Also available in: Atom PDF