Problem/Motivation
When you enable the data_policy and social_event_an_enroll and add multiple data policies, the data policies are incorrectly displayed when an anonymous user tries to enroll in the event. It will always display just the first policy.
Steps to reproduce
1. Enable data_policy and social_event_an_enroll
2. Enable data_policy
3. Add multiple data policies and update the consent text to include all of them
4. Create a public event with anonymous enrollments enabled
5. Try to enroll to an event as anonymous user and check the data policy
Proposed resolution
The issue is that data_policy module was updated to enable multiple data policies, this change was never updated in the social_event_an_enroll module, where the code still expects only 1 data policy.
Remaining tasks
/
User interface changes
/
API changes
/
Data model changes
/
Comments
Comment #2
nkoporecPR: https://github.com/goalgorilla/open_social/pull/2667
Comment #4
tbsiqueiraComment #5
tbsiqueira