-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, 7.1.X, 7.2.X, Master
-
Fix Version/s: 7.0.10.13 DXP SP13, 7.0.X, 7.1.10 DXP FP17, 7.1.10.4 SP4, 7.1.X, 7.2.10 DXP FP5, 7.2.10.2 DXP SP2, 7.2.X, 7.3.0 CE GA1, 7.3.1 CE GA2, 7.3.10 DXP GA1, Master
-
Component/s: Documents & Media, Staging
-
Branch Version/s:7.2.x, 7.1.x, 7.0.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Reproduction steps:
- Start the latest master bundle
- Create a site named "testsite"
- Activate local staging, with "Widget Templates" (or "ADT") checked
- In staging, create a "Media Gallery" widget template called "MGTemplate"
- Create a page called "testpage"
- Add a Media Gallery portlet on it
- Configure the portlet to use "MGTemplate"
- Do a full publication in "Publishing" ==> "Staging" (check "Widget Templates" as well)
- Check the database:
SELECT g.groupKey, g.groupId, p.* FROM portletpreferences p inner join layout l on (l.companyId = p.companyId and l.plid = p.plid) inner join group_ g on (g.companyId = g.companyId and g.groupId = l.groupId) where p.portletId like '%IGDisplayPortlet%';
You should see 2 records, one of them is for staging and the other one is the live version of the Media Gallery portlet. Check the XMLs "preferences" columns:
Expected: the live record has a "displayStyleGroupId" attribute referring to the live groupId
Actual: the live record has a "displayStyleGroupId" attribute referring to the staging groupId
Note:
This is mostly causing problem in remote live, since the staging group and the template is not available on that instance.
In local staging, it seems like it's working correctly on the UI, but the live site is actually using the template in staging, which is wrong.
- Testing discovered
-
LPS-103609 Uncaught TypeError when clicking Refresh Count under staging
- Closed