core
core copied to clipboard
You cannot use ' in Push Pub Environment Name
When you do you get a JS error when trying to push
http://screencast.com/t/3AVgsMKjDDYi
Pull request https://github.com/dotCMS/dotCMS/pull/6002
The error was in the way that the Json was created. I updated the logic use JSONArray and JSONObject instead of manually create the json.
I also update the code for this classes (for QA):
modified: src/com/dotcms/rest/EnvironmentResource.java
modified: src/com/dotcms/rest/RoleResource.java
modified: src/com/dotcms/rest/StructureResource.java
modified: src/com/dotcms/rest/UserResource.java
Fixed, tested on nightly build 2014-07-28 // H2 // FF