Various problem using trunk on Redmine 2.3.3
I tried the trunk version on a new Redmine 2.3.3 installation and ran into the following problems:
WikiMacro.register_all!call at the end of
init.rbcauses an exception when trying to run
rake redmine:plugins:migratewhen the new wiki_macros migration has not been run before (and therefor the table for the model does not exist yet)
- the missing support for the (new?)
textargument for wiki macros caused the macro replacement code to crash
wiking_macros_definitions_patch.rbdoes not get triggered when a WikiNG custom macro has not been loaded yet (since I removed
WikiMacro.register_all!to prevent the problems with the migration) because the wiki formatting code calls
I created a patch that solved all my problems which you can find attached.
The patch does not take different Redmine version into account.
#3 Updated by Martin Corino about 9 years ago
Andriy Lesyuk wrote:
Thank you very much, Martin! In fact, the SVN version is not intended to be functioning yet!.. It’s the version in progress. Anyway your findings will definitely help me! Thanks!
P.S. For a stable WikiNG use the file: wiking_0.0.4.tar.bz2.
Yes, I was aware of that, but I was very interested to see the custom macro functionality so I just decided to give it a try. For me it works good enough for now.
I have your repository cloned in Git so I can easily merge your changes as they come.