Skip to content

Commit b38a15e

Browse files
committed
Side-step issue when calling BuiltInColumnsCustomizer on locked table
1 parent 4bcf876 commit b38a15e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

LDK/src/org/labkey/ldk/query/BuiltInColumnsCustomizer.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ public void customize(TableInfo table)
3939
}
4040
}
4141

42+
if (table.isLocked())
43+
{
44+
_log.debug("BuildInColumnsCustomizer called on a locked table: " + table.getPublicSchemaName() + " / " + table.getName(), new Exception());
45+
return;
46+
}
47+
4248
table.setDefaultVisibleColumns(null);
4349
}
4450

0 commit comments

Comments
 (0)