Region deletion blocked by legacy Time Tracking 'Holiday Region' data

XMLWordPrintable

    • 1
    • Severity 3 - Minor
    • No
    • None

      Issue Summary

      A Region can not be deleted in Administration → Regions, even when no users are assigned to it. The system reports that relationships to users and/or Flexible Holidays must be removed first, but no such relationships are visible anywhere in the product. The block is caused by leftover data from the Time Tracking module, removed in 10.119.0. Because the Time Tracking screens no longer exist, this data cannot be viewed or cleared through the UI or the public API, so the affected Regions can never be deleted.

      Preconditions:
      An instance that had Time Tracking configured prior to v10.119.0, where users had a holiday region assigned and/or holidays were created and assigned for a Region. Or simulate this data by inserting appropriate data via DB queries.

      Steps to Reproduce

      1. Remove all users from regions (mentioned in the preconditions).
      2. Go to Administration → Regions → Select regions from preconditions and try to delete them.

      Expected Results

      Regions are deleted

      Actual Results

      • Deletion is blocked.
      • “Some of the Regions cannot be deleted. Please remove all relationships to users and/or Flexible Holidays before deleting a Region.” Error message appears.
      • The referenced relationships are leftover Time Tracking data with no corresponding UI, so a user cannot remove them. Deletion via the public API fails as well, for a related reason.

        Workaround

      Currently, there is no known workaround for this behavior.

              Assignee:
              Roman
              Reporter:
              Jorge
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: