Clone
Peter Palaga
committed
on 23 Dec 13
GTNPORTAL-3340 Missing i18n keys for Permission Selector popups
Problem analysis:
* UIPopupWindow.gtmpl relies both on its own id and uicomp… Show more
GTNPORTAL-3340 Missing i18n keys for Permission Selector popups

Problem analysis:

* 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.

* Similar problem happens in UIGrid.gtmpl (for Delete tooltip) and UITabSelector.gtmpl (for label in Portal Permission)

Fix description:

* Update the original WebuiRequestContext.generateUUID() to use a prefix supplied in a parameter.

 UIPopupWindow.gtmpl can then 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.

Show less