[JBoss JIRA] Created: (GTNPORTAL-410) Adding a remote portlet to a page fails
by Chris Laprun (JIRA)
Adding a remote portlet to a page fails
---------------------------------------
Key: GTNPORTAL-410
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-410
Project: GateIn Portal
Issue Type: Bug
Components: User Interface, WSRP integration
Affects Versions: 3.0.0-Beta03
Reporter: Chris Laprun
Priority: Blocker
Fix For: 3.0.0-Beta04
Using the page editor, trying to add a remote portlet to a page results in a Javascript error alert:
The target blockId to update is not found : UIPortalToolPanel
Steps to reproduce:
- Deploy attached portlet.
- Start Portal and open the Application Registry
- Import applications
- Add the WSRP Admin portlet to the page.
- Refresh the "self" consumer by clicking on the Refresh action for self in UIWsrpConsumerOverview (see attached screenshot).
- Wait until it's done
- Re-import applications.
- Edit page to add a new portlet from the new Remote category.
- Dropping the portlet on the page should result in the error: The target blockId to update is not found : UIPortalToolPanel (see attached screenshot)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Created: (GTNPORTAL-397) Blank zone when user put permission on Container in a page / Content should be filled up automatically
by Tugdual Grall (JIRA)
Blank zone when user put permission on Container in a page / Content should be filled up automatically
-------------------------------------------------------------------------------------------------------
Key: GTNPORTAL-397
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-397
Project: GateIn Portal
Issue Type: Bug
Affects Versions: 3.0.0-Beta03
Environment: Beta 03 on JBossAs5.1
FF3.5
OSX
Reporter: Tugdual Grall
Summary:
- When a page is created with column layout and one of the container (column) is not accessible by a user (permission) the page shows a blank page
- the product should fill the space automatically to be more user friendly
Use case / Step by Step
1- Create a new page
2- Select "2 Column Layout"
3- Drop 1 portlet in each column (for example iframe portlet)
4- Check the permission on the PORTLET instances (make them "public")
5- Select the left CONTAINER
6- Edit the permissions and select for example "*:platform/administrators"
7- Save the page
8- CP1: you see both portlets in 2 columns
9- Logout
10- Go to the page you have just created
11- CP2: BUG: the page is divided in 2 part with a left blank that take 50% of the page
>> The product should automcatilly fills the blank when it is needed/possible.
Other use cases to test/check:
- do the same when permission is set on a portlet and a container is now empty
- test with 3 or more columns
- test on vertical layout
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 1 month
[JBoss JIRA] Created: (GTNPORTAL-385) Maven Build from FC12 over PowerPC and IBM JDK not working
by David Calvente (JIRA)
Maven Build from FC12 over PowerPC and IBM JDK not working
----------------------------------------------------------
Key: GTNPORTAL-385
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-385
Project: GateIn Portal
Issue Type: Bug
Components: Packaging
Affects Versions: 3.0.0-Beta03, 3.0.0-Beta04
Environment: Power PC multi-CPU, FC12 and IBM JDK 1.6 (J9)
Reporter: David Calvente
Various problems arises when trying to compile and/or package the whole GateIn:
TestBoundedBuffer -> testNoLeak() Line 92 assertNotNull(ref2.get());
TestUserPortalConfigService -> Line 342 -> assertEquals(expectedNavigations, navigations); returns an additional entry: /groupTest
############## Trunk ############### ############### ###############
[INFO] ------------------------------------------------------------------------
[INFO] Building GateIn Portal Component Scripting
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
...
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.074 sec
Running org.exoplatform.commons.utils.TestBoundedBuffer
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.66 sec <<< FAILURE!
Results :
Failed tests:
testNoLeak(org.exoplatform.commons.utils.TestBoundedBuffer)
Surefire Report
-------------------------------------------------------------------------------
Test set: org.exoplatform.commons.utils.TestBoundedBuffer
-------------------------------------------------------------------------------
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.66 sec <<< FAILURE!
testNoLeak(org.exoplatform.commons.utils.TestBoundedBuffer) Time elapsed: 0.627 sec <<< FAILURE!
junit.framework.AssertionFailedError
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNotNull(Assert.java:217)
at junit.framework.Assert.assertNotNull(Assert.java:210)
at org.exoplatform.commons.utils.TestBoundedBuffer.testNoLeak(TestBoundedBuffer.java:93)
###Workaround in order to go far in the process...
/*
public void testNoLeak()
{
BoundedBuffer<Object> buffer = new BoundedBuffer<Object>(2);
Object o1 = new Object();
Object o2 = new Object();
Object o3 = new Object();
buffer.add(o1);
buffer.add(o2);
buffer.add(o3);
WeakReference<Object> ref1 = new WeakReference<Object>(o1);
WeakReference<Object> ref2 = new WeakReference<Object>(o2);
WeakReference<Object> ref3 = new WeakReference<Object>(o3);
o1 = null;
o2 = null;
o3 = null;
forceGC();
assertNull(ref1.get());
assertNotNull(ref2.get());
assertNotNull(ref3.get());
}
*/
###############################################################################
-------------------------------------------------------------------------------
Test set: org.exoplatform.portal.config.TestUserPortalConfigService
-------------------------------------------------------------------------------
Tests run: 29, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.007 sec <<< FAILURE!
testRootGetMakableNavigations(org.exoplatform.portal.config.TestUserPortalConfigService) Time elapsed: 0.288 sec <<< FAILURE!
junit.framework.AssertionFailedError: expected:<[/organization/communication/marketing, /platform, /organization, /organization/management/executive-board, /customers, /organization/management/human-resources, /platform/guests, /organization/communication, /organization/operations/finances, /organization/management, /platform/administrators, /organization/operations/sales, /organization/operations, /partners, /platform/users, /organization/communication/press-and-media]> but was:<[/organization/communication/marketing, /organization/management/executive-board, /customers, /organization/management/human-resources, /organization/management, /platform/administrators, /partners, /platform/users, /groupTest, /organization, /platform, /platform/guests, /organization/communication, /organization/operations/finances, /organization/operations/sales, /organization/operations, /organization/communication/press-and-media]>
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.failNotEquals(Assert.java:282)
at junit.framework.Assert.assertEquals(Assert.java:64)
at junit.framework.Assert.assertEquals(Assert.java:71)
at org.exoplatform.portal.config.TestUserPortalConfigService$9.execute(TestUserPortalConfigService.java:342)
at org.exoplatform.portal.config.TestUserPortalConfigService$UnitTest.execute(TestUserPortalConfigService.java:883)
at org.exoplatform.portal.config.TestUserPortalConfigService.testRootGetMakableNavigations(TestUserPortalConfigService.java:330)
It seems like multi-cpu or IBM JDK is not a tested environment..
I repeated the steps over FC11 in Intel single CPU and worked fine for Beta-03 (Failed Beta-04 but due to another problems..
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 2 months