handle "no schema" case
This is especially the case when the source is a (saved) query. Fixes: Report Builder wizard "Finish" button does nothing -> cannot create report through wizard Change-Id: I266772035435a7c623beb0c0f66fc88e6316be8e
This commit is contained in:
@@ -108,8 +108,15 @@ public class CommandName
|
||||
String[] NameList;
|
||||
NameList = new String[0];
|
||||
NameList = JavaTools.ArrayoutofString(_DisplayName, ".");
|
||||
SchemaName = NameList[0];
|
||||
TableName = NameList[1]; // TODO Was ist mit diesem Fall: CatalogSep = "." und CatalogName = PropertyNames.EMPTY_STRING
|
||||
if (NameList.length > 1)
|
||||
{
|
||||
SchemaName = NameList[0];
|
||||
TableName = NameList[1];
|
||||
}
|
||||
else
|
||||
{
|
||||
TableName = _DisplayName;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user