Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-5518

RS: rename a user

    XMLWordPrintable

Details

    Description

      Save once the profit of the user and than change its user name -> red screen

      https://xyz.openolat.com/auth/UserAdminSite/0/usearch/0/table/0/Identity/52592728/tab/3
      User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36
      Exception: ExceptionWindowController: Throwable occurred, logging the full stacktrace: javax.persistence.OptimisticLockException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) : [org.olat.user.UserImpl#52559960]
       at org.hibernate.internal.ExceptionConverterImpl.wrapStaleStateException(ExceptionConverterImpl.java:223)
       at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:93)
       at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:181)
       at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:188)
       at org.hibernate.internal.SessionImpl.fireMerge(SessionImpl.java:804)
       at org.hibernate.internal.SessionImpl.merge(SessionImpl.java:780)
       at org.olat.user.UserManagerImpl.updateUser(UserManagerImpl.java:283)
       at org.olat.user.UserManagerImpl.updateUserFromIdentity(UserManagerImpl.java:294)
       at org.olat.user.ui.admin.authentication.UserNickNameEditController.formOK(UserNickNameEditController.java:151)
       at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:390)
       at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:214)
       at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
       at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
       at org.olat.core.gui.components.AbstractComponent.fireEvent(AbstractComponent.java:238)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.fireValidation(FormWrapperContainer.java:124)
       at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:464)
       at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:451)
       at org.olat.core.gui.components.form.flexible.impl.elements.FormSubmit.dispatchFormRequest(FormSubmit.java:79)
       at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:568)
       at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:317)
       at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:105)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.core.gui.components.Window.doDispatchToComponent(Window.java:1269)
       at org.olat.core.gui.components.Window.dispatchRequest(Window.java:444)
       at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:319)
       at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
       at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:279)
       at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:184)
       at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:299)
       at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:227)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)
       at org.olat.core.servlets.OpenOLATServlet.service(OpenOLATServlet.java:159)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
       at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
      

      Attachments

        Activity

          People

            srosse Stéphane Rossé
            srosse Stéphane Rossé
            Mandy Menzel Mandy Menzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: