[CONTROLLER-148] Controller should not allow to create flow with different flowID in URI and xml body Created: 06/Feb/14 Updated: 25/Jul/23 Due: 07/Mar/14 Resolved: 28/Feb/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Md Faizan | Assignee: | Vaclav Demcak |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| External issue ID: | 404 |
| Priority: | High |
| Description |
|
I created a flow with different flowID in URI and xml body as stated below: <?xml version="1.0" encoding="UTF-8" standalone="no"?> The flow gets created and RESPONSE is 200 ok. When I hit the below URI it fails to generate the xml. On the other hand when I hit the below URI, response is 404 Not Found The controller should not allow to create a flow with diffrent flowId in URI and xml body at the first place itself. Thanks |
| Comments |
| Comment by Tony Tkacik [ 07/Feb/14 ] |
|
Moved to MD-SAL, as the data semantic validation should be there, and this also affects java additions. |
| Comment by Tony Tkacik [ 18/Feb/14 ] |
|
SchemaAwareDataStoreAdapter should verify this. |
| Comment by Vaclav Demcak [ 28/Feb/14 ] |