Bug #4381
openPOS Category – Duplicate Name Validation Bypass Allows Same Name for Parent & Child
0%
Description
ashokerp@gmail.com
Welcome@123
module
POS → Category
Issue Description
In the POS Category creation:
System correctly shows error when trying to create a category with an existing name
“Already exists / Same name”
However, there is a validation bypass issue
Scenario:
Create a category with name “Sticker”
Try creating another category (child or parent) with the same name “Sticker”
System shows error (correct behavior)
Now modify the name slightly:
Remove a letter (e.g., “Sticke”)
Then retype it back to “Sticker”
Click Save
Result:
Category gets successfully created
Duplicate name is allowed
Actual Result
Duplicate category names are allowed after minor edit/retype
Same name exists for:
Parent category
Child category
Validation is inconsistent
Expected Result
Category name should be strictly unique
System should not allow duplicates under any condition
Validation should trigger even after editing/retyping


Files
No data to display