Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.0, 4.0.3
Description
I have a plugin that uses web panels (a vm file) in the Edit Dialog. When I upgrade the plugin, the old version of the template include in the panel is included/rendered
The only way I have managed to get the new version of the template to get included/rendered is restarting the server. I've attached a couple of plugins to reproduce.
This is how the panel is defined:
<web-panel key="brokenPanel" location="atl.editor" name="Broken panel in edit window"> <resource name="view" type="velocity" location="templates/panel.vm"/> </web-panel>
Steps to Reproduce
- Install Plugin version 1.0
- Go to any page, and edit it, you'll get an alert message, showing "Version 1.0", which is defined in the panel.vm file.
- Install Plugin version 2.0 (the panel.vm file has been updated to include "Version 2.0")
- Go to any page, and edit it, the alert message will still show "Version 1.0".
- Restart server
- Go to any page, and edit it, the alert message will finally show "Version 2.0".
Attachments
Issue Links
- is related to
-
JRASERVER-25450 Pluggable web panels are not really reloadable within JIRA
- Closed
-
BAM-9660 WebPanels may not get updated on plugin reload
- Closed
-
JRASERVER-25694 Web-panels do not seem to load properly when referencing a velocity template that is bundled with the plugin
- Closed
-
FE-2672 Resources for web-panels not loading when a plugin is loaded dynamically
- Closed
- is caused by
-
ATR-35 Loading...