diff --git a/amp/WEB-INF/src/org/digijava/kernel/ampapi/endpoints/reports/ReportsUtil.java b/amp/WEB-INF/src/org/digijava/kernel/ampapi/endpoints/reports/ReportsUtil.java index 65abc241d04..c95bc1685d8 100644 --- a/amp/WEB-INF/src/org/digijava/kernel/ampapi/endpoints/reports/ReportsUtil.java +++ b/amp/WEB-INF/src/org/digijava/kernel/ampapi/endpoints/reports/ReportsUtil.java @@ -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) formParams.get(EPConstants.ADD_MEASURES), - MeasuresVisibility.getConfigurableMeasures(), isCustom); + MeasuresVisibility.getConfigurableMeasures(), false); if (err != null) errors.add(err); // validate the hierarchies