Closed ymarcon closed 6 years ago
Comment created by nlambert:
Modify src\main\webapp\WEB-INF\config\action-definitions.xml
Add new reason when cancelling any stage or interview.
Comment created by nlambert:
The new reason (Action.Reason.ParticipantWithdrewConsent) should be added to all STOP.InProgress, STOP.Completed, STOP.Interrupted and STOP.Interview action codes.
Add "Action.Reason.ParticipantWithdrewConsent=Participant withdrew consent " to messagesen.properties and "Action.Reason.ParticipantWithdrewConsent=Le participant a retiré son consentement" to messagesfr.properties
Comment created by nlambert:
I guess you are the one implementing Ontario configuration.
Comment created by acarey:
C'est fait
Comment created by nlambert:
Are you sure this is complete? When I click on View, I get an internal error. In log, I see: Caused by: java.util.MissingResourceException: Unable to find resource: Action.Reason.ParticipantWithdrewConsent for component...
Yet, it looked good when I created it.
To reproduce, assign that reason when cancelling, and try to view later.
Comment created by acarey:
En fait, c'Est un bug dans onyx: le commentsModalPanel ne va pas chercher les resources dans spring mais dans wicket et les resources des reasons sont configurables pour chaque cohort donc il faut les chercher dans spring (si j'ai compris Yannick)
Comment created by @ymarcon:
Resources for action localization are not fetched from Wicket but from Spring properties now.
Issue was closed with resolution "Fixed"
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because no further activity occurs. Feel free to re-open it if it is still relevant.
Jira issue originally created by user kmcdonald:
When cancelling a stage or interview, please add "Participant withdrew consent" to the drop-down menu of options.