Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 57979: Fix upstream preferences not displaying in customer …
…account ## What's being changed Preferences, lists and data field visibility in the customer account. ## Why it's being changed Pre-existing preferences, list membership and data field values were not displaying in the customer account at first, if the customer did not yet have a Dotdigital contact id in the table. This was a regression from [this commit](https://dev.azure.com/dotdigital/ec/_git/ec-core-magento2-extension/commit/d96121a2b26d54d8ec0c524696dbe42880e47ef4) in v4.22.0. ## How to review / test this change - Create a contact in Dotdigital - Assign list membership - Assign some data fields - Assign marketing preferences - In Magento, configure your options to display these lists, DFs and prefs in the customer account - Create a customer account in Magento using the same email - In the 'Newsletter Subscriptions' page, you should see existing preferences, lists and data fields - Test with another contact that already has a contact id - Test changing and updating values - Log in with a contact, then in the background delete their contact id (does anything break) - Log in with a contact, then in the background delete their row in email_contact (you should see the account's preferences listed, but nothing checked) Related work items: #270677
- Loading branch information