Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-47163

StaleObjectStateException on login with new user with LDAP export and email address verification

    Details

      Description

      Steps to reproduce

      1. Add company.security.strangers.verify=true to portal-ext.properties
      2. Setup Liferay with LDAP authentication enabled
      3. Enable LDAP export
      4. Add a user
      5. Logout with admin user
      6. Try to login with new user with the password received in the e-mail sent by the portal

      Expected behaviour
      Login successful, the user is redirected to enter the e-mail address verification code

      Actual behaviour
      StaleObjecStateException is thrown:

      08:34:29,290 ERROR [ajp-bio-8009-exec-4][LoginAction:131] com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=1, uuid=97cd5c5e-d503-4bae-a33b-68441395700d, userId=10497, companyId=10156, createDate=Mon May 26 08:33:59 GMT 2014, modifiedDate=Mon May 26 08:33:59 GMT 2014, defaultUser=false, contactId=10498, password=AAAAoAAB9AA284O7GWKz90esgDPjbYlHZ3e49mwqN87UBCjA, passwordEncrypted=true, passwordReset=true, passwordModifiedDate=Mon May 26 08:33:59 GMT 2014, digest=2392ead6dd3fdf39cd7fc20798a11299,ac5ac9791ce62d88e0165ccce2ff3ea7,a61f8baf21bf5f018712624f6973814e, reminderQueryQuestion=, reminderQueryAnswer=, graceLoginCount=0, screenName=vili, emailAddress=vilmos.papp@liferay.com, facebookId=0, ldapServerId=-1, openId=, portraitId=0, languageId=en_US, timeZoneId=UTC, greeting=Welcome Vilmos Papp!, comments=, firstName=Vilmos, middleName=, lastName=Papp, jobTitle=, loginDate=null, loginIP=, lastLoginDate=null, lastLoginIP=, lastFailedLoginDate=null, failedLoginAttempts=0, lockout=false, lockoutDate=null, agreedToTermsOfUse=false, emailAddressVerified=false, status=0} is stale in comparison to {mvccVersion=2, uuid=97cd5c5e-d503-4bae-a33b-68441395700d, userId=10497, companyId=10156, createDate=Mon May 26 08:33:59 GMT 2014, modifiedDate=Mon May 26 08:33:59 GMT 2014, defaultUser=false, contactId=10498, password=AAAAoAAB9AA284O7GWKz90esgDPjbYlHZ3e49mwqN87UBCjA, passwordEncrypted=true, passwordReset=true, passwordModifiedDate=Mon May 26 08:33:59 GMT 2014, digest=, reminderQueryQuestion=, reminderQueryAnswer=, graceLoginCount=0, screenName=vili, emailAddress=vilmos.papp@liferay.com, facebookId=0, ldapServerId=-1, openId=, portraitId=0, languageId=en_US, timeZoneId=UTC, greeting=Welcome Vilmos Papp!, comments=, firstName=Vilmos, middleName=, lastName=Papp, jobTitle=, loginDate=null, loginIP=, lastLoginDate=null, lastLoginIP=, lastFailedLoginDate=null, failedLoginAttempts=0, lockout=false, lockoutDate=null, agreedToTermsOfUse=false, emailAddressVerified=false, status=0}
      com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=1, uuid=97cd5c5e-d503-4bae-a33b-68441395700d, userId=10497, companyId=10156, createDate=Mon May 26 08:33:59 GMT 2014, modifiedDate=Mon May 26 08:33:59 GMT 2014, defaultUser=false, contactId=10498, password=AAAAoAAB9AA284O7GWKz90esgDPjbYlHZ3e49mwqN87UBCjA, passwordEncrypted=true, passwordReset=true, passwordModifiedDate=Mon May 26 08:33:59 GMT 2014, digest=2392ead6dd3fdf39cd7fc20798a11299,ac5ac9791ce62d88e0165ccce2ff3ea7,a61f8baf21bf5f018712624f6973814e, reminderQueryQuestion=, reminderQueryAnswer=, graceLoginCount=0, screenName=vili, emailAddress=vilmos.papp@liferay.com, facebookId=0, ldapServerId=-1, openId=, portraitId=0, languageId=en_US, timeZoneId=UTC, greeting=Welcome Vilmos Papp!, comments=, firstName=Vilmos, middleName=, lastName=Papp, jobTitle=, loginDate=null, loginIP=, lastLoginDate=null, lastLoginIP=, lastFailedLoginDate=null, failedLoginAttempts=0, lockout=false, lockoutDate=null, agreedToTermsOfUse=false, emailAddressVerified=false, status=0} is stale in comparison to {mvccVersion=2, uuid=97cd5c5e-d503-4bae-a33b-68441395700d, userId=10497, companyId=10156, createDate=Mon May 26 08:33:59 GMT 2014, modifiedDate=Mon May 26 08:33:59 GMT 2014, defaultUser=false, contactId=10498, password=AAAAoAAB9AA284O7GWKz90esgDPjbYlHZ3e49mwqN87UBCjA, passwordEncrypted=true, passwordReset=true, passwordModifiedDate=Mon May 26 08:33:59 GMT 2014, digest=, reminderQueryQuestion=, reminderQueryAnswer=, graceLoginCount=0, screenName=vili, emailAddress=vilmos.papp@liferay.com, facebookId=0, ldapServerId=-1, openId=, portraitId=0, languageId=en_US, timeZoneId=UTC, greeting=Welcome Vilmos Papp!, comments=, firstName=Vilmos, middleName=, lastName=Papp, jobTitle=, loginDate=null, loginIP=, lastLoginDate=null, lastLoginIP=, lastFailedLoginDate=null, failedLoginAttempts=0, lockout=false, lockoutDate=null, agreedToTermsOfUse=false, emailAddressVerified=false, status=0}
      	at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.processException(BasePersistenceImpl.java:253)
      	at com.liferay.portal.service.persistence.impl.UserPersistenceImpl.updateImpl(UserPersistenceImpl.java:7520)
      	at com.liferay.portal.service.persistence.impl.UserPersistenceImpl.updateImpl(UserPersistenceImpl.java:1)
      	at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:335)
      	at com.liferay.portal.service.impl.UserLocalServiceImpl.authenticate(UserLocalServiceImpl.java:5868)
      	at com.liferay.portal.service.impl.UserLocalServiceImpl.authenticateByScreenName(UserLocalServiceImpl.java:1102)
      	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 com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:115)
      	at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:62)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:111)
      	at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:175)
      	at com.sun.proxy.$Proxy34.authenticateByScreenName(Unknown Source)
      	at com.liferay.portal.service.UserLocalServiceUtil.authenticateByScreenName(UserLocalServiceUtil.java:1324)
      	at com.liferay.portlet.login.util.LoginUtil.getAuthenticatedUserId(LoginUtil.java:140)
      	at com.liferay.portlet.login.util.LoginUtil.login(LoginUtil.java:286)
      	at com.liferay.portlet.login.action.LoginAction.login(LoginAction.java:201)
      	at com.liferay.portlet.login.action.LoginAction.processAction(LoginAction.java:92)
      	at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:163)
      	at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:216)
      	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
      	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
      	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:605)
      	at com.liferay.portlet.InvokerPortletImpl.invokeAction(InvokerPortletImpl.java:636)
      	at com.liferay.portlet.InvokerPortletImpl.processAction(InvokerPortletImpl.java:316)
      	at com.liferay.portlet.PortletContainerImpl._doProcessAction(PortletContainerImpl.java:411)
      	at com.liferay.portlet.PortletContainerImpl.processAction(PortletContainerImpl.java:110)
      	at com.liferay.portlet.SecurityPortletContainerWrapper.processAction(SecurityPortletContainerWrapper.java:109)
      	at com.liferay.portlet.RestrictPortletContainerWrapper.processAction(RestrictPortletContainerWrapper.java:75)
      	at com.liferay.portal.kernel.portlet.PortletContainerUtil.processAction(PortletContainerUtil.java:115)
      	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:377)
      	at com.liferay.portal.action.LayoutAction.doExecute(LayoutAction.java:199)
      	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:91)
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
      	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:173)
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:545)
      	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:522)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:97)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
      	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
      	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
      	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
      	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:161)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:124)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:293)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:243)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:86)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:267)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:169)
      	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:226)
      	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:59)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
      	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:185)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:97)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      	at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
      	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      	at java.lang.Thread.run(Thread.java:695)
      Caused by: com.liferay.portal.kernel.dao.orm.ORMException: {mvccVersion=1, uuid=97cd5c5e-d503-4bae-a33b-68441395700d, userId=10497, companyId=10156, createDate=Mon May 26 08:33:59 GMT 2014, modifiedDate=Mon May 26 08:33:59 GMT 2014, defaultUser=false, contactId=10498, password=AAAAoAAB9AA284O7GWKz90esgDPjbYlHZ3e49mwqN87UBCjA, passwordEncrypted=true, passwordReset=true, passwordModifiedDate=Mon May 26 08:33:59 GMT 2014, digest=2392ead6dd3fdf39cd7fc20798a11299,ac5ac9791ce62d88e0165ccce2ff3ea7,a61f8baf21bf5f018712624f6973814e, reminderQueryQuestion=, reminderQueryAnswer=, graceLoginCount=0, screenName=vili, emailAddress=vilmos.papp@liferay.com, facebookId=0, ldapServerId=-1, openId=, portraitId=0, languageId=en_US, timeZoneId=UTC, greeting=Welcome Vilmos Papp!, comments=, firstName=Vilmos, middleName=, lastName=Papp, jobTitle=, loginDate=null, loginIP=, lastLoginDate=null, lastLoginIP=, lastFailedLoginDate=null, failedLoginAttempts=0, lockout=false, lockoutDate=null, agreedToTermsOfUse=false, emailAddressVerified=false, status=0} is stale in comparison to {mvccVersion=2, uuid=97cd5c5e-d503-4bae-a33b-68441395700d, userId=10497, companyId=10156, createDate=Mon May 26 08:33:59 GMT 2014, modifiedDate=Mon May 26 08:33:59 GMT 2014, defaultUser=false, contactId=10498, password=AAAAoAAB9AA284O7GWKz90esgDPjbYlHZ3e49mwqN87UBCjA, passwordEncrypted=true, passwordReset=true, passwordModifiedDate=Mon May 26 08:33:59 GMT 2014, digest=, reminderQueryQuestion=, reminderQueryAnswer=, graceLoginCount=0, screenName=vili, emailAddress=vilmos.papp@liferay.com, facebookId=0, ldapServerId=-1, openId=, portraitId=0, languageId=en_US, timeZoneId=UTC, greeting=Welcome Vilmos Papp!, comments=, firstName=Vilmos, middleName=, lastName=Papp, jobTitle=, loginDate=null, loginIP=, lastLoginDate=null, lastLoginIP=, lastFailedLoginDate=null, failedLoginAttempts=0, lockout=false, lockoutDate=null, agreedToTermsOfUse=false, emailAddressVerified=false, status=0}
      	at com.liferay.portal.dao.orm.hibernate.ExceptionTranslator.translate(ExceptionTranslator.java:46)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:245)
      	at com.liferay.portal.kernel.dao.orm.ClassLoaderSession.merge(ClassLoaderSession.java:410)
      	at com.liferay.portal.service.persistence.impl.UserPersistenceImpl.updateImpl(UserPersistenceImpl.java:7516)
      	... 141 more
      Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [com.liferay.portal.model.impl.UserImpl#10497]
      	at org.hibernate.event.def.DefaultMergeEventListener.entityIsDetached(DefaultMergeEventListener.java:485)
      	at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:255)
      	at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:84)
      	at org.hibernate.impl.SessionImpl.fireMerge(SessionImpl.java:867)
      	at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:851)
      	at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:855)
      	at com.liferay.portal.dao.orm.hibernate.SessionImpl.merge(SessionImpl.java:242)
      	... 143 more
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mark.jin Mark Jin (Inactive)
              Reporter:
              vilmos.papp Vilmos Papp
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 31 weeks, 1 day ago

                  Packages

                  Version Package
                  7.0.0 M1