[
https://issues.apache.org/jira/browse/JSPWIKI-933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15223488#comment-15223488
]
brushed commented on JSPWIKI-933:
---------------------------------
Hi Andrew,
I noticed this problem in the past, but on the recent versions of the wysiwyg
editor, this issue does not re-occur.
But, when I checked to commit of Juan (2.10.2-svn-42) I notice a change which
apparently has been overwritten again more recently. (probably by me)
RenderingManager renderingManager = new RenderingManager();
The problem does not occur when using "new RenderingManager()".
However, the problem does reoccur when using "engine.getRenderingManager()"
instead.
(opposite to what may be expected)
Anybody an idea ?
dirk
> wysiwyg.jsp redefine renderer for WikiEngine
> --------------------------------------------
>
> Key: JSPWIKI-933
> URL: https://issues.apache.org/jira/browse/JSPWIKI-933
> Project: JSPWiki
> Issue Type: Bug
> Affects Versions: 2.10.2
> Reporter: Andrew Krasnoff
> Priority: Critical
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> RenderingManager is singletone. wysiwyg.jsp redefine its renderer to
> WysiwygEditingRenderer and doesn't restore it after render.
> To reproduce a bug, just open any page for edit, swith to wysiwyg mode and
> then click to cancel. After such simple workflow - left menu shows incorrect
> links. The reason of such behaviour - incorrect renderer class in the
> RenderingManager(inside WikiEngine)
> I tested it only on JSPWiki 2.10.2
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)