Communication Preferences - Email/Post UI Not Updating
Created by: reecebenson
Relates To
This issue relates to the page: "/civicrm/gdpr/comms-prefs/update"
Expected Behaviour
- Updating "Email" / "Post" should reflect the values set on the Contact in CiviCRM (either "Yes" or "No")
Current Behaviour
- The select input boxes for "Email" and "Post" always default to "Yes"
Steps to Reproduce
I believe this is a User Interface bug on the URL this issue relates to. There are additional screenshots below.
- Visit "/civicrm/gdpr/comms-prefs/update"
- Update "Email" and/or "Post" to "No"
- Save
- "Email" and "Post" will be set to "No"
- Refresh this page (just go to the URL bar and click enter, refreshing will resubmit this form/keep the state of the select input boxes)
- "Email" and "Post" will now be displayed as "Yes", however the Contact in CiviCRM will have:
- "DO NOT MAIL"
- "NO BULK EMAILS (USER OPT OUT)"
Screenshots
-
How it looks when I visit "/civicrm/gdpr/comms-prefs/update":
-
Then visit "/civicrm/gdpr/comms-prefs/update" again ("Email"/"Post" are shown as 'Yes' but the Contact has them set to 'No')
Additional Information
- I was able to reproduce this on more than two sites.