Skip to content

Commit d3c88ca

Browse files
committed
Merge discvr-24.3 to discvr-24.7
2 parents fa02ce4 + 78a3d40 commit d3c88ca

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

laboratory/src/org/labkey/laboratory/ExtraDataSourcesUserSchema.java

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ public TableInfo createTable(String name, ContainerFilter cf)
5353
{
5454
if (!getContainer().isWorkbook() || source.isImportIntoWorkbooks())
5555
{
56-
// TODO: QueryDefinition.getTable doesn't yet have ContainerFilter option
57-
TableInfo ti = source.getTableInfo(getContainer(), getUser());
56+
TableInfo ti = createWrappedTable(name, source.getTableInfo(getContainer(), getUser()), cf);
5857
new WrappingTableCustomizer().customize(ti);
5958

6059
return ti;
@@ -65,6 +64,14 @@ public TableInfo createTable(String name, ContainerFilter cf)
6564
return null;
6665
}
6766

67+
@Override
68+
protected void afterConstruct(TableInfo info)
69+
{
70+
// No-op to avoid double-adding query metadata. Rely on the source table for this.
71+
// This bug appears in the schema browser in production mode only. If there is a container with any extra data sources present, the table details
72+
// page will asynchronously load an 'Error: null' message, coming from the query analyzer
73+
}
74+
6875
@Override
6976
public DbSchema getDbSchema()
7077
{

0 commit comments

Comments
 (0)