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;
|
String[] NameList;
|
||||||
NameList = new String[0];
|
NameList = new String[0];
|
||||||
NameList = JavaTools.ArrayoutofString(_DisplayName, ".");
|
NameList = JavaTools.ArrayoutofString(_DisplayName, ".");
|
||||||
|
if (NameList.length > 1)
|
||||||
|
{
|
||||||
SchemaName = NameList[0];
|
SchemaName = NameList[0];
|
||||||
TableName = NameList[1]; // TODO Was ist mit diesem Fall: CatalogSep = "." und CatalogName = PropertyNames.EMPTY_STRING
|
TableName = NameList[1];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
TableName = _DisplayName;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user