Bug #177
closedSystem allow to create new application template with duplicate app name for same device type
Description
System allow to create new application template with duplicate app name for same device type
steps: click on tms
click on application
go for add new application template for same device type with duplicate name
observe the application grid
expected result: should not allow to create new application template with duplicate app name
Actual result: allow to add new template for same device type in system
Files
Updated by Kunal Chaudhary 11 days ago
- Status changed from New to Resolved
- Assignee changed from Kunal Chaudhary to Amit Kumar
- Deliverable changed from ADMIN WEB to BACKEND API
RCA
Duplicate applications were being created for the same DeviceTypeId and ApplicationName because there was no validation in the stored procedure and no unique constraint at the database level.
Fix
Added a duplicate check in UspAddApplicationList to prevent insertion if the same DeviceTypeId and ApplicationName already exist.
Updated by Amit Kumar 10 days ago
