Community
Participate
Working Groups
Build Identifier: I20110613-1736 If model has reference that uses feature map and this reference is derived (and transient, volatile), model instances with elements in such references can not be saved to store due to exception. Tested with db (mysql) & db4o store backends. Reproducible: Always Steps to Reproduce: 1. Launch CDO server. 2. From CDO ui open session, add generated package http://agentlab.ru/cdo/tests to registry. 3. Start transaction. 4. Create new resource. 5. Add Library element to resource from package http://agentlab.ru/cdo/tests. 6. Add Writer element to previously created Library element. 7. Try to save resource.
Created attachment 199118 [details] eclipse project with generated test model
Created attachment 199119 [details] used cdo server config
Created attachment 199120 [details] stacktrace
Created attachment 199621 [details] unit test I screwed up in "steps to reproduce", you need to commit transaction after adding Library instance and only then add child items. Wrote unit test for generated and dynamic case. To use generated model use previously attached project.
I mean testcase, not unit test, of cource.
Created attachment 199763 [details] client patch Made some fix, that possibly fixes problem on client, but raises new problem on server. I'll attach stacktrace.
Created attachment 199764 [details] server stacktrace To get this stacktrace simply apply change from patch and do "steps to reproduce". looks like visitor's id not updated in library's delta.
Created attachment 199767 [details] right patch, against svn branch '4.0-maintanence'
Created attachment 200208 [details] patch extended patch to fix server problem. Can somebody review it? Looks like it reveals another problem, I'll attach stack trace.
Created attachment 200209 [details] stack trace for new issue After applying provided patch one can add Writers and Visitors to already stored Library (in terms of provided score model). After saving Library with newly added Writers and Visitors try to add more. You'll get following stack trace. Another glitch: "delete" menu item is inactive for writers and visitors and when trying to delete library with children I got "legacy mode is not enabled" exception, though I'm using native model.
Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master.
We'll try to address open problems in 4.3 (master) first and then port fixes back to 4.2.
Eike, i've run into that problem today, with my .ecore model initially generated from XSD. Do you have any plans to adress it in near feature?
Moving all open bugzillas to 4.5.
Moving all unaddressed bugzillas to 4.6.
We have no plans to support feature maps.