[JBoss JIRA] (GTNPORTAL-3356) NPE when Add new page in Page Management
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3356?page=com.atlassian.jira.pl... ]
Trong Tran reassigned GTNPORTAL-3356:
-------------------------------------
Assignee: Hai Nguyen
> NPE when Add new page in Page Management
> ----------------------------------------
>
> Key: GTNPORTAL-3356
> URL: https://issues.jboss.org/browse/GTNPORTAL-3356
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Trong Tran
> Assignee: Hai Nguyen
> Fix For: 3.7.0.Final
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> Steps to reproduce:
> - Log-in as root
> - Add Page Management to the Home page, and make it public (everyone can access)
> - Log-out
> 1/ Click on "Add new page" in anonymous mode, it throws NPE ==> NOK
> 2/ Login with marry, then click on "Add new page". It also throws NPE ==> NOK
> Expected: Show warning message if user don't have right to create new page in any space.
--
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
10 years, 4 months
[JBoss JIRA] (GTNPORTAL-3356) NPE when Add new page in Page Management
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3356?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3356:
----------------------------------
Original Estimate: 4 hours (was: 6 hours)
Remaining Estimate: 4 hours (was: 6 hours)
> NPE when Add new page in Page Management
> ----------------------------------------
>
> Key: GTNPORTAL-3356
> URL: https://issues.jboss.org/browse/GTNPORTAL-3356
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Trong Tran
> Fix For: 3.7.0.Final
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> Steps to reproduce:
> - Log-in as root
> - Add Page Management to the Home page, and make it public (everyone can access)
> - Log-out
> 1/ Click on "Add new page" in anonymous mode, it throws NPE ==> NOK
> 2/ Login with marry, then click on "Add new page". It also throws NPE ==> NOK
> Expected: Show warning message if user don't have right to create new page in any space.
--
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
10 years, 4 months
[JBoss JIRA] (GTNPORTAL-3356) NPE when Add new page in Page Management
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3356?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3356:
----------------------------------
Sprint: Sprint 90
> NPE when Add new page in Page Management
> ----------------------------------------
>
> Key: GTNPORTAL-3356
> URL: https://issues.jboss.org/browse/GTNPORTAL-3356
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Trong Tran
> Fix For: 3.7.0.Final
>
> Original Estimate: 6 hours
> Remaining Estimate: 6 hours
>
> Steps to reproduce:
> - Log-in as root
> - Add Page Management to the Home page, and make it public (everyone can access)
> - Log-out
> 1/ Click on "Add new page" in anonymous mode, it throws NPE ==> NOK
> 2/ Login with marry, then click on "Add new page". It also throws NPE ==> NOK
> Expected: Show warning message if user don't have right to create new page in any space.
--
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
10 years, 4 months
[JBoss JIRA] (GTNPORTAL-3356) NPE when Add new page in Page Management
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3356?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3356:
----------------------------------
Original Estimate: 6 hours
Remaining Estimate: 6 hours
> NPE when Add new page in Page Management
> ----------------------------------------
>
> Key: GTNPORTAL-3356
> URL: https://issues.jboss.org/browse/GTNPORTAL-3356
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Trong Tran
> Fix For: 3.7.0.Final
>
> Original Estimate: 6 hours
> Remaining Estimate: 6 hours
>
> Steps to reproduce:
> - Log-in as root
> - Add Page Management to the Home page, and make it public (everyone can access)
> - Log-out
> 1/ Click on "Add new page" in anonymous mode, it throws NPE ==> NOK
> 2/ Login with marry, then click on "Add new page". It also throws NPE ==> NOK
> Expected: Show warning message if user don't have right to create new page in any space.
--
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
10 years, 4 months
[JBoss JIRA] (GTNPORTAL-3356) NPE when Add new page in Page Management
by Trong Tran (JIRA)
Trong Tran created GTNPORTAL-3356:
-------------------------------------
Summary: NPE when Add new page in Page Management
Key: GTNPORTAL-3356
URL: https://issues.jboss.org/browse/GTNPORTAL-3356
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Trong Tran
Fix For: 3.7.0.Final
Steps to reproduce:
- Log-in as root
- Add Page Management to the Home page, and make it public (everyone can access)
- Log-out
1/ Click on "Add new page" in anonymous mode, it throws NPE ==> NOK
2/ Login with marry, then click on "Add new page". It also throws NPE ==> NOK
Expected: Show warning message if user don't have right to create new page in any space.
--
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
10 years, 4 months
[JBoss JIRA] (GTNPORTAL-3334) Can edit portlet when Container tab chosen
by Vu Viet Phuong (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3334?page=com.atlassian.jira.pl... ]
Vu Viet Phuong updated GTNPORTAL-3334:
--------------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Can edit portlet when Container tab chosen
> ------------------------------------------
>
> Key: GTNPORTAL-3334
> URL: https://issues.jboss.org/browse/GTNPORTAL-3334
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Trong Tran
> Assignee: Vu Viet Phuong
> Fix For: 3.7.0.Final
>
> Original Estimate: 1 hour
> Time Spent: 1 hour
> Remaining Estimate: 0 minutes
>
> - Login portal
> - Choose a page
> - Click Site Editor > Edit Page
> - View page properties > Click Save
> - After that, drag & drop a container
> - Click Finish button
> - Select other page
> - Click edit page
> => Can edit portlet when choose tab container in Edit Inline composer
--
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
10 years, 4 months
[JBoss JIRA] (GTNPORTAL-2943) Hyphens not allowed in Javascript Modules
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2943?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-2943:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 3.7.0.Final
Resolution: Done
> 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: Trong Tran
> Fix For: 3.7.0.Final
>
> Original Estimate: 6 hours
> Time Spent: 6 hours
> Remaining Estimate: 0 minutes
>
> 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
10 years, 4 months
[JBoss JIRA] (GTNPORTAL-2943) Hyphens not allowed in Javascript Modules
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2943?page=com.atlassian.jira.pl... ]
Trong Tran reassigned GTNPORTAL-2943:
-------------------------------------
Assignee: Trong Tran (was: 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: Trong Tran
> Original Estimate: 6 hours
> Time Spent: 6 hours
> Remaining Estimate: 0 minutes
>
> 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
10 years, 4 months