obiba / onyx

Web-based application that manages participant baseline interviews at assessment centres or clinics.
http://www.obiba.org/pages/products/onyx
GNU General Public License v3.0
6 stars 13 forks source link

ONYX-397: Adding option to "Cancel" drop-down menu #429

Closed ymarcon closed 6 years ago

ymarcon commented 15 years ago

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.

ymarcon commented 15 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.

ymarcon commented 15 years ago

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

ymarcon commented 15 years ago

Comment created by nlambert:

I guess you are the one implementing Ontario configuration.

ymarcon commented 15 years ago

Comment created by acarey:

C'est fait

ymarcon commented 15 years ago

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.

ymarcon commented 15 years ago

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)

ymarcon commented 15 years ago

Comment created by @ymarcon:

Resources for action localization are not fetched from Wicket but from Spring properties now.

ymarcon commented 15 years ago

Issue was closed with resolution "Fixed"

stale[bot] commented 6 years ago

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.

stale[bot] commented 6 years ago

This issue has been automatically closed because no further activity occurs. Feel free to re-open it if it is still relevant.