[
https://issues.jboss.org/browse/GTNPORTAL-3340?page=com.atlassian.jira.pl...
]
Peter Palaga updated GTNPORTAL-3340:
------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
https://github.com/gatein/gatein-portal/pull/749
The warnings seem to be introduced by [this
commit|https://github.com/gatein/gatein-portal/commit/7a0935858c6d13c0267...].
The problem is that to concatenate a resource bundle key, {{UIPopupWindow.gtmpl}} relies
both on its own {{id}} and {{uicomponent.getUIComponent().getId()}} which both may contain
random, session scoped {{UUID}} suffixes. As a consequence of that, there were no such
items in the resource bundle.
To fix this, the original {{WebuiRequestContext.generateUUID()}} was changed to use a
prefix supplied in a parameter, so that {{UIPopupWindow.gtmpl}} can strip the UUID part
away thus getting resource bundle key as they were before the named commit.
Similar fixes were performed in {{UIGrid.gtmpl}} and {{UITabSelector.gtmpl}}.
The fix also reverts the fix for GTNPORTAL-3186 (Lack of I18N key for title of permission
selector popup) which is not needed anymore.
Resource bundle Warnings in Application Registry
------------------------------------------------
Key: GTNPORTAL-3340
URL:
https://issues.jboss.org/browse/GTNPORTAL-3340
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.6.3.Final
Reporter: Peter Palaga
Assignee: Peter Palaga
Steps to reproduce:
(1) Login as root
(2) Visit
http://127.0.0.1:8080/portal/g/:platform:administrators/administration/re...
(3) NOT OK: There are warnigs in the log:
{code}
WARN [portal:WebuiBindingContext] (http--0.0.0.0-8180-1) Can not find resource bundle
for key : uniq-5b8e7bb6-8b8e-4e39-9204-948a2d598d90.action.title.Delete
WARN [portal:WebuiBindingContext] (http--0.0.0.0-8180-1) Can not find resource bundle
for key : uniq-5b8e7bb6-8b8e-4e39-9204-948a2d598d90.action.title.Delete
WARN [portal:WebuiBindingContext] (http--0.0.0.0-8180-1) Can not find resource bundle
for key : uniq-5b8e7bb6-8b8e-4e39-9204.title.ListPermissionSelector
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira