Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1102754

Summary: Layout of portlet is broken in preview mode
Product: [JBoss] JBoss Enterprise Portal Platform 6 Reporter: Petr Mensik <pmensik>
Component: PortalAssignee: Lucas Ponce <lponce>
Status: CLOSED UPSTREAM QA Contact: Marek Baluch <mbaluch>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: epp-bugs, oskutka, ppalaga
Target Milestone: ER04   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:35:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.

Comment 12 Red Hat Bugzilla 2025-02-10 03:35:57 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.