diff --git a/Model/src/main/java/org/gusdb/wdk/model/user/StrategyLoader.java b/Model/src/main/java/org/gusdb/wdk/model/user/StrategyLoader.java index 170dfe387..fc9ef37b3 100644 --- a/Model/src/main/java/org/gusdb/wdk/model/user/StrategyLoader.java +++ b/Model/src/main/java/org/gusdb/wdk/model/user/StrategyLoader.java @@ -417,7 +417,7 @@ Map getAllStrategies( UnbuildableStrategyList stratsWithBuildErrors) throws WdkModelException { return getStrategies( prepareSql(FIND_STRATEGIES_SQL.replace(SEARCH_CONDITIONS_MACRO, "")), - malformedStrategies, stratsWithBuildErrors); + false, malformedStrategies, stratsWithBuildErrors); } Map getStrategies(long userId, @@ -425,13 +425,13 @@ Map getStrategies(long userId, UnbuildableStrategyList stratsWithBuildErrors) throws WdkModelException { return getStrategies( prepareSql(FIND_STRATEGIES_SQL.replace(SEARCH_CONDITIONS_MACRO, "and sr." + COLUMN_USER_ID + " = " + userId)), - malformedStrategies, stratsWithBuildErrors); + false, malformedStrategies, stratsWithBuildErrors); } - private Map getStrategies(String searchSql, + private Map getStrategies(String searchSql, boolean propagateBuildErrors, UnbuildableStrategyList malformedStrategies, UnbuildableStrategyList stratsWithBuildErrors) throws WdkModelException { - SearchResult result = doSearch(searchSql); + SearchResult result = doSearch(searchSql, propagateBuildErrors); malformedStrategies.addAll(result.getMalformedStrategies()); stratsWithBuildErrors.addAll(result.getStratsWithBuildErrors()); return toStrategyMap(descModTimeSort(result.getStrategies()));