[JBoss JIRA] (GTNPORTAL-3340) Resource bundle Warnings in Application Registry
by Peter Palaga (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3340?page=com.atlassian.jira.pl... ]
Peter Palaga updated GTNPORTAL-3340:
------------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 3.6.4.Final
3.7.0.Final
Resolution: Done
> 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
> Fix For: 3.6.4.Final, 3.7.0.Final
>
>
> 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
11 years, 10 months
[JBoss JIRA] (GTNPORTAL-3340) Resource bundle Warnings in Application Registry
by Peter Palaga (JIRA)
[ 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
11 years, 10 months
[JBoss JIRA] (GTNPORTAL-3306) EDDITION-CONTAINER is not visible when hovering the container
by Vu Viet Phuong (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3306?focusedWorklogId=12430428&... ]
Vu Viet Phuong logged work on GTNPORTAL-3306:
---------------------------------------------
Author: Vu Viet Phuong
Created on: 23/Dec/13 3:38 AM
Start Date: 23/Dec/13 3:38 AM
Worklog Time Spent: 1 hour
Work Description: Apply the PR and test
Issue Time Tracking
-------------------
Remaining Estimate: 0 minutes (was: 1 hour)
Time Spent: 1 hour
Worklog Id: (was: 12430428)
> EDDITION-CONTAINER is not visible when hovering the container
> -------------------------------------------------------------
>
> Key: GTNPORTAL-3306
> URL: https://issues.jboss.org/browse/GTNPORTAL-3306
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Vlastislav Ramik
> Assignee: Vu Viet Phuong
> Labels: JPP611-Test-dev
> Original Estimate: 1 hour
> Time Spent: 1 hour
> Remaining Estimate: 0 minutes
>
> Affect Version/s: 3.7.0.Alpha02-SNAPSHOT
--
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
11 years, 10 months
[JBoss JIRA] (GTNPORTAL-2943) Hyphens not allowed in Javascript Modules
by Vu Viet Phuong (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2943?page=com.atlassian.jira.pl... ]
Work on GTNPORTAL-2943 started by Vu Viet Phuong.
> Hyphens not allowed in Javascript Modules
> -----------------------------------------
>
> Key: GTNPORTAL-2943
> URL: https://issues.jboss.org/browse/GTNPORTAL-2943
> Project: GateIn Portal
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 3.4.0.Final
> Environment: Windows 8, Gatein-3.4.0.Final-jboss-as7
> Reporter: Jason Farmer
> Assignee: Vu Viet Phuong
> Original Estimate: 6 hours
> Remaining Estimate: 6 hours
>
> Javascript Modules do not allow hyphens in name. No error messages or failures present until execution.
> Here is the culprit gatein-resources.xml:
> <module>
> <name>jquery-ui</name>
> <script>
> <adapter>
> (function() {
> <include>/javascript/jquery-ui-1.10.2.custom.min.js</include>
> return jQuery.noConflict(true);
> })();
> </adapter>
> </script>
> <depends>
> <module>jquery</module>
> <as>jQuery</as>
> </depends>
> </module>
> And using it within another Javascript included on the portlet that looked like this:
> define(["$", "jquery-ui"], function($) {
> alert("got here");
> $('#userPortlet-dialog-form').css( "border","3px solid red" );
> $('#userPortlet-dialog-form').dialog();
> alert("got here2");
> });
> The jquery selector to change the border worked, however when it reaches the .dialog() it fails saying: [16:42:54.534] TypeError: $(...).dialog is not a function @ http://localhost:8080/portal/scripts/3.5.2.Final-redhat-4/PORTLET/trackr-...
> And fails execution. I tried many variations of fixing/changing remove, etc and I always saw the Javascript being included through Firefox developer tools, however it kept throwing this error. Finally after some trial and error, I found out that renaming my module to just "jqueryui" without the hyphen solved all of my issues.
> There was very little to work off of in the way of errors, everything loaded up correctly and even the regular Jquery executed without a problem.
--
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
11 years, 10 months