gray-mueller / gray-mueller/full-stack-document-solution
Negative Values Allowed in Discount, Tip, Price and Addons Fields
- 主要语言
- TypeScript
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
Description:
During testing of the Enatega Multivendor Admin Dashboard, a critical issue was identified where fields such as discount, tip, price and addons allow the entry of negative values. This behavior is inconsistent with standard practices and poses a risk to accurate financial calculations, potentially leading to incorrect order totals and financial discrepancies.
Steps to Reproduce:
Log in to the Enatega Multivendor Admin Dashboard.
Navigate to sections where fields for discount, tip, price or addons are present.
Attempt to enter a negative value (e.g., "-10") in any of these fields.
Expected Behavior:
The application should restrict the entry of negative values in fields related to financial transactions, such as discount, tip, price and addons. An error message or validation prompt should be displayed, indicating that negative values are not allowed.
Actual Behavior:
The application allows the entry of negative values in fields such as discount, tip, price and addons without providing any error or validation message.
image
image
image
image
Activity
贡献指南
调研方向
首先在 Enatega Multivendor Admin Dashboard 中找到折扣、小费、价格和附加项的表单,并检查它们当前的验证逻辑。确认每个字段如何处理类似 "-10" 的值,并找出相关的表单测试(如果有)。当这四个字段都拒绝负值并显示验证消息,且不允许产生错误的总额时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 52/100