gray-mueller / gray-mueller/full-stack-document-solution

Enatega SingleVendor Admin Allowing Negative Values in Discount, Stock, and Price Fields

Open
#158 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
I have identified a critical issue in the Enatega SingleVendor Admin system where it currently allows users to input negative values in fields related to discount, stock, price, and potentially other crucial parameters.

To Reproduce
Steps to reproduce the behavior:

Log in to the Enatega SingleVendor Admin system.
Navigate to the product management section or any relevant area where discount, stock, or price fields are editable.
Attempt to input a negative value in the discount, stock, or price fields.
Expected behavior
Log in to the Enatega SingleVendor Admin system.
Navigate to the product management section or any relevant area where discount, stock, or price fields are editable.
Attempt to input a negative value in the discount, stock, or price fields.

Screenshots
image

Desktop:

Browser : chrome
Additional context
Please investigate and address this issue promptly to ensure the Enatega SingleVendor Admin system maintains a high level of reliability and accuracy in data processing.

Thank you for your attention to this matter.

Contributor guide

Open the contributing guide

Research direction

Start in the product management section of the Enatega SingleVendor Admin system and reproduce the issue in the discount, stock, and price fields using Chrome. Trace the form handling for these inputs and identify whether other crucial parameters share the same behavior. Done means negative values are rejected in the named fields and the expected behavior is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.