User Context: * Role: Company Admin
Description: There are multiple points of failure in the "Extend Formal Offer" flow. First, the Offer Letter document fails to upload (the UI indicates it is removed or fails to attach). Second, when the user clicks "Extend Formal Offer," the system displays critical errors (Route not found / Internal Server Error). However, the backend successfully processes the offer, leading to a "hidden success" where a candidate receives an incomplete offer (no letter attached).
Steps to Reproduce:
Log in as a Company Admin.
Navigate to an application and progress to Step 2: Offer Details.
Attempt to upload a document as an Offer Letter.
Observe that the document does not successfully attach or is immediately removed from the upload queue.
Progress to the final step and click Extend Formal Offer.
Observe the error messages: Route POST/api/v3/offers not found or Service call failed with status 500 error.
Check the candidate's view or application status.
Observe that the offer was sent but does not contain the uploaded offer letter.
Expected Result:
The Offer Letter should upload and persist throughout the flow.
The UI should display a success message upon extending the offer.
The candidate should receive a complete offer package including the letter.
Actual Result:
The document upload fails silently or clears itself, and the UI reports a critical failure (500/404) even though the offer is technically sent without the document.
Technical Notes:
Upload Failure: The file upload mechanism seems to be failing to commit the file to storage or associate the file ID with the offer request.
False Negative: The backend is likely returning a 500 error because it's expecting a file that isn't there, but it is still finalizing the database entry for the offer itself.
This creates a high risk of legal/compliance issues, as candidates are receiving offers without the formal terms attached.
User Context: * Role: Company Admin
Description: There are multiple points of failure in the "Extend Formal Offer" flow. First, the Offer Letter document fails to upload (the UI indicates it is removed or fails to attach). Second, when the user clicks "Extend Formal Offer," the system displays critical errors (Route not found / Internal Server Error). However, the backend successfully processes the offer, leading to a "hidden success" where a candidate receives an incomplete offer (no letter attached).
Steps to Reproduce:
Log in as a Company Admin.
Navigate to an application and progress to Step 2: Offer Details.
Attempt to upload a document as an Offer Letter.
Observe that the document does not successfully attach or is immediately removed from the upload queue.
Progress to the final step and click Extend Formal Offer.
Observe the error messages: Route POST/api/v3/offers not found or Service call failed with status 500 error.
Check the candidate's view or application status.
Observe that the offer was sent but does not contain the uploaded offer letter.
Expected Result:
The Offer Letter should upload and persist throughout the flow.
The UI should display a success message upon extending the offer.
The candidate should receive a complete offer package including the letter.
Actual Result:
The document upload fails silently or clears itself, and the UI reports a critical failure (500/404) even though the offer is technically sent without the document.
Technical Notes:
Upload Failure: The file upload mechanism seems to be failing to commit the file to storage or associate the file ID with the offer request.
False Negative: The backend is likely returning a 500 error because it's expecting a file that isn't there, but it is still finalizing the database entry for the offer itself.
This creates a high risk of legal/compliance issues, as candidates are receiving offers without the formal terms attached.