Bug 360767 - Resource remove notification is delivered before when whole view invalidation is executed
Summary: Resource remove notification is delivered before when whole view invalidation...
Status: ASSIGNED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.13   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Egidijus Vaisnora CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-13 03:33 EDT by Egidijus Vaisnora CLA
Modified: 2020-12-11 10:46 EST (History)
1 user (show)

See Also:


Attachments
Test case (4.51 KB, patch)
2011-10-13 04:02 EDT, Egidijus Vaisnora CLA
no flags Details | Diff
patch v1 (6.59 KB, patch)
2011-10-13 07:25 EDT, Egidijus Vaisnora CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Egidijus Vaisnora CLA 2011-10-13 03:33:54 EDT
If view has resource and receives invalidation about resource remove on repository, it changes resource state to INVALID and removes from the resource set. However, remove action from the resource set fires EMF event about resource removal, while whole view invalidation is not completed yet. On this event, client code can start to work with not integral model.
Comment 1 Egidijus Vaisnora CLA 2011-10-13 04:02:21 EDT
Created attachment 205099 [details]
Test case
Comment 2 Egidijus Vaisnora CLA 2011-10-13 07:25:48 EDT
Created attachment 205114 [details]
patch v1

Added resource actuall remove during events are fired. Not very nice cast to CDOResourceImp
Comment 3 Eike Stepper CLA 2012-08-14 22:56:24 EDT
Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master.
Comment 4 Eike Stepper CLA 2013-06-29 12:17:50 EDT
We'll try to address open problems in 4.3 (master) first and then port fixes back to 4.2.
Comment 5 Eike Stepper CLA 2015-07-14 02:19:17 EDT
Moving all open bugzillas to 4.5.
Comment 6 Eike Stepper CLA 2016-07-31 01:01:58 EDT
Moving all unaddressed bugzillas to 4.6.
Comment 7 Eike Stepper CLA 2017-12-28 01:20:17 EST
Moving all open bugs to 4.7
Comment 8 Eike Stepper CLA 2019-11-08 02:11:05 EST
Moving all unresolved issues to version 4.8-
Comment 9 Eike Stepper CLA 2019-12-13 12:55:10 EST
Moving all unresolved issues to version 4.9
Comment 10 Eike Stepper CLA 2020-12-11 10:46:34 EST
Moving to 4.13.