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

RS if admin try to create a user which email already 2 times used

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.3.6
    • Component/s: None
    • Labels:
      None

      Description

      N1-W1451 ^%^ org.olat.core.gui.exception ^%^
      Mozilla/5.0 (Windows NT 6.1;WOW64; rv:38.0) Gecko/20100101 Firefox/38.0 
      
      ExceptionWindowController<init>: Throwable
      occurred, logging the full stacktrace: ^%^ >>>stack of 1.cause::org.olat.core.logging.AssertException: more than one identity found with institutional-email::xyz
      -> at org.olat.user.UserManagerImpl.findIdentityByEmail(UserManagerImpl.java:218)
         at org.olat.user.propertyhandlers.EmailProperty.isAddressAvailable(EmailProperty.java:182)
         at org.olat.user.propertyhandlers.EmailProperty.isValid(EmailProperty.java:143)
         at org.olat.admin.user.NewUserForm.validateFormLogic(UserCreateController.java:254)
         at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:497)
         at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:472)
         at org.olat.core.gui.components.form.flexible.impl.elements.FormSubmit.dispatchFormRequest(FormSubmit.java:77)
         at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:470)
         at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:298)
         at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:103)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
      >>>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:218)
         at org.olat.user.propertyhandlers.EmailProperty.isAddressAvailable(EmailProperty.java:182)
         at org.olat.user.propertyhandlers.EmailProperty.isValid(EmailProperty.java:143)
         at org.olat.admin.user.NewUserForm.validateFormLogic(UserCreateController.java:254)
         at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:497)
         at org.olat.core.gui.components.form.flexible.impl.Form.submit(Form.java:472)
         at org.olat.core.gui.components.form.flexible.impl.elements.FormSubmit.dispatchFormRequest(FormSubmit.java:77)
         at org.olat.core.gui.components.form.flexible.impl.FormItemImpl.doDispatchFormRequest(FormItemImpl.java:470)
         at org.olat.core.gui.components.form.flexible.impl.Form.evalFormRequest(Form.java:298)
         at org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer.doDispatchRequest(FormWrapperContainer.java:103)
      

        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 - 40 minutes
                40m