Changing the parent Goal type leaves the parent goal's ID in the children

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • None
    • Affects Version/s: 11.13.1
    • Component/s: Strategy - Other

      Issue Summary

      If a user changes the type of a parent Goal to a type where it can no longer be a parent, the child Goals retain and report the former parent goal's ID in the API and Enterprise Insights as their current parent ID.
      This also causes duplicate entries of the child in the OKR tree.

      This is reproducible on Data Center: Yes

      Steps to Reproduce

      1. Create a Goal as the Long Term Strategy type. (Goal A)
      2. Create a Goal as the Core Value type. (Goal B)
      3. Set Goal B as a parent of Goal A.
      4. Change Goal B's type to Long Term Strategy and save.
      5. Perform a GET with the API on Goal A or look at Goal A's Parent ID in Enterprise Insights.
      6. Check the OKR Tree in Strategy Room.

      Expected Results

      Goal A's parent ID is set to '0', identifying it as an orphan in reports.

      Actual Results

      Goal A retain the parent Goal B's ID.
      OKR tree display duplicate entires of Goal A.

      Workaround

      Manually opening each child goal and saving it without selecting a new parent will reset the Parent ID to 0 as expected.

            Assignee:
            Vishnuvardhan Vaidhyanathan (Inactive)
            Reporter:
            Joe Win
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: