ruxailab / RUXAILAB

RUXAILAB - Usability Testing and Heuristics Evaluation Conceptual learning
MIT License
45 stars 64 forks source link

[🐞 BUG]: No info is Provided to User if Final Report is failed to generate #507

Closed saltykheera closed 4 months ago

saltykheera commented 5 months ago

Description 📝

No information is provided to the user if the final report fails to generate.

Link 🔗

https://ruxailab-prod.firebaseapp.com/finalreportview/:testid

Steps to Reproduce 🔄

Attempt to generate the final report.

Observe that no feedback is given if the report generation fails.

Screenshots 📸

image

Expected Behavior 🤔

Users should receive a clear error message indicating that the final report generation has failed and provide possible reasons or next steps.

Actual Behavior 😱

The application fails silently, providing no feedback or error message to the user when the final report cannot be generated.

Environment 🌍

src\views\admin\FinalReportView.vue

Additional Information ℹī¸

Implement error handling to catch report generation failures. Display a user-friendly error message explaining the issue. Optionally, suggest steps to resolve the issue or contact support for assistance.

jvJUCA commented 5 months ago

We need to fix that on the pdf generator repository, is a laravel project!

saltykheera commented 5 months ago

@jvJUCA for now how about adding just a simple Toast for error

jvJUCA commented 5 months ago

I think it would be useful to show the feedback to the user. If you can resolve this problem, I would be thankful.

saltykheera commented 5 months ago

@jvJUCA Onselecting these options image the server respond with ERROR:500 internal server Error.

but if we individually generate the pdf [ by taking test Options or answer by evaluator ] it does not creates an error among all possible combinations

if these two are checked it causes the error futher more ON checking Test OPTIONS , the pdf doesnt contains the test option

jvJUCA commented 5 months ago

@jvJUCA Onselecting these options image the server respond with ERROR:500 internal server Error.

but if we individually generate the pdf [ by taking test Options or answer by evaluator ] it does not creates an error among all possible combinations

if these two are checked it causes the error futher more ON checking Test OPTIONS , the pdf doesnt contains the test option

Thanks for debugging, i will create a issue on the pdf laravel project!

saltykheera commented 5 months ago

https://github.com/ruxailab/laravel-pdf-generator/pull/3

Related PR

saltykheera commented 5 months ago

@jvJUCA PR for this issue has been raised in the laravel repo please review that changes