Project

General

Profile

Actions

Bug #4381

open
AB SD

POS Category – Duplicate Name Validation Bypass Allows Same Name for Parent & Child

Bug #4381: POS Category – Duplicate Name Validation Bypass Allows Same Name for Parent & Child

Added by ashokbalaji B 15 days ago.

Status:
New
Priority:
Urgent
Assignee:
Start date:
Due date:
% Done:

0%

Estimated time:

Description


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

Actions

Also available in: PDF Atom