-
Notifications
You must be signed in to change notification settings - Fork 6
Bug #13947 [Pastis] Display issue after refreshing in creation mode on the Documentary Profiles app. #3346
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
Conversation
|
New Issues (2)Checkmarx found the following issues in this Pull Request
Fixed Issues (57)Great job! The following issues were fixed in this Pull Request
Use @Checkmarx to reach out to us for assistance. Just send a PR comment with Examples: |
marob
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ne correspond pas à la demande du ticket : au reload, on redirige vers la page qui liste les PA/PUA alors que le ticket demande "la même vue en mode création".
De manière générale, il faudrait créer des routes pour la création/édition. Et au reload d'une page en mode édition, il faudrait rester sur la page plutôt que de revenir à la liste.
|
Il faudrait passer les paramètrages de la dialog dans la route pour ne pas initialiser une page vide:
|
06d362b to
128a8cb
Compare
marob
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Si on charge plusieurs PA/PUA successivement, ça multiplie les requêtes HTTP et les refresh des données sur la page (avec les données d'un autre PA/PUA)
marob
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, je trouve que c'est pas très maintenable, mais ça fonctionne.
Je propose une version améliorée (mais non backportable) ici : #3390
…n the Documentary Profiles app.




En mode création : après actualisation, l'affichage saute, et la page ne reste pas cohérente avec l'état précédent.