Bug Report
Defect ID
TC_BVA_010
Summary
Incorrect handling of proposalId validation.
Steps to Reproduce
- Send a
GET request to /getProposalById/:id with an existing proposal ID.
- Send a
GET request to /getProposalById/:id with a validly formatted but non-existing proposal ID.
Expected Result
- For an existing ID:
- Response status:
200 OK.
- Valid proposal details are returned.
- For a validly formatted but non-existing ID:
- Response status:
404 Not Found.
Actual Result
For a validly formatted but non-existing ID:
- Response returned an unexpected status or incorrect error handling.
- Response body:
Severity and Priority
- Severity: Medium
- Priority: High
Status
New
Bug Report
Defect ID
TC_BVA_010
Summary
Incorrect handling of proposalId validation.
Steps to Reproduce
GETrequest to/getProposalById/:idwith an existing proposal ID.GETrequest to/getProposalById/:idwith a validly formatted but non-existing proposal ID.Expected Result
200 OK.404 Not Found.Actual Result
For a validly formatted but non-existing ID:
{ "proposal": null }Severity and Priority
Status
New