Refactor Report Updating (OPT-1619)

[OPT-1825] Make sure to update configuration when combined report is updated transitively Created: 17/Jan/19  Updated: 18/Apr/19  Resolved: 24/Jan/19

Status: Done
Project: Camunda Optimize
Component/s: backend
Affects Version/s: None
Fix Version/s: 2.4.0, 2.4.0-alpha1

Type: Sub-task Priority: L3 - Default
Reporter: Sebastian Stamm Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

We need to pay attention to the following scenario:

  • Have a combined report with report A, B and C
  • Delete report B and confirm the deletion (which will also remove report B from the combined report)

Then:

  • The configuration field of the combined report has to be adjusted in the following way:
    • The second item of the reportColors array has to be removed

This also affects other operations which transitively cause a report to be removed from a combined report.



 Comments   
Comment by Johannes Heinemann [ 23/Jan/19 ]

Sebastian Stamm, FYI: I decided to fix this issue already before the refactoring we talked about. This issue turned out to be pretty easy anyway.

Generated at Mon Aug 26 12:02:32 CEST 2019 using JIRA 6.4.6#64021-sha1:33e5b454af4594f54560ac233c30a6e00459507e.