Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-600

Can't set locality attribute from GUI form if the old or new value is empty

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.10 (Phoebe)
    • 1.10 (Phoebe)
    • None
    • None

    Description

      Can't set locality attribute from GUI if either the original or the new value is empty.

      Modify object (Model): Attempt to get single value from property

      {http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}

      locality with multiple values
      Cause >> Attempt to get single value from property

      {http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}

      locality with multiple values [Less]
      at com.evolveum.midpoint.schema.processor.Property.getValue(Property.java:186)
      at com.evolveum.midpoint.schema.processor.PropertyContainerDefinition.fillPropertiesStatic(PropertyContainerDefinition.java:768)
      at com.evolveum.midpoint.schema.processor.PropertyContainerDefinition.fillProperties(PropertyContainerDefinition.java:721)
      at com.evolveum.midpoint.schema.processor.ObjectDefinition.fillProperties(ObjectDefinition.java:97)
      at com.evolveum.midpoint.schema.processor.ObjectDefinition.convertToObjectType(ObjectDefinition.java:91)
      at com.evolveum.midpoint.schema.processor.MidPointObject.convertToObjectType(MidPointObject.java:110)
      at com.evolveum.midpoint.schema.processor.MidPointObject.getOrParseObjectType(MidPointObject.java:100)
      at com.evolveum.midpoint.model.synchronizer.UserSynchronizer.loadAccountRefs(UserSynchronizer.java:220)
      at com.evolveum.midpoint.model.synchronizer.UserSynchronizer.synchronizeUser(UserSynchronizer.java:101)
      at com.evolveum.midpoint.model.controller.ModelController.modifyObject_aroundBody8(ModelController.java:673)
      at com.evolveum.midpoint.model.controller.ModelController$AjcClosure9.run(ModelController.java:1)
      at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      at com.evolveum.midpoint.util.aspect.MidpointAspect.markSubsystem(MidpointAspect.java:165)
      at com.evolveum.midpoint.util.aspect.MidpointAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_util_aspect_MidpointAspect$com_evolveum_midpoint_util_aspect_MidpointAspect$markSubsystem(MidpointAspect.java:1)
      at com.evolveum.midpoint.util.aspect.MidpointAspect.processModelNdc(MidpointAspect.java:85)
      at com.evolveum.midpoint.model.controller.ModelController.modifyObject(ModelController.java:621)
      at com.evolveum.midpoint.web.model.impl.UserManagerImpl.submit_aroundBody6(UserManagerImpl.java:131)
      at com.evolveum.midpoint.web.model.impl.UserManagerImpl$AjcClosure7.run(UserManagerImpl.java:1)
      at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      at com.evolveum.midpoint.util.aspect.MidpointAspect.markSubsystem(MidpointAspect.java:165)
      at com.evolveum.midpoint.util.aspect.MidpointAspect.ajc$inlineAccessMethod$com_evolveum_midpoint_util_aspect_MidpointAspect$com_evolveum_midpoint_util_aspect_MidpointAspect$markSubsystem(MidpointAspect.java:1)
      at com.evolveum.midpoint.util.aspect.MidpointAspect.processWebNdc(MidpointAspect.java:90)
      at com.evolveum.midpoint.web.model.impl.UserManagerImpl.submit(UserManagerImpl.java:78)
      at com.evolveum.midpoint.web.model.impl.UserManagerImpl.submit(UserManagerImpl.java:1)
      at com.evolveum.midpoint.web.controller.account.UserDetailsController.savePerformed(UserDetailsController.java:250)

      Attachments

        Activity

          People

            semancik Radovan Semancik
            vix Ivan Noris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: