From 8d474dd77c01354948a5db3ee135e04af8f97503 Mon Sep 17 00:00:00 2001 From: jprocter Date: Mon, 16 Jan 2006 20:25:49 +0000 Subject: [PATCH] found cyclic dependency problems in schema and in VorbaId mechanism. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@139 be28352e-c001-0410-b1a7-c7978e42abec --- src/org/vamsas/test/simpleclient/VamsasArchive.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/org/vamsas/test/simpleclient/VamsasArchive.java b/src/org/vamsas/test/simpleclient/VamsasArchive.java index df18387..ceae705 100644 --- a/src/org/vamsas/test/simpleclient/VamsasArchive.java +++ b/src/org/vamsas/test/simpleclient/VamsasArchive.java @@ -78,6 +78,10 @@ public class VamsasArchive { log.info("Writing an apdata reference using AppDataStream interface."); apuser.setAppDataChoice(new AppDataChoice()); apuser.getAppDataChoice().setDataReference(appdata_ref); + appdata.addUser(apuser); + // TODO: FIX CYCLIC __ensure+instance_ids + // TODO: FIX schema - User.addUser is unsatisfiable! + apuser.addUser(apuser); ObjectOutputStream apdos = new ObjectOutputStream(va.getAppDataStream(appdata_ref)); apdos.writeObject(appdata_ref); apdos.writeObject(apuser); // some random content -- 1.7.10.2