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

Improve Error message for linked loop that doesn't find ref loop #863

Open
JulienCarmona opened this issue Oct 8, 2024 · 1 comment
Open
Assignees
Labels
Dans Tuleap : à faire Type: Feature New feature for Bowie applications

Comments

@JulienCarmona
Copy link
Contributor

JulienCarmona commented Oct 8, 2024

Feature Description

Improve Error message in Pogues when trying to visualize survey with link loop that doesn't find ref loop
When trying to save the module in the same situation, the error message display is more user-friendly.
Why not use the same massage when trying to visualize the survey ?

Use Case

User create Linked Loop from loop that exist in an external module
User delete external module from survey
User should be warned that an incoherence exists in the survey

actual message

Une erreur a été rencontrée lors de la visualisation du questionnaire :
Unknown error during generation: fr.insee.eno.core.exceptions.technical.MappingException: SpEL mapping expression defined on property 'reference', for format DDI, in class fr.insee.eno.core.model.navigation.LinkedLoop, failed on object LoopTypeImpl[id=m209gdf0]

Proposed Solution

Use the same message than the warning when saving survey

Votre questionnaire comporte au moins une boucle, le dernier changement opéré peut générer des incohérences (ajout ou changement d'ordre d'une séquence ou sous-séquence, modification d'une question au sein d'une boucle), merci de consulter les boucles concernées de votre questionnaire, les modifier si nécessaire et les revalider.

Attachments

2024-10-08.11-41-19.mov
@JulienCarmona JulienCarmona added the Type: Feature New feature for Bowie applications label Oct 8, 2024
@JulienCarmona JulienCarmona added Type: Feature New feature for Bowie applications and removed Type: Feature New feature for Bowie applications labels Oct 10, 2024
@lailabent
Copy link

@JulienCarmona : à dupliquer dans Tuleap si pertinent pour toi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dans Tuleap : à faire Type: Feature New feature for Bowie applications
Projects
None yet
Development

No branches or pull requests

3 participants