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

RS in user import if there is already a duplicate email in the database

    XMLWordPrintable

    Details

      Description

      2015-09-02 08:45:06,844 [ajp-nio2-8011-exec-2] ERROR AssertException - OLAT::ERROR ^%^ N11-E6
      
      Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36 ^%^ **RedScreen** more than one identity found with email::xyz
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_stepslayout</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.components.form.flexible.impl.FormEvent</class&gt;
      			<command>done</command>
      			<tostring>com:done,org.olat.core.gui.components.form.flexible.impl.FormEvent@2f23a1</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.core.gui.control.generic.wizard.StepsMainRunController</controllername>
      		<controllername>org.olat.admin.user.imp.UserImportController</controllername>
      		<controllername>org.olat.admin.UserAdminMainController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      >>> stack of 1.cause::org.olat.core.logging.AssertException: more than one identity found with email::xyz
      -> at org.olat.user.UserManagerImpl.findIdentityByEmail(UserManagerImpl.java:210)
         at org.olat.admin.user.imp.ImportStep00$ImportStepForm00.updateUserProperties(ImportStep00.java:372)
         at org.olat.admin.user.imp.ImportStep00$ImportStepForm00.validateFormLogic(ImportStep00.java:299)
         at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:497)
         at org.olat.core.gui.components.form.flexible.impl.Form.submitAndNext(Form.java:476)
         at org.olat.core.gui.control.generic.wizard.StepsMainRunController.formInnerEvent(StepsMainRunController.java:201)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:408)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
         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)
      >>> stack of 2.cause::java.lang.Exception: assertionstackgenerator
      -> at org.olat.core.logging.AssertException.<init>(AssertException.java:53)
         at org.olat.user.UserManagerImpl.findIdentityByEmail(UserManagerImpl.java:210)
         at org.olat.admin.user.imp.ImportStep00$ImportStepForm00.updateUserProperties(ImportStep00.java:372)
         at org.olat.admin.user.imp.ImportStep00$ImportStepForm00.validateFormLogic(ImportStep00.java:299)
         at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:497)
         at org.olat.core.gui.components.form.flexible.impl.Form.submitAndNext(Form.java:476)
         at org.olat.core.gui.control.generic.wizard.StepsMainRunController.formInnerEvent(StepsMainRunController.java:201)
         at org.olat.core.gui.components.form.flexible.impl.FormBasicController.event(FormBasicController.java:408)
         at org.olat.core.gui.control.DefaultController.dispatchEvent(DefaultController.java:202)
         at org.olat.core.gui.components.AbstractComponent$1.run(AbstractComponent.java:240)
         at org.olat.core.logging.activity.ThreadLocalUserActivityLoggerInstaller.runWithUserActivityLogger(ThreadLocalUserActivityLoggerInstaller.java:108)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Tester:
            Dirk Furrer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 45 minutes
                45m