core icon indicating copy to clipboard operation
core copied to clipboard

You cannot use ' in Push Pub Environment Name

Open jtesser opened this issue 13 years ago • 3 comments

When you do you get a JS error when trying to push

http://screencast.com/t/3AVgsMKjDDYi

jtesser avatar Nov 13 '13 17:11 jtesser

Pull request https://github.com/dotCMS/dotCMS/pull/6002

oarrietadotcms avatar Jul 28 '14 01:07 oarrietadotcms

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

oarrietadotcms avatar Jul 28 '14 01:07 oarrietadotcms

Fixed, tested on nightly build 2014-07-28 // H2 // FF

bryanboza avatar Jul 29 '14 15:07 bryanboza