Skip to content

Commit 79c3f50

Browse files
committed
Need UserSchema not DbSchema
1 parent 68677f3 commit 79c3f50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mGAP/src/org/labkey/mgap/columnTransforms/JBrowseSessionTransform.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,8 @@ private void ensureLuceneData(String objectId)
199199
row.put("container", containerId);
200200
row.put("trackJson", getTrackJson(true));
201201

202-
getJsonFiles().getUpdateService().updateRows(getContainerUser().getUser(), getContainerUser().getContainer(), Arrays.asList(row), Arrays.asList(new CaseInsensitiveHashMap<>(Map.of("objectid", objectId))), new BatchValidationException(), null, null);
202+
TableInfo jsonFiles = getJbrowseUserSchema().getTable("jsonfiles");
203+
jsonFiles.getUpdateService().updateRows(getContainerUser().getUser(), getContainerUser().getContainer(), Arrays.asList(row), Arrays.asList(new CaseInsensitiveHashMap<>(Map.of("objectid", objectId))), new BatchValidationException(), null, null);
203204
}
204205
catch (SQLException | QueryUpdateServiceException | BatchValidationException | InvalidKeyException e)
205206
{

0 commit comments

Comments
 (0)