[ASTPPCOM-1259] Product list API - Records also display for invalid input for parameters Created: 06/Oct/22  Updated: 11/Oct/22  Resolved: 10/Oct/22

Status: Closed
Project: ASTPP Community
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Yash Shah Assignee: Kinjal Prajapati
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 1h 29m
Original Estimate: Not Specified

Attachments: File Product list API_ValidationNotApplied__.mp4    
Issue Links:
Blocks
blocks ASTPPCOM-975 Create API For Community V6 Version Done
Reproducibility: always
Category: UI
Edition: Community

 Description   

Steps :

Check in Admin side
1. Go to Services > Products > Product list API
2. Enter characters or special characters in country_id, buy_cost, setup_fee, price,
commission, billing_days, billing_type, free_minutes, status and run the api and check
response

Expected result : No records Found message should be display or any validation message should be display for all below parameters.

country_id, buy_cost, setup_fee, price, commission, billing_days, billing_type, billing_days,free_minutes, status

Actual result : Product list API is running with wrong input and records also display.



 Comments   
Comment by Kinjal Prajapati [ 07/Oct/22 ]

Added validations in the above-mentioned fields if you enter alphabetic values.
https://gitlab.com/inextrix/ITPLATP/ASTPPCOM/-/merge_requests/838

Comment by Yash Shah [ 11/Oct/22 ]

Working fine as expected

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