[JBoss JIRA] (GTNPORTAL-3267) MOP import resource
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3267?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3267:
----------------------------------
Fix Version/s: 3.7.1.Final
(was: 3.7.0.Final)
> MOP import resource
> -------------------
>
> Key: GTNPORTAL-3267
> URL: https://issues.jboss.org/browse/GTNPORTAL-3267
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Java API
> Affects Versions: 3.5.6.Final
> Reporter: Boubaker Khanfir
> Assignee: Trong Tran
> Fix For: 3.7.1.Final
>
> Attachments: portal_mobile_2013-10-01_11-22-50.zip
>
> Original Estimate: 4 hours
> Time Spent: 1 day, 6 hours
> Remaining Estimate: 0 minutes
>
> MOP resource management is based on a custom marshaller/unmarshaller (org.exoplatform.portal.mop.management.binding.xml.*).
> I had used the mop managed resource in a custom case:
> * Create a new site.
> * Add PortalBody in a container.
> * Export site using GateIN management.
> * Re-import exported site.
> => Exception:
> {code}
> Operation exception for operation import-resource and address /mop [org.gatein.management.cli<pool-4-thread-1>]
> org.gatein.management.api.exceptions.OperationException: Exception reading data for import.
> at org.exoplatform.portal.mop.management.operations.MopImportResource.execute(MopImportResource.java:198) ~[exo.portal.component.portal-3.5.x-PLF-SNAPSHOT.jar:3.5.x-PLF-SNAPSHOT]
> at org.gatein.management.core.api.controller.SimpleManagementController.execute(SimpleManagementController.java:100) ~[gatein-management-core-1.1.0.Final.jar:1.1.0.Final]
> ...
> Caused by: org.staxnav.StaxNavException: Unexpected element 'page-body' at [row,col]:[167,21]
> at org.gatein.common.xml.stax.navigator.Exceptions.unexpectedElement(Exceptions.java:45) ~[exo.portal.component.common-3.5.x-PLF-SNAPSHOT.jar:3.5.x-PLF-SNAPSHOT]
> at org.exoplatform.portal.mop.management.binding.xml.AbstractMarshaller.unmarshalContainer(AbstractMarshaller.java:171) ~[exo.portal.component.portal-3.5.x-PLF-SNAPSHOT.jar:3.5.x-PLF-SNAPSHOT]
> at org.exoplatform.portal.mop.management.binding.xml.SiteLayoutMarshaller.unmarshalPortalConfig(SiteLayoutMarshaller.java:216) ~[exo.portal.component.portal-3.5.x-PLF-SNAPSHOT.jar:3.5.x-PLF-SNAPSHOT]
> at org.exoplatform.portal.mop.management.binding.xml.SiteLayoutMarshaller.unmarshal(SiteLayoutMarshaller.java:80) ~[exo.portal.component.portal-3.5.x-PLF-SNAPSHOT.jar:3.5.x-PLF-SNAPSHOT]
> ... 40 common frames omitted
> {code}
> To fix this I used the *default* MOP marshaller:
> {code}
> import org.exoplatform.portal.config.model.ModelUnmarshaller;
> // ...
> public PortalConfig unmarshal(InputStream inputStream) throws BindingException {
> try {
> return ModelUnmarshaller.unmarshall(PortalConfig.class, inputStream).getObject();
> } catch (Exception e) {
> throw new BindingException(e);
> }
> }
> //...
> public Page.PageSet unmarshal(InputStream inputStream) throws BindingException {
> try {
> return ModelUnmarshaller.unmarshall(Page.PageSet.class, inputStream).getObject();
> } catch (Exception e) {
> throw new BindingException(e);
> }
> }
> //...
> public PageNavigation unmarshal(InputStream inputStream) throws BindingException {
> try {
> return ModelUnmarshaller.unmarshall(PageNavigation.class, inputStream).getObject();
> } catch (Exception e) {
> throw new BindingException(e);
> }
> }
> // ...
> {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
10 years, 8 months
[JBoss JIRA] (GTNPORTAL-3218) The global chromattic session context doesn't close properly
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3218?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3218:
----------------------------------
Fix Version/s: 3.7.1.Final
(was: 3.7.0.Final)
> The global chromattic session context doesn't close properly
> ------------------------------------------------------------
>
> Key: GTNPORTAL-3218
> URL: https://issues.jboss.org/browse/GTNPORTAL-3218
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Trong Tran
> Assignee: Trong Tran
> Fix For: 3.7.1.Final
>
>
> The following unit testcase doesn't work, it fails in the second openning of the context :
> {code}
> public void testGlobalSessionClose() {
> chromatticManager.beginRequest();
> try {
> test1LF.openContext();
> // do something
> test1LF.closeContext(false); // close without persisting changes to DB
> //
> test1LF.openContext();
> test1LF.closeContext(true);
> }
> finally {
> chromatticManager.endRequest(true);
> }
> }
> {code}
> it raises an exception of java.lang.IllegalStateException: A context is already opened
--
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, 8 months
[JBoss JIRA] (GTNPORTAL-3283) Eliminate the Warning "JBAS018204: Clustering not supported, falling back to non-clustered session manager"
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3283?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3283:
----------------------------------
Fix Version/s: 3.7.1.Final
(was: 3.7.0.Final)
> Eliminate the Warning "JBAS018204: Clustering not supported, falling back to non-clustered session manager"
> -----------------------------------------------------------------------------------------------------------
>
> Key: GTNPORTAL-3283
> URL: https://issues.jboss.org/browse/GTNPORTAL-3283
> Project: GateIn Portal
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Packaging
> Reporter: Peter Palaga
> Assignee: Marko Strukelj
> Fix For: 3.7.1.Final
>
>
> There are two occurences of this warning in GateIn startup log on JBoss
> {code}
> 09:24:30,563 WARN [org.jboss.web] (MSC service thread 1-2) JBAS018204: Clustering not supported, falling back to non-clustered session manager
> 09:24:30,566 WARN [org.jboss.web] (MSC service thread 1-3) JBAS018204: Clustering not supported, falling back to non-clustered session manager
> 0
> {code}
> These warnings should be eliminated, if possible, as there should be no warnings during startup of an out of the box GateIn instance.
--
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, 8 months
[JBoss JIRA] (GTNPORTAL-3282) Eliminate the "using a private module org.apache.cxf:main" warning on JBoss startup
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3282?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3282:
----------------------------------
Fix Version/s: 3.7.1.Final
(was: 3.7.0.Final)
> Eliminate the "using a private module org.apache.cxf:main" warning on JBoss startup
> -----------------------------------------------------------------------------------
>
> Key: GTNPORTAL-3282
> URL: https://issues.jboss.org/browse/GTNPORTAL-3282
> Project: GateIn Portal
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: WSRP integration
> Reporter: Peter Palaga
> Assignee: Juraci Paixão Kröhling
> Fix For: 3.7.1.Final
>
>
> There are several warnings like this in GateIn startup log on JBoss:
> {code}
> 09:24:27,528 WARN [org.jboss.as.dependency.private] (MSC service thread 1-5) JBAS018567: Deployment "deployment.gatein-wsrp-integration.ear.extension-war.war" is using a private module ("org.apache.cxf:main") which may be changed or removed in future versions without notice.
> 09:24:27,551 WARN [org.jboss.as.dependency.private] (MSC service thread 1-4) JBAS018567: Deployment "deployment.gatein-wsrp-integration.ear.wsrp-admin-gui.war" is using a private module ("org.apache.cxf:main") which may be changed or removed in future versions without notice.
> 09:24:27,556 WARN [org.jboss.as.dependency.private] (MSC service thread 1-3) JBAS018567: Deployment "deployment.gatein-wsrp-integration.ear.wsrp-producer.war" is using a private module ("org.apache.cxf:main") which may be changed or removed in future versions without notice.
> 09:24:27,557 WARN [org.jboss.as.dependency.private] (MSC service thread 1-3) JBAS018567: Deployment "deployment.gatein-wsrp-integration.ear.wsrp-producer.war" is using a private module ("org.apache.cxf:main") which may be changed or removed in future versions without notice.
> 09:24:28,561 WARN [org.jboss.as.dependency.private] (MSC service thread 1-1) JBAS018567: Deployment "deployment.gatein-wsrp-integration.ear" is using a private module ("org.apache.cxf:main") which may be changed or removed in future versions without notice.
> {code}
> Searching for "org.apache.cxf" in GateIn source tree shows occurences in {{org.gatein.wsrp.integration}} {{module.xml}}: https://github.com/gatein/gatein-portal/blob/master/packaging/jboss-as7/m...
> These warning should be eliminated if possible as there should be no warnings in an out of the box GateIn installation.
--
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, 8 months
[JBoss JIRA] (GTNPORTAL-3273) It restores all pre-defined configuration when re-creating a site config with the same name
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3273?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-3273:
----------------------------------
Fix Version/s: 3.7.1.Final
(was: 3.7.0.Final)
> It restores all pre-defined configuration when re-creating a site config with the same name
> -------------------------------------------------------------------------------------------
>
> Key: GTNPORTAL-3273
> URL: https://issues.jboss.org/browse/GTNPORTAL-3273
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.5.6.Final, 3.6.1.Final
> Reporter: Trong Tran
> Fix For: 3.7.1.Final
>
>
> Steps to reproduce:
> - Login with root
> - Edit the home page layout to add the Organization Porltet
> - In Organization portlet, go to delete the pre-defined group /organization/management/executive-board. You will notice that it also deletes all data (navigation nodes, pages) belonging to that group
> - Then re-create a group with the same name under /organization/management/.
> ===> Now you will see that all pre-defined data is restored as the first initializing time.
--
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, 8 months