Skip to content

Commit

Permalink
BISERVER-7033 - Error when editing a new datasource
Browse files Browse the repository at this point in the history
  • Loading branch information
rfellows committed Feb 20, 2012
1 parent 89c2b1f commit 1ef5954
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -111,7 +111,8 @@ public void onAccept(){
}
boolean doOlap = true;
LogicalModel lModel = model.getLogicalModel(ModelerPerspective.ANALYSIS);
if(lModel.getProperty("MondrianCatalogRef") == null && lModel.getProperty("DUAL_MODELING_SCHEMA") == null){
if(lModel.getProperty("MondrianCatalogRef") == null &&
( lModel.getProperty("DUAL_MODELING_SCHEMA") == null || "false".equals(lModel.getProperty("DUAL_MODELING_SCHEMA")))){
doOlap = false;
}
service.serializeModels(model.getDomain(), model.getModelName(), doOlap, new XulServiceCallback<String>(){
Expand Down

0 comments on commit 1ef5954

Please sign in to comment.