Plugin deployer doesn't update properly the dwr.xml file
Steps to reproduce it:
1) In a plugin, place the dwr-ext.file with contents like this
<create creator="new" javascript="UserAjax" scope="application">
<param name="class" value="com.dotmarketing.portlets.ajax.CustomUserAjax"/>
</create>
Save it.
2) Deploy plugins and check the dotCMS/WEB-INF/dwr.xml file. It will look like this
<!-- Don't ever delete the following comment tags, it will break the plugin system -->
Although the creator is overriden, the new creator is not placed properly on the dwr.xml file. It happens only when you try to override one of our dwr creators through a plugin. For new creators (new functionalities) it works.
See http://jira.dotmarketing.net/browse/EE-5397?focusedCommentId=5974461#action_5974461 for more info, because gitHub doesn't display the whole error message I pasted here for some reason.
I reproduced this on 2.0.1 and 2.2.1.
Thanks, Jorge!
Issue 2717 - How dwr.xml file looks after deploying plugins (without hotfix) http://paste-dotcms.appspot.com/view/ag5zfnBhc3RlLWRvdGNtc3INCxIFUGFzdGUY6YQBDA
Issue 2717 - How dwr.xml file looks after deploying plugins (including hotfix with fixed code and dotcms_ant.jar) http://paste-dotcms.appspot.com/view/ag5zfnBhc3RlLWRvdGNtc3INCxIFUGFzdGUYuZQBDA
Jose if there is still an issue do 2 things.
- Make sure it is a real issue in 2.3 or master. If not then maybe something is wrong with your plugin
2 If there is still an issue you have discovered put in a new issue referencing this one
Thanks, Jason S. Tesser Director, Support Services dotCMS, Inc. T: 305.858.1422 x7003 http://twitter.com/dotCMS www.dotcms.com
On Mon, Apr 29, 2013 at 12:25 PM, Jose Orsini [email protected]:
Issue 2717 - How dwr.xml file looks after deploying plugins (without hotfix)
http://paste-dotcms.appspot.com/view/ag5zfnBhc3RlLWRvdGNtc3INCxIFUGFzdGUY6YQBDA
Issue 2717 - How dwr.xml file looks after deploying plugins (including hotfix with fixed code and dotcms_ant.jar)
http://paste-dotcms.appspot.com/view/ag5zfnBhc3RlLWRvdGNtc3INCxIFUGFzdGUYuZQBDA
— Reply to this email directly or view it on GitHubhttps://github.com/dotCMS/dotCMS/issues/2717#issuecomment-17177478 .
Passing this one, As Issue #2780 has passed.