Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365209

Summary: Teneo - Loading notifications disable
Product: [Modeling] EMF Reporter: Jean-Louis <jeanpereir>
Component: TeneoAssignee: Martin Taal <mtaal>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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