Publishing or "re-retrieving" an existing dataset version fails. The expected result is an error free publish, perhaps with mutable attribute updates to the dataset.
Publisher client log output:
ription. THREDDS catalog: http://tds.prototype.ucar.edu/thredds/esgcet/7/cmip5.output1.NCAR.CCSM4.historical.day.atmos.day.r1i1p1.v20111121.xml
Overwrite mode: ALWAYS_UPDATE
Completed.
Publishing task description.
java.lang.IllegalStateException: Adding LogicalFiles to a DatasetVersion in PUBLISHED state is not allowed
at sgf.gateway.model.metadata.DatasetVersionStatePublishedImpl.addLogicalFile(DatasetVersionStatePublishedImpl.java:83)
at sgf.gateway.model.metadata.DatasetVersionImpl.addLogicalFile(DatasetVersionImpl.java:233)
at sgf.gateway.metadata.complete.thredds.SingleCatalogPublishingTaskImpl$1.doInTransaction(SingleCatalogPublishingTaskImpl.java:181)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
at sgf.gateway.metadata.complete.thredds.SingleCatalogPublishingTaskImpl.handleExecuteInternal(SingleCatalogPublishingTaskImpl.java:149)
at sgf.gateway.metadata.complete.AbstractPublishingTask.execute(AbstractPublishingTask.java:60)
at sgf.gateway.metadata.complete.service.impl.PublishingOperationExectionServiceImpl$CallableTaskWrapper.call(PublishingOperationExectionServiceImpl.java:80)
at sgf.gateway.metadata.complete.service.impl.PublishingOperationExectionServiceImpl$CallableTaskWrapper.call(PublishingOperationExectionServiceImpl.java:59)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
INFO 2011-11-22 14:11:45,231 Publishing: cmip5.output1.NCAR.CCSM4.historical.day.atmos.day.r2i1p1, parent = ucar.cgd.ccsm4.cmip5.output
INFO 2011-11-22 14:11:45,598 Result: PROCESSING
INFO 2011-11-22 14:11:52,753 Result: SUCCESSFUL
Publisher client log output:
ription. THREDDS catalog: http://tds.prototype.ucar.edu/thredds/esgcet/7/cmip5.output1.NCAR.CCSM4.historical.day.atmos.day.r1i1p1.v20111121.xml
Overwrite mode: ALWAYS_UPDATE
Completed.
Publishing task description.
java.lang.IllegalStateException: Adding LogicalFiles to a DatasetVersion in PUBLISHED state is not allowed
at sgf.gateway.model.metadata.DatasetVersionStatePublishedImpl.addLogicalFile(DatasetVersionStatePublishedImpl.java:83)
at sgf.gateway.model.metadata.DatasetVersionImpl.addLogicalFile(DatasetVersionImpl.java:233)
at sgf.gateway.metadata.complete.thredds.SingleCatalogPublishingTaskImpl$1.doInTransaction(SingleCatalogPublishingTaskImpl.java:181)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
at sgf.gateway.metadata.complete.thredds.SingleCatalogPublishingTaskImpl.handleExecuteInternal(SingleCatalogPublishingTaskImpl.java:149)
at sgf.gateway.metadata.complete.AbstractPublishingTask.execute(AbstractPublishingTask.java:60)
at sgf.gateway.metadata.complete.service.impl.PublishingOperationExectionServiceImpl$CallableTaskWrapper.call(PublishingOperationExectionServiceImpl.java:80)
at sgf.gateway.metadata.complete.service.impl.PublishingOperationExectionServiceImpl$CallableTaskWrapper.call(PublishingOperationExectionServiceImpl.java:59)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
INFO 2011-11-22 14:11:45,231 Publishing: cmip5.output1.NCAR.CCSM4.historical.day.atmos.day.r2i1p1, parent = ucar.cgd.ccsm4.cmip5.output
INFO 2011-11-22 14:11:45,598 Result: PROCESSING
INFO 2011-11-22 14:11:52,753 Result: SUCCESSFUL