[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: File Rategroupvalidationissue.mp4    
Issue Links:
Blocks
blocks ASTPPCOM-975 Create API For Community V6 Version Done
Reproducibility: always
Category: Functional
Edition: Community

 Description   

Steps :

Check in Admin side
1. Go to Services > Products > Product create API
2. Enter valid input for all parameters and enter unavailable rategroup id in
'apply_on_rategroups' parameter and run the api
3. Check creation_date and last_modified_date time in Response and match with GUI

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

Generated at Sat Feb 10 07:24:39 CET 2024 using Jira 8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a.