From 44350f28b33fbfbddffe0e6bb665792d82513452 Mon Sep 17 00:00:00 2001 From: rkv Date: Wed, 5 Dec 2012 19:02:11 +0000 Subject: [PATCH] Fix for the bug: versioning of a document with uses relations => crash. --- .../src/org/splat/service/PublicationServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Workspace/Siman-Common/src/org/splat/service/PublicationServiceImpl.java b/Workspace/Siman-Common/src/org/splat/service/PublicationServiceImpl.java index 020cee9..e3a4e66 100644 --- a/Workspace/Siman-Common/src/org/splat/service/PublicationServiceImpl.java +++ b/Workspace/Siman-Common/src/org/splat/service/PublicationServiceImpl.java @@ -284,7 +284,7 @@ public class PublicationServiceImpl implements PublicationService { if (docuses != null) { for (int i = 0; i < docuses.length; i++) { Long index = Long.valueOf(docuses[i].trim()); - Publication used = getPublicationDAO().get(index);// RKV: getPublication(index, steps); + Document used = getDocumentService().selectDocument(index);// RKV: getPublication(index, steps); next.addDependency(used); } } -- 2.39.2