Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1486

Don't give up, when single item update fails in "iterateItems" method

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.2-B1
    • Component/s: Data Management
    • Labels:
      None
    • Change Log Group:
      Changed
    • Change Log Message:
      When mass-updating grid records (e.g. during approve) don't stop, when any of the item fails to update.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      Plan

      1. locate iterateItems methods everywhere (I've found 7 of them)
      2. look for a code that prevents redirect (either sets event "status" to erFAIL or event "redirect" to false)
      3. remove it

      As a result when 3 items were selected to be processed and 2nd item Update() failed, then attempt to update 3rd item would still be made.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Erik Snarski [Intechnic]
                Reviewer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: