From f87d81625bc23f485d49b4a8f30167740be745ec Mon Sep 17 00:00:00 2001 From: cnathe Date: Mon, 29 Jun 2026 09:45:39 -0500 Subject: [PATCH 1/2] GitHub Issue 1174: Rlabkey test case for handling of bigint in makeDF --- data/lists/rlabkey.lists/AllTypes.tsv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/lists/rlabkey.lists/AllTypes.tsv b/data/lists/rlabkey.lists/AllTypes.tsv index 285adb6707..912f16f7bb 100644 --- a/data/lists/rlabkey.lists/AllTypes.tsv +++ b/data/lists/rlabkey.lists/AllTypes.tsv @@ -1,5 +1,5 @@ DisplayFld TextFld IntFld DoubleFld DateTimeFld BooleanFld LongTextFld AttachmentFld RequiredText RequiredInt Category -Row 1 some text here 99 987.654 2/14/2010 FALSE Could be some very long text I have to fill this out 42 PLAIN +Row 1 some text here 99999999999 987.654 2/14/2010 FALSE Could be some very long text I have to fill this out 42 PLAIN Row 2 Empty Vals FALSE Cannot be empty 55 Row 3 (plain) More plane values -34 98123.45 1/1/1999 FALSE The quick brown fox jumped over the fence. The quick brown fox jumped over the fence. The quick brown fox jumped over the fence. The quick brown fox jumped over the fence. The quick brown fox jumped over the fence. The quick brown fox jumped over the fence. The quick brown fox jumped over the fence. The quick brown fox jumped over the fence. The quick brown fox jumped over the fence. The quick brown fox jumped over the fence. no attachment 88 PLAIN row 4 (the n word) null NULL NA and na 123 44.33 2/20/2002 FALSE lots of words for empty 456 EMPTY From f1c128d95ab54d276211a53ba618d8a7465f322d Mon Sep 17 00:00:00 2001 From: cnathe Date: Mon, 29 Jun 2026 09:45:48 -0500 Subject: [PATCH 2/2] GitHub Issue 1174: Rlabkey test case for handling of bigint in makeDF --- data/api/rlabkey-api-query.xml | 4 ++-- data/lists/rlabkey.lists/lists.xml | 2 +- src/org/labkey/test/tests/RlabkeyTest.java | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/data/api/rlabkey-api-query.xml b/data/api/rlabkey-api-query.xml index 1e3c4339fc..492c6b4504 100644 --- a/data/api/rlabkey-api-query.xml +++ b/data/api/rlabkey-api-query.xml @@ -158,7 +158,7 @@ diff --git a/data/lists/rlabkey.lists/lists.xml b/data/lists/rlabkey.lists/lists.xml index bbdefa5024..e4082f1f58 100644 --- a/data/lists/rlabkey.lists/lists.xml +++ b/data/lists/rlabkey.lists/lists.xml @@ -66,7 +66,7 @@ Text Field - integer + bigint Integer Field diff --git a/src/org/labkey/test/tests/RlabkeyTest.java b/src/org/labkey/test/tests/RlabkeyTest.java index f28bc069ca..e72e462bb2 100644 --- a/src/org/labkey/test/tests/RlabkeyTest.java +++ b/src/org/labkey/test/tests/RlabkeyTest.java @@ -20,6 +20,7 @@ import org.junit.BeforeClass; import org.junit.Test; import org.junit.experimental.categories.Category; +import org.labkey.api.util.FileUtil; import org.labkey.remoteapi.Connection; import org.labkey.remoteapi.reports.SaveCategoriesCommand; import org.labkey.test.BaseWebDriverTest; @@ -239,7 +240,7 @@ public void testRlabkeyWebDavApi() throws Exception WebDavUploadHelper webDav = new WebDavUploadHelper(getProjectName()); // Setup dir to simulate local R environment - File downloadDir = new File(TestFileUtils.getDefaultFileRoot(getProjectName()), "webdav_download"); + File downloadDir = FileUtil.appendName(TestFileUtils.getDefaultFileRoot(getProjectName()), "webdav_download"); webDav.mkDir(downloadDir.getName()); scriptReplacements.put("downloadDir", downloadDir.getAbsolutePath().replaceAll("\\\\", "/")); @@ -253,7 +254,7 @@ public void testRlabkeyWebDavApi() throws Exception webDav.mkDir("remote/writeChecks/deleteMe_empty"); webDav.putRandomAlphanumeric("remote/writeChecks/deleteMe/file.txt"); webDav.putRandomAlphanumeric("remote/writeChecks/deleteMe.txt"); - File remoteDir = new File(downloadDir.getParentFile(), "remote"); + File remoteDir = FileUtil.appendName(downloadDir.getParentFile(), "remote"); scriptReplacements.put("remoteDir", remoteDir.getAbsolutePath().replaceAll("\\\\", "/")); doRLabkeyTest(RLABKEY_API_WEBDAV, scriptReplacements);