-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.0 DXP SP8, 7.0.0 DXP FP59, 7.0.X, 7.1.0 CE GA1, 7.1.X, Master
-
Fix Version/s: 7.3.5 CE GA6, 7.3.10 DXP GA1, Master
-
Component/s: Staging > Export/Import
-
Fix Priority:4
Reproduce steps:
1. Start a bundle
2. Verify that none of portletPrerences in db has a combination of ownerId = 0, ownerType = 3, plid = 0
3. Enable local(or remote) staging with all contents
Expected: Verify that none of portletPrerences in db has a combination of ownerId = 0, ownerType = 3, plid = 0
Actual: several portletPrerences have a combiantion of ownerId = 0, ownerType = 3, plid = 0
The correct combinations can only be one of these:
1. OwnerId = companyId, ownerType = 1, plid = 0
2. OwnerId = groupId, ownerTYpe = 2, plid = 0
3. OwnerId = 0, OwnerType = 3, plid = layoutId
4. OwnerId = userId, OwnerType = 4, plid = 0
In the case of local staging, after first enabling, there are few portletPreferences with ownerId = 0, ownerType = 3, plid = 0, see database portletPreferences table. For example, SiteTeamPortlet, DDLPortlet, PageCommentsPortlet, PageRatingPortlets, etc.
In the case of remote staging, publish to live. There will be a portletPrerences for changeSetPortlet with ownerId = 0, ownerType = 3, plid = 0, see database portletPreferences table for live site.
PS:
When you have a preferences of 0, 3, 0, there is no way to tell which site or page this preference belong to. All sites or pages will be sharing the same preferences, which is obviously not we wanted.