Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 task done
saltykheera opened this issue Jun 14, 2024 · 7 comments
Closed
1 task done
Labels
Bug Something isn't working

Comments

@saltykheera
Copy link
Contributor

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.

  • Tick mark all

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.

@saltykheera saltykheera added the Bug Something isn't working label Jun 14, 2024
@jvJUCA
Copy link
Member

jvJUCA commented Jun 14, 2024

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

@saltykheera
Copy link
Contributor Author

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

@jvJUCA
Copy link
Member

jvJUCA commented Jun 17, 2024

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

@saltykheera
Copy link
Contributor Author

@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
Copy link
Member

jvJUCA commented Jun 18, 2024

@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
Copy link
Contributor Author

@saltykheera
Copy link
Contributor Author

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

@jvJUCA jvJUCA closed this as completed Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants