Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22790

Fix LDAP directory on schema with type restriction (email) bis

    XMLWordPrintable

    Details

      Description

      This is due to the fact the LDAPSession.getAttributeValue method does not know email#anonymousType

      org.nuxeo.ecm.directory.DirectoryException: Field type not supported in directories: email#anonymousType LDAPSession.getAttributeValue(String, Object) line: 819	
      LDAPSession.createEntry(Map<String,Object>) line: 206	
      LDAPSession.createEntry(DocumentModel) line: 1104	
      UserManagerWithComputedGroups(UserManagerImpl).createUser(DocumentModel, DocumentModel) line: 1242	
      UserManagerWithComputedGroups(UserManagerImpl).createUser(DocumentModel) line: 814	
      TrialCreatorHelper.createTrialUser(DocumentPart, String) line: 82	
      UserSelfRegistrationComponent$RegistrationValidator.run() line: 401	
      UserSelfRegistrationComponent$RegistrationValidator(UnrestrictedSessionRunner).runUnrestricted() line: 139	
      UserSelfRegistrationComponent.validateRegistration(String, String) line: 500	
      UserSelfRegistrationComponent.validateRegistrationAndSendEmail(String, String, Map<String,Serializable>) line: 515	
      TrialObject.validateTrialFormInternal(String, String) line: 459	
      TrialObject.validateTrialForm(String, String) line: 446	
      

      A similar fix to NXP-21407 must be done.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 - 2 hours
                  2h