Community
Participate
Working Groups
FactoryImpl.createEditingDomain(ResourceSet) creates a reverse mapping between a ResourceSet and the EditingDomain being created, in the form of a ResourceSetDomainLink. This ResourceSetDomainLink is added as an adapter of the ResourceSet. However, since ResourceSetDomainLink does not implement IEditingDomainProvider, a caller such as ItemPropertyDescriptor.setPropertyValue(...) trying to retrieve the ResourceSet's associated domain by querying the ResourceSet for an adapter for IEditingDomainProvider.class, receives null, even though the ResourceSet does in fact know its EditingDomain. If ResourceSetDomainLink implemented IEditingDomainProvider, the problem would be fixed.
Created attachment 79559 [details] I think this does the trick
What, no JUnit test? :-) Thanks, Ed.
Fix is committed to CVS HEAD (1.2 stream).
Fixed in EMF Transaction 1.2 build I200710031719.
Move to verified as per bug 206558.