Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-6599

Fix NPE in UserSelfRegistrationComponent

    XMLWordPrintable

    Details

      Description

      An NPE is thrown by UserSelfRegistrationComponent:

      com.nuxeo.connect.selfregistration.UserSelfRegistrationComponent$RegistrationValidator.tokenizeStringWithSizedParts(UserSelfRegistrationComponent.java:536) ~[nuxeo-connect-plugin-4.7.2.jar:?]
      	at com.nuxeo.connect.selfregistration.UserSelfRegistrationComponent$RegistrationValidator.passwordContainsPartOfUserInfos(UserSelfRegistrationComponent.java:547) ~[nuxeo-connect-plugin-4.7.2.jar:?]
      	at com.nuxeo.connect.selfregistration.UserSelfRegistrationComponent$RegistrationValidator.run(UserSelfRegistrationComponent.java:563) ~[nuxeo-connect-plugin-4.7.2.jar:?]
      	at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:137) ~[nuxeo-core-api-10.10-HF51.jar:?]
      	at com.nuxeo.connect.selfregistration.UserSelfRegistrationComponent.validateRegistration(UserSelfRegistrationComponent.java:172) ~[nuxeo-connect-plugin-4.7.2.jar:?]
      	at com.nuxeo.connect.selfregistration.UserSelfRegistrationComponent.validateRegistrationAndSendEmail(UserSelfRegistrationComponent.java:194) ~[nuxeo-connect-plugin-4.7.2.jar:?]
      	at com.nuxeo.connect.we.trial.TrialWebObject.validateTrialFormInternal(TrialWebObject.java:429) ~[nuxeo-connect-plugin-we-4.7.2.jar:?]
      

      We should handle the case when the first name and/or last name has not been defined in the first form.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty