[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
16 years
[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
16 years, 1 month
[JBoss JIRA] Created: (GTNPORTAL-503) javax.jcr.RepositoryException when same database used for both portal containers "portal" and "sample-portal"
by Marek Posolda (JIRA)
javax.jcr.RepositoryException when same database used for both portal containers "portal" and "sample-portal"
-------------------------------------------------------------------------------------------------------------
Key: GTNPORTAL-503
URL: https://jira.jboss.org/jira/browse/GTNPORTAL-503
Project: GateIn Portal
Issue Type: Bug
Environment: Ubuntu linux,
Sun JDK 1.6,
EAP 5 with GateIn from trunk (revision 1252)
Reporter: Marek Posolda
Attachments: database-configuration.xml
When same database is used for both portal containers "portal" and "sample-portal" in database-configuration.xml, then you can see error in server log during GateIn startup. I've seeen this in server.log during GateIn startup:
16:00:07,014 ERROR [NodeIndexer] Binary value indexer error javax.jcr.RepositoryException: /home/mposolda/tmp/eap5-gatein-rev1252-examples/server/default/data/gatein/jcr/values/portal-system_portal/2/d/5/9/2/8/2/a7f000001006d707191522de0/2d59282a7f000001006d707191522de00 (No such file or directory): /home/mposolda/tmp/eap5-gatein-rev1252-examples/server/default/data/gatein/jcr/values/portal-system_portal/2/d/5/9/2/8/2/a7f000001006d707191522de0/2d59282a7f000001006d707191522de00 (No such file or directory)
javax.jcr.RepositoryException: /home/mposolda/tmp/eap5-gatein-rev1252-examples/server/default/data/gatein/jcr/values/portal-system_portal/2/d/5/9/2/8/2/a7f000001006d707191522de0/2d59282a7f000001006d707191522de00 (No such file or directory): /home/mposolda/tmp/eap5-gatein-rev1252-examples/server/default/data/gatein/jcr/values/portal-system_portal/2/d/5/9/2/8/2/a7f000001006d707191522de0/2d59282a7f000001006d707191522de00 (No such file or directory)
at org.exoplatform.services.jcr.impl.storage.jdbc.JDBCStorageConnection.getItemByName(JDBCStorageConnection.java:804)
at org.exoplatform.services.jcr.impl.storage.jdbc.JDBCStorageConnection.getItemData(JDBCStorageConnection.java:690)
at org.exoplatform.services.jcr.impl.dataflow.persistent.WorkspacePersistentDataManager.getItemData(WorkspacePersistentDataManager.java:599)
at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager.getPersistedItemData(CacheableWorkspaceDataManager.java:519)
at org.exoplatform.services.jcr.impl.dataflow.persistent.CacheableWorkspaceDataManager.getItemData(CacheableWorkspaceDataManager.java:297)
By default each container has different database because database-configuration.xml looks like this:
<property name="driverClassName" value="org.hsqldb.jdbcDriver"/>
<property name="url" value="jdbc:hsqldb:file:${gatein.db.data.dir}/data/exodb${container.name.suffix}"/>
<property name="username" value="sa"/>
<property name="password" value=""/>
Problem occurs when same DB is used for both containers, so URL looks like this:
<property name="url" value="jdbc:hsqldb:file:${gatein.db.data.dir}/data/exodb_shared"/>
I believe that it should be possible to use same DB for both portal containers without any exceptions in server.log. Right now, there is similar issue GTNPORTAL-474 , which addresses exceptions with picketlink idm. So I am using database-configuration.xml from attachement where DB is shared only for JCR and not for picketlink. And with this configuration, I am seeing only JCR exceptions.
My database-configuration is in attachement as well as my server.log.
--
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
16 years, 1 month