| Summary: | Derived containment references that uses feature maps can't be saved to store | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Nikolay Kasyanov <corrmage> | ||||||||||||||||||||
| Component: | cdo.core | Assignee: | Project Inbox <emf.cdo-inbox> | ||||||||||||||||||||
| Status: | CLOSED WONTFIX | QA Contact: | Eike Stepper <stepper> | ||||||||||||||||||||
| Severity: | major | ||||||||||||||||||||||
| Priority: | P3 | CC: | akafakir | ||||||||||||||||||||
| Version: | 4.6 | ||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||
| Hardware: | PC | ||||||||||||||||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||||||||||||||||
| Whiteboard: | |||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||
|
Description
Nikolay Kasyanov
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. |