Skip to content

Commit

Permalink
AMP-27607 make measures non mandatory for custom reports
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeanquin-dg committed Apr 17, 2018
1 parent 0362783 commit 0305f13
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -634,9 +634,10 @@ public static final JsonBean validateReportConfig(JsonBean formParams,
ColumnsVisibility.getConfigurableColumns(), isCustom);
if (err != null) errors.add(err);

// validate the measures
// validate the measures they are not mandatory anymore since we have
// measureless reports
err = validateList("measures", (List<String>) formParams.get(EPConstants.ADD_MEASURES),
MeasuresVisibility.getConfigurableMeasures(), isCustom);
MeasuresVisibility.getConfigurableMeasures(), false);
if (err != null) errors.add(err);

// validate the hierarchies
Expand Down

0 comments on commit 0305f13

Please sign in to comment.