[CONTROLLER-752] When saving over data which already exists the JSON response contains forward slash. Created: 01/Sep/14 Updated: 05/Sep/14 Resolved: 05/Sep/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | restconf |
| Affects Version/s: | Helium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | RichardHill | Assignee: | Tony Tkacik |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| External issue ID: | 1661 |
| Description |
|
I am raising this as a bug because the presence or (lack of) of '/' leads to inconsistencies in describing the expected response. TEST ENV I tried to save data which already exists in datastore in JSON format to a location behind /config root. I then tried to invoke an error response by saving the same data again. No special config was used. Steps method is: post data is: { ] and then repeat method is: post data is: { ] { ]", ACTUAL RESPONSE { ]" NOTES |
| Comments |
| Comment by Tony Tkacik [ 05/Sep/14 ] |
|
Is there problem with forward slash? escaping is suggested only for Javascript, The representation of strings is similar to conventions used in the C Also path returned in error message represents internal format used in ODL not restconf and is for information purposes and may change, since its contents |