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

Error in processing nonIterativeScripting-Task

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.4.1
    • 4.6, 4.4.3
    • Tasks
    • Active subscription
    • 4.4

    Description

      Behavior

      When executing task with nonIterativeScripting and having specified a search query in order to find several targets for the script to be executed on, the script is only executed on first search result but as many times as the amount of total search results.

       

      Potential source of problem

      In com.evolveum.midpoint.model.impl.scripting.actions.ModifyExecutor:createDelta the oid of the delta is only set if the oid is empty which results in the fact, that all deltas created after that have the same oid.

       

      Example task to reproduce behavior is attached.

      Attachments

        Activity

          People

            sven.lukrafka Sven Lukrafka
            sven.lukrafka Sven Lukrafka
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: