Bug 1062289
| Summary: | Create new Package dialog displays no warning when using " in package name | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Zuzana Krejčová <zkrejcov> | ||||||
| Component: | Business Central | Assignee: | manstis | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Locker <jlocker> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 6.0.0 | CC: | jlocker, kverlaen, lpetrovi, rrajasek | ||||||
| Target Milestone: | ER2 | ||||||||
| Target Release: | 6.0.1 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-08-06 19:58:55 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Zuzana Krejčová
2014-02-06 15:21:36 UTC
Same thing happens with slash (\). Other invalid chars seem to produce a warning, as expected. Created attachment 867934 [details]
New package popup warning when quote in name
Created attachment 867935 [details]
New package popup warning when slash in name
Please see attached. I cannot replicate. Can you please retest with next release (or advise if I've done something wrong). Thanks, Mike (In reply to manstis from comment #4) > Please see attached. I cannot replicate. > > Can you please retest with next release (or advise if I've done something > wrong). > > Thanks, > > Mike Colleague came up with the probable reason for this - is it possible that the input is not escaped properly before being sent? 'a\b' works, 'a\\' as well, but e.g. 'a\s' does not. 'a\"' works as well. For 'a"b', I get the following from error console in the browser: uncaught exception: com.google.gwt.json.client.JSONException: Error parsing JSON: SyntaxError: JSON.parse: expected ':' after property name in object And for 'a\s', I get this: uncaught exception: com.google.gwt.json.client.JSONException: Error parsing JSON: SyntaxError: JSON.parse: bad escaped character |