[JBoss JIRA] (GTNPORTAL-3435) Import .zip REST API broken with EAP 6.3.0.Alpha1
by Lucas Ponce (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3435?page=com.atlassian.jira.pl... ]
Lucas Ponce updated GTNPORTAL-3435:
-----------------------------------
Summary: Import .zip REST API broken with EAP 6.3.0.Alpha1 (was: Templates REST API broken with EAP 6.3.0.Alpha1)
> Import .zip REST API broken with EAP 6.3.0.Alpha1
> -------------------------------------------------
>
> Key: GTNPORTAL-3435
> URL: https://issues.jboss.org/browse/GTNPORTAL-3435
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Lucas Ponce
> Assignee: Lucas Ponce
> Attachments: portal_classic_2014-03-28_16-59-29.zip
>
>
> A curl operation over template/user API:
> curl -i -H "Content-Type: application/zip" -u root:gtn -X PUT -T examples/user.zip "http://localhost:8080/rest/private/managed-components/template/user"
> hangs with:
> 16:35:16,466 INFO [org.exoplatform.portal.mop.management.operations.TemplateImportResource] (http-/127.0.0.1:8080-4) Import successful !
> 16:35:16,475 ERROR [org.apache.catalina.connector] (http-/127.0.0.1:8080-4) JBWEB001018: An exception or error occurred in the container during the request processing: java.nio.BufferOverflowException
> at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:357) [rt.jar:1.7.0_25]
> at org.apache.coyote.http11.InternalNioOutputBuffer.commit(InternalNioOutputBuffer.java:666) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.coyote.http11.Http11NioProcessor.commit(Http11NioProcessor.java:480) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.coyote.http11.Http11NioProcessor.action(Http11NioProcessor.java:798) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.coyote.Response.action(Response.java:190) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.coyote.Response.sendHeaders(Response.java:390) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:352) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:318) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.catalina.connector.Response.finishResponse(Response.java:487) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:371) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:353) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:911) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.tomcat.util.net.NioEndpoint$ChannelProcessor.run(NioEndpoint.java:920) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
> at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
--
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-3435) Templates REST API broken with EAP 6.3.0.Alpha1
by Lucas Ponce (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3435?page=com.atlassian.jira.pl... ]
Lucas Ponce updated GTNPORTAL-3435:
-----------------------------------
Attachment: portal_classic_2014-03-28_16-59-29.zip
Site example for test
> Templates REST API broken with EAP 6.3.0.Alpha1
> -----------------------------------------------
>
> Key: GTNPORTAL-3435
> URL: https://issues.jboss.org/browse/GTNPORTAL-3435
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Lucas Ponce
> Assignee: Lucas Ponce
> Attachments: portal_classic_2014-03-28_16-59-29.zip
>
>
> A curl operation over template/user API:
> curl -i -H "Content-Type: application/zip" -u root:gtn -X PUT -T examples/user.zip "http://localhost:8080/rest/private/managed-components/template/user"
> hangs with:
> 16:35:16,466 INFO [org.exoplatform.portal.mop.management.operations.TemplateImportResource] (http-/127.0.0.1:8080-4) Import successful !
> 16:35:16,475 ERROR [org.apache.catalina.connector] (http-/127.0.0.1:8080-4) JBWEB001018: An exception or error occurred in the container during the request processing: java.nio.BufferOverflowException
> at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:357) [rt.jar:1.7.0_25]
> at org.apache.coyote.http11.InternalNioOutputBuffer.commit(InternalNioOutputBuffer.java:666) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.coyote.http11.Http11NioProcessor.commit(Http11NioProcessor.java:480) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.coyote.http11.Http11NioProcessor.action(Http11NioProcessor.java:798) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.coyote.Response.action(Response.java:190) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.coyote.Response.sendHeaders(Response.java:390) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:352) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:318) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.catalina.connector.Response.finishResponse(Response.java:487) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:371) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:353) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:911) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.tomcat.util.net.NioEndpoint$ChannelProcessor.run(NioEndpoint.java:920) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
> at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
--
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-3435) Templates REST API broken with EAP 6.3.0.Alpha1
by Lucas Ponce (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3435?page=com.atlassian.jira.pl... ]
Lucas Ponce commented on GTNPORTAL-3435:
----------------------------------------
Also fails with other import REST API operations:
curl -i -H "Content-Type: application/zip" -u root:gtn -X PUT -T portal_classic_2014-03-28_16-59-29.zip http://localhost:8080/rest/private/managed-components/mop?importMode=over...
creates same error:
17:11:56,371 ERROR [org.apache.catalina.connector] (http-/127.0.0.1:8080-13) JBWEB001018: An exception or error occurred in the container during the request processing: java.nio.BufferOverflowException
at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:357) [rt.jar:1.7.0_25]
at org.apache.coyote.http11.InternalNioOutputBuffer.commit(InternalNioOutputBuffer.java:666) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.coyote.http11.Http11NioProcessor.commit(Http11NioProcessor.java:480) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.coyote.http11.Http11NioProcessor.action(Http11NioProcessor.java:798) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.coyote.Response.action(Response.java:190) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.coyote.Response.sendHeaders(Response.java:390) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:352) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:318) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.catalina.connector.Response.finishResponse(Response.java:487) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:371) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:353) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:911) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.tomcat.util.net.NioEndpoint$ChannelProcessor.run(NioEndpoint.java:920) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
> Templates REST API broken with EAP 6.3.0.Alpha1
> -----------------------------------------------
>
> Key: GTNPORTAL-3435
> URL: https://issues.jboss.org/browse/GTNPORTAL-3435
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Lucas Ponce
> Assignee: Lucas Ponce
> Attachments: portal_classic_2014-03-28_16-59-29.zip
>
>
> A curl operation over template/user API:
> curl -i -H "Content-Type: application/zip" -u root:gtn -X PUT -T examples/user.zip "http://localhost:8080/rest/private/managed-components/template/user"
> hangs with:
> 16:35:16,466 INFO [org.exoplatform.portal.mop.management.operations.TemplateImportResource] (http-/127.0.0.1:8080-4) Import successful !
> 16:35:16,475 ERROR [org.apache.catalina.connector] (http-/127.0.0.1:8080-4) JBWEB001018: An exception or error occurred in the container during the request processing: java.nio.BufferOverflowException
> at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:357) [rt.jar:1.7.0_25]
> at org.apache.coyote.http11.InternalNioOutputBuffer.commit(InternalNioOutputBuffer.java:666) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.coyote.http11.Http11NioProcessor.commit(Http11NioProcessor.java:480) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.coyote.http11.Http11NioProcessor.action(Http11NioProcessor.java:798) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.coyote.Response.action(Response.java:190) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.coyote.Response.sendHeaders(Response.java:390) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:352) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:318) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.catalina.connector.Response.finishResponse(Response.java:487) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:371) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:353) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:911) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at org.apache.tomcat.util.net.NioEndpoint$ChannelProcessor.run(NioEndpoint.java:920) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
> at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
--
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-3435) Templates REST API broken with EAP 6.3.0.Alpha1
by Lucas Ponce (JIRA)
Lucas Ponce created GTNPORTAL-3435:
--------------------------------------
Summary: Templates REST API broken with EAP 6.3.0.Alpha1
Key: GTNPORTAL-3435
URL: https://issues.jboss.org/browse/GTNPORTAL-3435
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Lucas Ponce
Assignee: Lucas Ponce
A curl operation over template/user API:
curl -i -H "Content-Type: application/zip" -u root:gtn -X PUT -T examples/user.zip "http://localhost:8080/rest/private/managed-components/template/user"
hangs with:
16:35:16,466 INFO [org.exoplatform.portal.mop.management.operations.TemplateImportResource] (http-/127.0.0.1:8080-4) Import successful !
16:35:16,475 ERROR [org.apache.catalina.connector] (http-/127.0.0.1:8080-4) JBWEB001018: An exception or error occurred in the container during the request processing: java.nio.BufferOverflowException
at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:357) [rt.jar:1.7.0_25]
at org.apache.coyote.http11.InternalNioOutputBuffer.commit(InternalNioOutputBuffer.java:666) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.coyote.http11.Http11NioProcessor.commit(Http11NioProcessor.java:480) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.coyote.http11.Http11NioProcessor.action(Http11NioProcessor.java:798) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.coyote.Response.action(Response.java:190) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.coyote.Response.sendHeaders(Response.java:390) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:352) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:318) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.catalina.connector.Response.finishResponse(Response.java:487) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:371) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:353) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:911) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at org.apache.tomcat.util.net.NioEndpoint$ChannelProcessor.run(NioEndpoint.java:920) [jbossweb-7.4.0.Beta4.jar:7.4.0.Beta4]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
--
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-3434) Preview mode while editing sitelayout gets wrong portal page of site
by Tran Trung Thanh (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3434?page=com.atlassian.jira.pl... ]
Tran Trung Thanh updated GTNPORTAL-3434:
----------------------------------------
Attachment: Correct Test's Layout.png
Test portal.png
Test's layout.png
> Preview mode while editing sitelayout gets wrong portal page of site
> --------------------------------------------------------------------
>
> Key: GTNPORTAL-3434
> URL: https://issues.jboss.org/browse/GTNPORTAL-3434
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.5.8.Final, 3.6.3.Final, 3.7.0.Final
> Reporter: Tran Trung Thanh
> Priority: Minor
> Attachments: Correct Test's Layout.png, Test portal.png, Test's layout.png
>
>
> Case to reproduce
> - Create new portal named test
> - Go to portal/test
> - Site Editor > Edit Page
> - Make several modifications to make page of this site be different from classic site then save those changes.
> - Go to /portal/classic
> - Go to page containing Portal Navigation at portal/classic/portalnavigation
> - Edit test's Layout
> - Switch to Preview Mode
> -> In the part for Portal Page, the page of classic is rendered but one of test is expected
--
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-3434) Preview mode while editing sitelayout gets wrong portal page of site
by Tran Trung Thanh (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3434?page=com.atlassian.jira.pl... ]
Tran Trung Thanh updated GTNPORTAL-3434:
----------------------------------------
Affects Version/s: 3.7.0.Final
3.6.3.Final
3.5.8.Final
> Preview mode while editing sitelayout gets wrong portal page of site
> --------------------------------------------------------------------
>
> Key: GTNPORTAL-3434
> URL: https://issues.jboss.org/browse/GTNPORTAL-3434
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.5.8.Final, 3.6.3.Final, 3.7.0.Final
> Reporter: Tran Trung Thanh
> Priority: Minor
>
> Case to reproduce
> - Create new portal named test
> - Go to portal/test
> - Site Editor > Edit Page
> - Make several modifications to make page of this site be different from classic site then save those changes.
> - Go to /portal/classic
> - Go to page containing Portal Navigation at portal/classic/portalnavigation
> - Edit test's Layout
> - Switch to Preview Mode
> -> In the part for Portal Page, the page of classic is rendered but one of test is expected
--
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-3434) Preview mode while editing sitelayout gets wrong portal page of site
by Tran Trung Thanh (JIRA)
Tran Trung Thanh created GTNPORTAL-3434:
-------------------------------------------
Summary: Preview mode while editing sitelayout gets wrong portal page of site
Key: GTNPORTAL-3434
URL: https://issues.jboss.org/browse/GTNPORTAL-3434
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Tran Trung Thanh
Priority: Minor
Case to reproduce
- Create new portal named test
- Go to portal/test
- Site Editor > Edit Page
- Make several modifications to make page of this site be different from classic site then save those changes.
- Go to /portal/classic
- Go to page containing Portal Navigation at portal/classic/portalnavigation
- Edit test's Layout
- Switch to Preview Mode
-> In the part for Portal Page, the page of classic is rendered but one of test is expected
--
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