[ASTPPCOM-1273] Product create API - Validation message is not display for 'apply_on_rategroups' parameter Created: 10/Oct/22 Updated: 11/Oct/22 Resolved: 11/Oct/22 |
|
| Status: | Closed |
| Project: | ASTPP Community |
| Component/s: | None |
| Affects Version/s: | v6.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Medium |
| Reporter: | Yash Shah | Assignee: | Kinjal Prajapati |
| Resolution: | No Change Required | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 59m | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Reproducibility: | always | ||||||||
| Category: | Functional | ||||||||
| Edition: | Community | ||||||||
| Description |
|
Steps : Check in Admin side Expected result : For 'apply_on_rategroups' parameter validation message should be display for Unavailable rategroup and record Not to be created. Actual result : Here in this case validation message is not display for Unavailable Rategroupid and api run successfully and record also created |
| Comments |
| Comment by Kinjal Prajapati [ 11/Oct/22 ] |
|
You have entered 2 in the apply_on_rategroups field but in the https://13.127.15.161/pricing/price_list/ server, there is no rate group available with the ID 2. Please pass a valid ID. Let me know if you have anything. |
| Comment by Yash Shah [ 11/Oct/22 ] |
|
So in this please apply validation for not available rategroups. So record should not be created. Validation message should be display like "Please enter valid rate group id!" |
| Comment by Yash Shah [ 11/Oct/22 ] |
|
Resolved bug verification and reopened |
| Comment by Kinjal Prajapati [ 11/Oct/22 ] |
|
As we have discussed it's not an issue. If you enter the wrong ID then the product will be created with a blank **apply_on_rategroups field.** |
| Comment by Yash Shah [ 11/Oct/22 ] |
|
Ok Kinjal Prajapati As per our discussion and comment i am closing this issue |