Closed TheTharz closed 5 months ago
Issue: Inability to Delete Previously Added Companies
Description: Users were encountering difficulties when attempting to delete companies that were added to the system before. Deleting these pre-existing entries resulted in a server error (status code: 500), preventing successful deletion.
Endpoint:
DELETE /lifepill/v1/supplierCompanies/delete-supplier-company/{id}
Steps to Reproduce:
Expected Behavior: Users should be able to delete previously added companies without encountering server errors.
Additional Information:
Resolution: Further investigation was necessary to identify the root cause of this issue, which could have been related to how the backend handled deletion requests for pre-existing companies or potential inconsistencies in the database. Debugging and testing were required to address and resolve this issue effectively.
Status: Resolved
Best regards,
Pramitha Jayasooriya
Backend Developer at LifePill
https://pramithamj.me
Issue: Inability to Delete Previously Added Companies
Description: Users are encountering difficulties when attempting to delete companies that were added to the system before. Deleting these pre-existing entries results in a server error (status code: 500), preventing successful deletion.
Endpoint:
/lifepill/v1/supplierCompanies/delete-supplier-company/{id}
Steps to Reproduce:
Expected Behavior: Users should be able to delete previously added companies without encountering server errors.
Additional Information:
Resolution: Further investigation is necessary to identify the root cause of this issue. It could be related to how the backend handles deletion requests for pre-existing companies or potential inconsistencies in the database. Debugging and testing are required to address and resolve this issue effectively.