Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-2547

Newly created users should be stored with encoding in the repository

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • r2.06.03 (m13 - rc4)
    • r2.08.00
    • security
    • None

    Description

      For example creating a user with an underscore in the name results in the following error

      18.05.2009 16:12:05 ERROR [org.hippoecm.frontend.plugins.cms.admin.users.CreateUserPanel$1.onSubmit():122] Unable to create user 'a_mathijs' :
      javax.jcr.RepositoryException: Unable to update item: node /: df8cf954-ea2f-425b-be26-be4326c4c671
      at org.apache.jackrabbit.spi.rmi.server.ServerObject.getRepositoryException(ServerObject.java:110)
      at org.apache.jackrabbit.spi.rmi.server.ServerRepositoryService.submit(ServerRepositoryService.java:353)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
      at sun.rmi.transport.Transport$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Unknown Source)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
      at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
      at sun.rmi.server.UnicastRef.invoke(Unknown Source)
      at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown Source)
      at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
      at $Proxy1.submit(Unknown Source)
      at org.apache.jackrabbit.spi.rmi.client.ClientRepositoryService.submit(ClientRepositoryService.java:308)
      at org.apache.jackrabbit.jcr2spi.WorkspaceManager$OperationVisitorImpl.execute(WorkspaceManager.java:756)
      at org.apache.jackrabbit.jcr2spi.WorkspaceManager$OperationVisitorImpl.access$500(WorkspaceManager.java:721)
      at org.apache.jackrabbit.jcr2spi.WorkspaceManager.execute(WorkspaceManager.java:532)
      at org.apache.jackrabbit.jcr2spi.state.HippoSessionItemStateManager.save(HippoSessionItemStateManager.java:157)
      at org.apache.jackrabbit.jcr2spi.ItemImpl.save(ItemImpl.java:243)
      at org.apache.jackrabbit.jcr2spi.SessionImpl.save(SessionImpl.java:313)
      at org.hippoecm.repository.decorating.SessionDecorator.save(SessionDecorator.java:202)
      at org.hippoecm.repository.decorating.spi.SessionDecorator.save(SessionDecorator.java:75)
      at org.hippoecm.frontend.plugins.cms.admin.users.User.create(User.java:304)
      at org.hippoecm.frontend.plugins.cms.admin.users.CreateUserPanel$1.onSubmit(CreateUserPanel.java:111)
      at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:86)
      at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:128)
      at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163)
      at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297)
      at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100)
      at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
      at org.hippoecm.frontend.Main$6.processEvents(Main.java:283)

      Attachments

        Activity

          People

            bvdschans Bart van der Schans (Inactive)
            bvdschans Bart van der Schans (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: