Content title inline editing does not work in JBoss EPP Site Publisher 5.2
Issue
When inline editing the title (by double clicking) of a content the following happens:
- Double click the title -> it turns into a input text field (OK)
- Edit the text and press "Accept" -> following error is displayed: "An error occured while modifying the required property."
- Cancel (with the edited text) -> The input text field changes to normal text having the old value (OK)
- Edit again -> The input text field is displayed having the edited text as value
In the server.log file the following error can be found:
ERROR [InlineEditingService] Error when perform edit title:
java.lang.NullPointerException
at org.exoplatform.wcm.connector.collaboration.InlineEditingService.modifyProperty(InlineEditingService.java:214)
at org.exoplatform.wcm.connector.collaboration.InlineEditingService.editProperty(InlineEditingService.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.exoplatform.services.rest.impl.method.DefaultMethodInvoker$1.run(DefaultMethodInvoker.java:194)
at org.exoplatform.commons.utils.SecurityHelper.doPrivilegedExceptionAction(SecurityHelper.java:311)
at org.exoplatform.services.rest.impl.method.DefaultMethodInvoker.invokeMethod(DefaultMethodInvoker.java:190)
at org.exoplatform.services.rest.impl.method.DefaultMethodInvoker.invokeMethod(DefaultMethodInvoker.java:183)
at org.exoplatform.services.rest.impl.RequestDispatcher.invokeSubResourceMethod(RequestDispatcher.java:657)
at org.exoplatform.services.rest.impl.RequestDispatcher.dispatch(RequestDispatcher.java:602)
at org.exoplatform.services.rest.impl.RequestDispatcher.dispatch(RequestDispatcher.java:507)
at org.exoplatform.services.rest.impl.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:148)
at org.exoplatform.services.rest.servlet.RestServlet.onService(RestServlet.java:85)
at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:132)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
Environment
- JBoss Site Publisher
- 5.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.