Bug #6914

When resigning consents (new version), the twin/recontact radioboxes should be prepopulated based on the previous consent

Added by Ward Vandewege about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Start date:
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
0.5

Subtasks

Task #6915: review 6914-prepopulate-twin-recontact-fields-when-reconsenting NewTom Clegg

Associated revisions

Revision 5a289e5c (diff)
Added by Ward Vandewege about 6 years ago

When a participant is asked to agree to an updated consent form,
prepopulate the answers to the twin and recontact questions from their
last consent.

Change the has_one informed_consent_response attribute on the user model
to a has_many. Users can have many responses, and the has_one always
returned the oldest.

Update the user CSV export in the admin interface to return the latest
consent information, not the oldest.

refs #6914

Revision f72b3b15
Added by Ward Vandewege about 6 years ago

Merge branch '6914-prepopulate-twin-recontact-fields-when-reconsenting' into tapestry-master

closes #6914

Revision 0a42bf75 (diff)
Added by Ward Vandewege over 4 years ago

Fix tests for informed_consents on the user object.

refs #6914

History

#1 Updated by Ward Vandewege about 6 years ago

  • Assigned To set to Ward Vandewege

#2 Updated by Ward Vandewege about 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF