Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.2.0 CE M3
-
Fix Version/s: 6.2.0 CE M4
-
Component/s: Frameworks, Frameworks > Dynamic Data Mapping
-
Labels:
-
Story Points:3
-
Fix Priority:3
-
Similar Issues:Show 5 results
LPS-24501The propagation of page template changes behaves unexpectedly when staging is enabled LPS-21846 Staging: staged portlet data not copied to live by default LPS-31086GroupId error when using ADT in page-scoped portlets with staging LPS-34878 Application Display Templates and Staging: Application Display Templates are pushed to Live when the check box is not flagged. LPS-27106Staging - Unable to disable the automatic propagation of changes for a page template
Description
On a site with staging enabled, if you enable staging for ADT, the changes that you make in a template shouldn't be seen in the live site.
-
Hide
- LPS-31014-ADT-Staging-Test.lar
- 27/Dec/12 7:28 AM
- 1.21 MB
- Eduardo Garcia
-
- groups/11410/layouts/1/layout.xml 1.04 MB
- groups/11410/layouts/2/layout.xml 1005 kB
- groups/11410/.../templates/11581.xml 2 kB
- groups/11410/.../templates/11585.xml 2 kB
- groups/11410/.../11414/portlet-data.xml 0.3 kB
- groups/11410/.../portlet-preferences.xml 0.2 kB
- groups/11410/portlets/.../11414/portlet.xml 0.3 kB
- groups/11410/.../11414/portlet-data.xml 0.1 kB
- groups/11410/.../portlet-preferences.xml 0.2 kB
- groups/11410/portlets/.../11414/portlet.xml 0.3 kB
- groups/11410/.../11410/portlet-data.xml 0.1 kB
- groups/11410/.../0/portlet-preferences.xml 0.1 kB
- groups/11410/portlets/.../11414/portlet.xml 0.3 kB
- groups/11410/portlets/.../11414/portlet.xml 0.1 kB
- groups/11410/.../portlet-preferences.xml 0.1 kB
- groups/11410/portlets/.../11414/portlet.xml 0.2 kB
- groups/11410/.../structures/10303.xml 10 kB
- groups/11410/.../entry-types/10302.xml 1 kB
- groups/11410/.../structures/10300.xml 8 kB
- groups/11410/.../structures/10305.xml 6 kB
- groups/11410/.../entry-types/10304.xml 1 kB
- groups/11410/.../structures/10299.xml 10 kB
- groups/11410/.../structures/10307.xml 4 kB
- groups/11410/.../entry-types/10306.xml 1 kB
- groups/11410/.../structures/10301.xml 8 kB
- groups/11410/.../structures/10309.xml 10 kB
- groups/11410/.../entry-types/10308.xml 1 kB
- groups/11410/portlets/.../folders/11602.xml 2 kB
- groups/11410/portlets/20/bin/11604/1.0 90 kB
- groups/11410/portlets/.../1.0/0 3 kB
-
- LPS-31014-ADT-Staging-Test.pdf
- 27/Dec/12 7:28 AM
- 125 kB
- Eduardo Garcia
Issue Links
- discovered while testing
-
LPS-31980
Application Display Templates should not be created in a page scope
-
Activity
The .PDF document contains a collection of the test cases validated to solve this issue. To reproduce the same test, you can import the .LAR file in Liferay.
Committed on:
Portal 6.2.x GIT ID: 3b8116ca9694be39ef97338eb9ca08120a19891e.
PASSED Manual Testing using the following steps:
1. Create a site.
2. Enable staging to the site. (Check Blogs and Application Display Tempaltes options when enable staging.)
3. Create a page to the site.
4. Go to the page and add Blogs portlet to the page.
5. Publish the page.
6. Go to Control Panel > Application Display Templates.
7. Create a Blogs template.
Add following in Script field.
<script type="text/javascript">
document.write("<h1>Hello World!</h1>")
</script>
8. Navigate to the page.
9. Go to configuration of Blogs portlet.
10. Select the new created template in Display Template selection.
11. Save it.
The template displays on Blogs in staging. It does not display in live.
12. Publish the page.
The tempalte displays in live.
13. Go to Control Panel > Application Display Templates.
14. Edit script of the template.
15. Navigate to the page.
The template is changed in staging. It does not change in live.
16. Publish the page.
17. Go to Control Panel > Application Display Templates.
18. Delete the template.
19. Navigate to the page.
There is no template on Blogs in staging. The template still displays in live.
Reproduced on:
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 2d0ac630bdf7c9d13ae8f253f4bdd610ed58425c.
The changed template is visible in live even though staging is enabled with Application Display Templates staged.
Fixed on:
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: e3c8f1811d5da26593998fa3760baf3081e2a469.
The changed template is not visible in live until publish.
Updating the title to more properly reflect what is not working.