Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Migrate CMS 11 to 12: Should remap VisitorGroupMembershipModel

Fixed in

EPiServer.CMS.Core 12.15.0

(Or a related package)

Created

Mar 30, 2023

Updated

May 22, 2023

Area

CMS Core

State

Closed, Fixed and tested


Description

VisitorGroupId property in VisitorGroupMembershipModel criterion model has been changed in CMS 12, and there is no remapping of the model in the database to reflect the change. This prevents the existing Visitor Group Membership groups from being modified and new ones to be created.

Error message:

The Type 'EPiServer.Personalization.VisitorGroups.Criteria.VisitorGroupMembershipModel' needs to be remapped in the Dynamic Data Store, see the Errors collection for more information.
Remapping can be done by applying the EPiServer.Data.Dynamic.EPiServerDataStoreAttribute attribute to the type,
setting its AutomaticallyRemapStore property to true and ensuring the <episerver.dataStore><dataStore> autoRemapStores attribute in web.config is set to true (or is not defined).