[DLUX-86] Yang UI - History tab - It is possible to edit and run sent data with parameter that is not created in parameters tab Created: 10/May/16 Updated: 31/May/16 Resolved: 31/May/16 |
|
| Status: | Resolved |
| Project: | dlux |
| Component/s: | General |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Daša Šimková | Assignee: | Lubomir Balogh |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 5870 |
| Description |
|
Yang UI - History tab - It is possible to edit and run sent data with parameter that is not created in parameters tab Repro steps: |
| Comments |
| Comment by Daša Šimková [ 10/May/16 ] |
|
Attachment Parametrized request with string3.png has been added with description: Run request with invalid parameter |
| Comment by Lubomir Balogh [ 27/May/16 ] |
| Comment by Daša Šimková [ 31/May/16 ] |
|
Retest: to load topology list. ACTUAL BEAHVIOUR: The application does not allow to save such edited data. "Parameter does NOT exist" alert shows. RETEST OK 6. Enter "t0" to topology id path wrapper and insert nonexistent parameter, e.g. <<p2>> to codemirror "topology-id": "t0" to replace "t0". Click Save parametrized data. ACTUAL BEHAVIOUR: The application does not allow to save such edited data. "<<p2>> : undefined - won't be replaced" message shows in codemirror, "Parameter does NOT exist" alert shows. RETEST OK 7. Navigate to Parameters tab - add the parameter: name: p2, value: v2. Navigate to History tab and Save parametrized data with previously added <<p2>> parameter in code mirror. ACTUAL BEAHVIOUR: Parametrized data is sent. Since path wrapper does not read data from codemirror, the <<p2>> is not present in path wrapper. Thus, when the request is run, it results in erro, erro alert shows "Error sending request - : The value 't0' for key 'topology-id' specified in the URI doesn't match the value 'v2' specified in the message body." RETEST OK 8. Insert existent <<p2>> parameter to topology id path wrapper input and Save parametrized data and run the request. Request was successfully sent. Navigate to Parameters tab and delete p2 parameter. Navigate back to History tab and run saved parametrized request again. ACTUAL BEHAVIOUR: The request was not run. "Parameter does NOT exist"alert shows. RETEST OK 9. Navigate to Parameters tab and add p2 parameter with value v2. Navigate back to History tab and run saved parametrized request again. ACTUAL BEHAVIOUR: The request is successfully run. RETEST OK |