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

Generation error synthesis for the final user #509

Closed
romaintailhurat opened this issue Nov 8, 2021 · 5 comments
Closed

Generation error synthesis for the final user #509

romaintailhurat opened this issue Nov 8, 2021 · 5 comments
Assignees

Comments

@romaintailhurat
Copy link
Collaborator

⚠️ This is a stub issue, to be more thoroughly described in a near future.

If a problem happens during a questionnaire generation, most of the time the user is clueless regarding the root cause.

In the main setting (use at Insee), the generation backend for Pogues is Eno, more precisely the web service wrapper for Eno. We must provide a way to catch those generation errors and provide a clean report to the user.

It can be done:

  • through the Pogues front-end directly before starting the generation process,
  • after the generation process by catching a proper error message coming from the Eno API.
@romaintailhurat
Copy link
Collaborator Author

romaintailhurat commented Nov 29, 2021

Analysis work to be done in a future sprint, see #515

@romaintailhurat
Copy link
Collaborator Author

A spec is needed, the idea is to cactch errors early, before the generation call.

@romaintailhurat romaintailhurat self-assigned this Dec 7, 2021
@romaintailhurat
Copy link
Collaborator Author

romaintailhurat commented Jan 24, 2024

Update: Eno Java is here, it provides a better and more precise error report. We should leverage this:

  1. a first version with the raw Eno message (as a supplement to the usual generation error message in Pogues)
  2. a second version with a user oriented message based on the raw Eno message

@laurentC35 @BulotF it implies devs on the back-office.

@romaintailhurat
Copy link
Collaborator Author

@romaintailhurat will provide mockup of the UI if needed

@romaintailhurat
Copy link
Collaborator Author

The UI part is ok, we are waiting for the API to be complete, see InseeFr/Pogues-Back-Office#217

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants