Community
Participate
Working Groups
From Lothar's mail: If I try to use this I get a NPE (see attachment) List<CDOObjectReference> xrefs = cdoView().queryXRefs( Collections.singleton(CDOUtil.getCDOObject(this)), MarketplacePackage.eINSTANCE.getEvent_Templates()); If I don't pass in the EReference, queryXRefs works fine. List<CDOObjectReference> xrefs = cdoView().queryXRefs( Collections.singleton(CDOUtil.getCDOObject(this)));
Created attachment 185828 [details] Patch v1 - for future reference This patch fixes several small bugs in the protocol encoding/decoding of references. And in the usage of the new SubTypes cache.
Added tests: org.eclipse.emf.cdo.tests.XRefTest.testSpecificReferences1() org.eclipse.emf.cdo.tests.XRefTest.testSpecificReferences2()
Committed to HEAD
Available in R20110608-1407