Title | | » | LKSM Export/Import entire folders |
Assigned To | | » | Susan Hert |
Notify | | » | hannahb;Rob Morphew |
Type | | » | Feature Request |
Priority | | » | 3 |
Milestone | | » | 22.07 |
Related | | » | 45348 |
Support Ticket | | » | 45348 |
This is something we'll want to eventually tackle all at once, or maybe just in pieces as we see problems:
I tried a very simple LKSM folder (Sources connected to Samples), and was able to successfully export/import this on the same server (my local).
When I tried to import it into learn.labkey, I received an error:
30 Apr 2022 08:33:55,967 ERROR: LSID template was not fully resolved. 'urn:lsid:${LSIDAuthority}:DataClass.Folder-${Container.RowId}.${XarJobId}:1' was incompletely resolved, as 'XarJobId' could not be resolved
org.labkey.api.pipeline.PipelineJobException: LSID template was not fully resolved. 'urn:lsid:${LSIDAuthority}:DataClass.Folder-${Container.RowId}.${XarJobId}:1' was incompletely resolved, as 'XarJobId' could not be resolved
at org.labkey.pipeline.importer.FolderImportTask.run(FolderImportTask.java:144)
at org.labkey.api.pipeline.PipelineJob.runActiveTask(PipelineJob.java:841)
at org.labkey.api.pipeline.PipelineJob.run(PipelineJob.java:1077)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: org.labkey.api.exp.XarFormatException: LSID template was not fully resolved. 'urn:lsid:${LSIDAuthority}:DataClass.Folder-${Container.RowId}.${XarJobId}:1' was incompletely resolved, as 'XarJobId' could not be resolved
at org.labkey.api.exp.xar.LsidUtils.doReplacements(LsidUtils.java:155)
at org.labkey.api.exp.xar.LsidUtils.resolveStringFromTemplate(LsidUtils.java:125)
at org.labkey.api.exp.xar.LsidUtils.resolveLsidFromTemplate(LsidUtils.java:89)
at org.labkey.api.exp.xar.LsidUtils.resolveLsidFromTemplate(LsidUtils.java:75)
at org.labkey.api.exp.xar.LsidUtils.resolveLsidFromTemplate(LsidUtils.java:189)
at org.labkey.experiment.api.property.PropertyServiceImpl.createDomain(PropertyServiceImpl.java:407)
at org.labkey.experiment.XarReader.loadDomain(XarReader.java:745)
at org.labkey.experiment.XarReader.loadDoc(XarReader.java:384)
at org.labkey.experiment.XarReader.parseAndLoad(XarReader.java:270)
at org.labkey.experiment.XarReader.parseAndLoad(XarReader.java:228)
at org.labkey.experiment.samples.SampleTypeAndDataClassFolderImporter.process(SampleTypeAndDataClassFolderImporter.java:141)
at org.labkey.api.admin.FolderImporterImpl.process(FolderImporterImpl.java:71)
at org.labkey.pipeline.importer.FolderImportTask.run(FolderImportTask.java:113)
... 8 more