[gatein-issues] [JBoss JIRA] Commented: (GTNMGMT-19) Export of navigation fails when node label is null
Tomas Kyjovsky (JIRA)
jira-events at lists.jboss.org
Tue Sep 27 17:29:26 EDT 2011
[ https://issues.jboss.org/browse/GTNMGMT-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630887#comment-12630887 ]
Tomas Kyjovsky commented on GTNMGMT-19:
---------------------------------------
Found this when creating navigation nodes via PortalNavigation portlet. There is one new bug possibly related to this: JBEPP-1220. But it seems that null labels for nodes are allowed anyway.
> Export of navigation fails when node label is null
> --------------------------------------------------
>
> Key: GTNMGMT-19
> URL: https://issues.jboss.org/browse/GTNMGMT-19
> Project: GateIn Management
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: api, cli, core, rest
> Affects Versions: 1.0.0-Beta03
> Reporter: Tomas Kyjovsky
> Assignee: Nick Scavelli
>
> In case a label of any node is set to null the export operation of navigation fails.
> ---
> java.lang.IllegalArgumentException: content cannot be null.
> org.gatein.common.xml.stax.writer.StaxWriterImpl.writeContent(StaxWriterImpl.java:129)
> org.gatein.common.xml.stax.writer.StaxWriterImpl.writeContent(StaxWriterImpl.java:123)
> org.exoplatform.portal.mop.management.binding.xml.NavigationMarshaller.marshallNode(NavigationMarshaller.java:151)
> org.exoplatform.portal.mop.management.binding.xml.NavigationMarshaller.marshalNavigation(NavigationMarshaller.java:117)
> org.exoplatform.portal.mop.management.binding.xml.NavigationMarshaller.marshal(NavigationMarshaller.java:65)
> org.exoplatform.portal.mop.management.binding.xml.NavigationMarshaller.marshal(NavigationMarshaller.java:56)
> org.gatein.management.rest.providers.ManagedComponentProvider.writeTo(ManagedComponentProvider.java:99)
> org.exoplatform.services.rest.servlet.RestServlet$ServletContainerResponseWriter.writeBody(RestServlet.java:138)
> org.exoplatform.services.rest.impl.ContainerResponse.writeResponse(ContainerResponse.java:211)
> org.exoplatform.services.rest.impl.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:249)
> org.exoplatform.services.rest.servlet.RestServlet.onService(RestServlet.java:85)
> org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:132)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> org.exoplatform.services.rest.servlet.RestEncodingFilter.doFilter(RestEncodingFilter.java:58)
> org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:116)
> org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:88)
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the gatein-issues
mailing list