Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333263 - [SIE] Incorrect errors shown in SI editor
Summary: [SIE] Incorrect errors shown in SI editor
Status: ASSIGNED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WTP Incubator (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dimitar Donchev CLA
QA Contact: Dimitar Tenev CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-28 07:49 EST by Dimitar Tenev CLA
Modified: 2021-11-18 16:20 EST (History)
3 users (show)

See Also:


Attachments
WSDL from Nevena's description (2.40 KB, application/zip)
2010-12-28 07:49 EST, Dimitar Tenev CLA
no flags Details
Errors that SIE display on my scenario (47.36 KB, image/gif)
2010-12-28 07:50 EST, Dimitar Tenev CLA
no flags Details
patch: updating needsReconcile method to always return true (623 bytes, patch)
2011-02-21 07:08 EST, Stanislav Nichev CLA
no flags Details | Diff
the described scenario in the bugzilla description as plugin test (4.55 KB, application/octet-stream)
2011-02-21 07:50 EST, Stanislav Nichev CLA
no flags Details
the data file, used by the plugin test. Should be placed in data\pub\csns\NewWSDL.wsdl (2.07 KB, application/octet-stream)
2011-02-21 07:51 EST, Stanislav Nichev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitar Tenev CLA 2010-12-28 07:49:27 EST
Created attachment 185853 [details]
WSDL from Nevena's description

Hello,                                                                   
                                                                         
while testing, I came upon an issue. To reproduce it follow these steps: 
                                                                         
1.open the attached WSDL document and go to the DT tab;                  
2.make the imported schema http://www.example.org/NamespaceImportsXSD    
inline (right click on it-> refactor->make an inline namespace)          
3.go to the http://namespace1 schema -> StructureType3->Attribute2.      
4.change the type of Attribute2 to SimpleType2renamed.                   
=> SIE shows 3 errors.                                                   
                                                                         
Regards,                                                                 
Nevena                                                                   
                                                                         
    Memo                                                                 
    09.11.2010 15:32:14      Stanislav Nichev                            
Issue update:                                                            
                                                                         
The reference element is reconciled during the reconciling. Something    
dettaches it - emf model patch, element changed, smth like this.         
Generally: no patch or elementChanged should be executed after the       
reconcile. In other words - no update of the emf model after reconcile.  
                                                                         
Regards,                                                                 
Stanislav                                                                
                                                                         
    Memo                                                                 
    27.12.2010 15:30:00      Dimitar Tenev                               
Hi Colleagues,                                                           
                                                                         
Here is another scenario, which I guess is for the same issue.           
Scenario:                                                                
1. Create a new WSDL                                                     
2. Goto Data types tab                                                   
3. Add a namespace                                                       
4. Add new global element to it                                          
5. Set new element's type to boolean (from combobox)                     
- After loosing the focus from combobox, there are 2 errors (see the     
attached screenshot.gif), which are not valid, and does not exist after  
close/openning the editor                                                
                                                                         
Best regards,                                                            
Dimitar
Comment 1 Dimitar Tenev CLA 2010-12-28 07:50:12 EST
Created attachment 185854 [details]
Errors that SIE display on my scenario
Comment 2 Stanislav Nichev CLA 2011-02-21 07:08:42 EST
Created attachment 189403 [details]
patch: updating needsReconcile method to always return true

Currently, the ModelReconciler was only started if a known changes were made to the source of the document. 
This "listener" for the changes does not cover all the known cases, so I'm disabling the checks. 
Initially, this method was used for performance optimizations.
Comment 3 Stanislav Nichev CLA 2011-02-21 07:50:46 EST
Created attachment 189406 [details]
the described scenario in the bugzilla description as plugin test
Comment 4 Stanislav Nichev CLA 2011-02-21 07:51:51 EST
Created attachment 189407 [details]
the data file, used by the plugin test. Should be placed in data\pub\csns\NewWSDL.wsdl