Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-136

Modifying the metric value on a previous goal update fails

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Low Low
    • Goals - Metrics
    • None
    • Minor

      Issue Summary

      Cannot modify the value of a metric update on a previous goal update if the metric has since been changed on the goal itself.

      Steps to Reproduce

      1. have a goal with a progress metric attached
      2. post an update, including an update to the metric progress
      3. remove or change the metric attached to the goal itself
      4. edit the last goal update and change the progress value for the metric in that goal update
      5. confirm the update by pressing 'update'

      Expected Results

      Value of the progress in the last goal update is now changed.

      Actual Results

      If the metric has been swapped to another metric:

      The below error is returned by the network request:

      "Exception while fetching data (/editGoalUpdate) : Metric update does not belong to the goal update"

      If the metric has only been removed from the goal:

      no error is returned, and the page behaves as if the update has been successful, but the value of the metric in the previous goal update remains unchanged.

      Workaround

      Change the metric on the goal itself back to the same metric which is in the previous goal update, make the change to the previous goal update, then remove/change the metric and progress back to the new desired one.

          Form Name

            [ATLAS-136] Modifying the metric value on a previous goal update fails

            There are no comments yet on this issue.

              77f75e6570f2 Cecily Shen
              e4ec752162f8 Winston Kint
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated: