Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion LDK/src/org/labkey/ldk/query/DefaultTableCustomizer.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ private void setDetailsUrl(AbstractTableInfo ti)

String keyField = keyFields.get(0);
StringExpression se = ti.getDetailsURL(null, ti.getUserSchema().getContainer());
if (se == null || se.toString().contains("detailsQueryRow"))
// Handle a null source string, which you get when the URL is a AbstractTableInfo.LINK_DISABLER. See issue 39403
if (se == null || se.toString() == null || se.toString().contains("detailsQueryRow"))
{
ti.setDetailsURL(DetailsURL.fromString("/query/recordDetails.view?schemaName=" + schemaName + "&query.queryName=" + queryName + "&keyField=" + keyField + "&key=${" + keyField + "}"));
}
Expand Down