Bug 1102754 - Layout of portlet is broken in preview mode
Summary: Layout of portlet is broken in preview mode
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise Portal Platform 6
Classification: JBoss
Component: Portal
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER04
: 6.2.0
Assignee: Lucas Ponce
QA Contact: Marek Baluch
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-29 13:43 UTC by Petr Mensik
Modified: 2015-08-03 07:52 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
It was discovered that when a new skin was loaded for a portlet, and the portlet was using the default skin, the portal layout could malfunction when viewing the portal extension on the page in preview mode. The fix to the page editor first checks whether if the loaded style exists for the skin defined in the extension, or in the default skin. Portlets are now correctly rendered in preview mode.
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker GTNPORTAL-3513 0 Major Resolved Layout of portlet is broken in preview mode using extensions 2014-07-08 02:09:59 UTC

Description Petr Mensik 2014-05-29 13:43:41 UTC
How to reproduce

1. Go to Add new page
2. Enter some name, leave the layout empty
3. Switch View mode to Preview and drag & drop Application registry portlet to the layout.
4. You should see that preview of Application registry is broken. 

This bug affects only Chrome and Firefox, Safari is fine.

Comment 2 Tomas Kyjovsky 2014-05-29 14:55:49 UTC
A similar thing happens with the Site Redirects portlet. I couldn't reproduce this with other portlets or gadgets. No errors in the log.

Requests for some resources return HTTP 404:
- ApplicationRegistryPortlet.png
- RedirectsAndImportExportAdminPortlet.png

Layout seems to be fixed by reloading the page.

Also found in 6.1.1 and 6.1.0

Comment 3 Lucas Ponce 2014-05-30 14:14:20 UTC
I can reproduce issue in JBoss Portal 6.2.0 ER2, but I can not reproduce it on GateIn master/3.8.x branches.

Comment 4 Lucas Ponce 2014-06-16 13:49:13 UTC
The branding extension jpp-branding-extension.ear is responsible for this issue.

I couldn't reproduce it on master/3.8.x but in JBoss Portal.

I'm going to move this issue for ER04 and prepare a patch.

Comment 6 Peter Palaga 2014-06-19 17:49:00 UTC
https://github.com/gatein/gatein-portal/pull/880 was merged in upstream.

Comment 7 Petr Mensik 2014-07-02 12:18:56 UTC
I confirm that the issue has been fixed.


Note You need to log in before you can comment on or make changes to this bug.