Bug 902363
Summary: | Invalid property 'PortalPermissionSelector' or 'PagePermissionSelector' instead of 'Access Permission Setting' | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Enterprise Portal Platform 6 | Reporter: | Michal Vanco <mvanco> | ||||||
Component: | Portal | Assignee: | Boleslaw Dawidowicz <bdawidow> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | vramik | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 6.0.0 | CC: | bdawidow, epp-bugs, hfnukal, mvecera, theute, vramik | ||||||
Target Milestone: | CR01 | ||||||||
Target Release: | 6.0.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: |
An issue with missing i18n keys caused the PortalPermissionSelector and PagePermissionSelector i18n to be included instead of the translated UI text. Additionally, the icon was missing from the left of the translated string. The fix adds the two missing i18n keys using the #{UITabPane.title.UIListPermissionSelector} expression so that it was enough to add them into the file for locale 'en'. The .UITabSelector .FlatTabStyle .UIPermissionSelector24x24Icon rule was copied and renamed to match the expected class names PortalPermissionSelector24x24Icon and PagePermissionSelector24x24Icon. The forms now show internationalized texts and icons.
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2013-04-16 08:55:43 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: | |||||||||
Attachments: |
|
Description
Michal Vanco
2013-01-21 13:27:27 UTC
Created attachment 684285 [details]
Screenshot 1
Created attachment 684286 [details]
Screenshot 2
Issue is also present at GateIn 3.5.1.Final This also affects missing icon at tab, right now there is a class PortalPermissionSelector24x24Icon - which doesn't exist. Expected class was UIListPermissionSelector24x24Icon The named commit has apparently unexpected consequences in UITabSelector.gtmpl: <div class="TabIcon ${uiChild.id}24x24Icon"> <a class="Title"><%=_ctx.appRes("UITabPane.title." + uiChild.getId());%></a> </div> Is there a better fix then adding the missing UITabPane.title.PortalPermissionSelector UITabPane.title.PagePermissionSelector keys in webui_en.properties and other webui_*.* files? In this way, one would duplicate UITabPane.title.UIListPermissionSelector=Access Permission Setting BTW. is Access Permission Settings in plural not better? The missing icons can be fixed similarly through duplicating .UIListPermissionSelector24x24Icon in /component/web/resources/src/test/resources/Stylesheet.css or web/eXoResources/src/main/webapp/skin/DefaultSkin/skinIcons/24x24/Stylesheet.css Peter Palaga <ppalaga> made a comment on jira GTNPORTAL-2804 I have ensured that the issue does not occur in UICategoryForm, UIPortletForm and UIContainerForm. I was not able to spot any occurence of UIPermissionForm in the UI, so I could not check if it has the issue. Only UIPortalForm and UIPageForm seem to be affected where the UIListPermissionSelector is placed in a UIFormInputSet. Peter Palaga <ppalaga> made a comment on jira GTNPORTAL-2804 The fix adds the two missing i18n keys using {{\#\{UITabPane.title.UIListPermissionSelector\}}} so it was enough to add them into the file for locale "en". Other locales can resolve the expression into the proper language specific value. The fix also fixes the issue with missing icon. In this case the {{.UITabSelector .FlatTabStyle .UIPermissionSelector24x24Icon}} rule was simply copied and renamed to match the expected class names {{PortalPermissionSelector24x24Icon}} and {{PagePermissionSelector24x24Icon}}. PR submitted to GateIn 3.5.x branch. https://github.com/gatein/gatein-portal/pull/319 *** Bug 902361 has been marked as a duplicate of this bug. *** Assigning to Bolek, making sure it goes in GateIn 3.5.2 Fix will be in 3.5.2 Verified on gatein master (3.6.0.MO1-SNAPSHOT). verified on jpp6.0.cr01 Doesn't require a release note, bug happened between 2 internal releases |