Bug 1082560
Summary: | REST API - problems and exceptions when updating portal templates | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Enterprise Portal Platform 6 | Reporter: | mgottval <mgottval> | ||||
Component: | Portal | Assignee: | Lucas Ponce <lponce> | ||||
Status: | VERIFIED --- | QA Contact: | Tomas Kyjovsky <tkyjovsk> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.2.0 | CC: | bdawidow, epp-bugs, mvecera | ||||
Target Milestone: | ER01 | ||||||
Target Release: | 6.2.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | Type: | Bug | |||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 1083054 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
mgottval
2014-03-31 10:37:31 UTC
It seems there is an issue in the NIO2 connector for EAP 6.3.0. There is a workaround defined in the JIRA attached, is to change to JIO connector: <subsystem xmlns="urn:jboss:domain:web:1.5" default-virtual-server="default-host" native="false"> <connector name="http" protocol="org.apache.coyote.http11.Http11Protocol" scheme="http" socket-binding="http"/> <virtual-server name="default-host" enable-welcome-root="true"> <alias name="localhost"/> <alias name="example.com"/> </virtual-server> </subsystem> I successfully did the workaround changing the connector. The exception is no longer present. But anyway running the command curl -i -H "Content-Type: application/zip" -u root:gtn -X PUT -T examples/portal.zip "http://localhost:8080/rest/private/managed-components/template/portal" only the mobile portal is updated. Classic portal stays without any change. There is a missing attribute in branding classic template. I'm going to send a fix for it. Meanwhile, there is a workaround: In file: jpp-portal-6.2/gatein/extensions/jpp-branding-extension.ear/jpp-branding-extension.war/WEB-INF/conf/portal/portal/classic/portal.xml Add a <properties> ... <entry key="template">classic</entry> </properties> To indicate that "classic" site has been created from "classic" template. Thanks for reporting. Lucas Verified in JPP 6.2.ER2. Lucas Ponce <ponce.ballesteros> updated the status of jira GTNPORTAL-3435 to Resolved |