[ANALYTICS-175] Error duplicate dashboard dynamic-line throw while switching between dashboards Created: 26/Jun/20  Updated: 04/Aug/20  Resolved: 28/Jul/20

Status: Closed
Project: Analytics
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2

Type: Bug Priority: Neutral
Reporter: Yen Lac Tue Assignee: Oanh Thai Hoang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 3d 3h
Original Estimate: Not Specified

Issue Links:
causality
caused by ANALYTICS-163 Provide a chart type which support dy... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: Analytics UI dashboard
Sprint: Add-Ons 43
Story Points: 5

 Description   

Step to reproduce:

  • Start up the server and access Analytics app at the first time.
  • Select "Dynamic Series" dashboard
  • Switch to another dashboard
Caused by: java.lang.IllegalStateException: Duplicate key DefaultDashboardDefinition(name=dynamic-line, chartDefinitions=[AmChartDefinition(nativeJsonConfig=null, type=null, seriesGeneratorClass=class info.magnolia.analytics.amcharts.data.DynamicSeriesGenerator, transformerClass=class info.magnolia.analytics.amcharts.data.JsonDataTransformer), AmChartDefinition(nativeJsonConfig=null, type=null, seriesGeneratorClass=class info.magnolia.analytics.amcharts.data.DynamicSeriesGenerator, transformerClass=class info.magnolia.analytics.amcharts.data.JsonDataTransformer)], dataSuppliers=null, dimension=null, filterFields=[info.magnolia.ui.field.TextFieldDefinition@4871a7ef], layoutId=null, label=null)

AC: should not throw error when switching between Dynamic Series and other dashboards


Generated at Sun Feb 11 23:16:16 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.