Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365209 - Teneo - Loading notifications disable
Summary: Teneo - Loading notifications disable
Status: CLOSED WONTFIX
Alias: None
Product: EMF
Classification: Modeling
Component: Teneo (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Martin Taal CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-30 10:26 EST by Jean-Louis CLA
Modified: 2013-02-18 14:53 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Louis CLA 2011-11-30 10:26:39 EST
Build Identifier: 1.2.0.v201111160433

Whenever a entity is loaded EMF notifications are triggered.

When using Lazy Loading it's not possible to define when it's the entity loaded, hence, not possible to disable and re-enable notifications.

So, when loading data into Entities EMF notifcations should not be triggered

Reproducible: Always

Steps to Reproduce:
1.Define lazy load = true
2.When an entity is loaded
3.Check that EMF notifications are triggered
Comment 1 Martin Taal CLA 2011-12-03 08:58:25 EST
Hi Jean-Louis,
After some more thoughts, an entity which gets loaded normally does not have adapters linked to it yet. But I expect that there is a corner case where the entity has an econtainer/resource or something else already.

So to help me to find this corner case can you provide me a bit more information on the model and the attribute settings you are using?

gr. Martin
Comment 2 Jean-Louis CLA 2011-12-22 10:08:52 EST
(In reply to comment #1)
> Hi Jean-Louis,
> After some more thoughts, an entity which gets loaded normally does not have
> adapters linked to it yet. But I expect that there is a corner case where the
> entity has an econtainer/resource or something else already.
> 
> So to help me to find this corner case can you provide me a bit more
> information on the model and the attribute settings you are using?
> 
> gr. Martin

Hi Martin!

Sorry for this delayed answer, but i was out in vacations.
You are right about that, the problem is that we have a huge old datamodel with many observers and for now we can understand why is causing the triggering when a entity is loaded. We have made a workaround for now to on/off observers each time an entity gets loaded but in terms of performance is not very good. We are continuing investigate that and if we found something i post here.

Many thanks for your attention Martin
Comment 3 Martin Taal CLA 2013-02-18 14:53:54 EST
Please re-open if additional information is available.

gr. Martin