Uploaded image for project: 'Records Management'
  1. Records Management
  2. RM-4247

Changing retention schedule period property does not cause recalculation of "disposition as of" date

    Details

    • Bug Priority:
      Category 3
    • Sprint:
      Nightwing 4 - Owlman, Nightwing 5 - Cluemaster
    • Story Points:
      2

      Description

      I've tested this affects 2.6, but I expect it also affects all previous versions too (e.g. 2.3).

      Steps to reproduce

      1. Create a category with a disposition schedule affecting records with "cut off" immediately and "destroy" 1 year after cut off date.
      2. Create a folder.
      3. Find a record was created yesterday or before (e.g. "declare as record" one of the documents from the sample site).
      4. Complete, file to the folder and cut off the record.
      5. Update the destroy disposition step by changing it from "1 year after cut off" to "1 year after creation".
      6. Wait for there to be no unpublished updates.

      Expected
      7. The "disposition as of" date of the record is updated appropriately.

      Actual
      7. The "disposition as of" date does not change.

      Investigation

      This is due to the logic around checking if updates should be persisted. There is an if statement that looks like:

      if (changedProps.contains(PROP_DISPOSITION_PERIOD))
      

      This should include PROP_DISPOSITON_PERIOD_PROPERTY too.

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  tpage Tom Page
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 1 hour
                    1h
                    Remaining:
                    0m
                    Logged:
                    Time Not Required
                    Not Specified

                      Structure Helper Panel