Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318663 - [Communication Diagram] Error in the generated code
Summary: [Communication Diagram] Error in the generated code
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: 0.7.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-02 03:37 EDT by Vincent Lorenzo CLA
Modified: 2014-03-12 10:51 EDT (History)
1 user (show)

See Also:


Attachments
The corrected funtion (2.12 KB, text/plain)
2010-07-02 03:40 EDT, Vincent Lorenzo CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Lorenzo CLA 2010-07-02 03:37:31 EDT
There is an error in the generated code in the file UMLDiagramUpdater.
This error stops the compilation of the project. 
It's located in the method List<UMLNodeDescriptor> getInteractionInteractionCompartment_7001SemanticChildren(View view)
Comment 1 Vincent Lorenzo CLA 2010-07-02 03:40:11 EDT
Created attachment 173274 [details]
The corrected funtion

I add the file containing the function. Currently, we correct the function after the generation. 

We have to replace modelElement.getPackagedElements().iterator() by modelElement.getNearestPackage().getPackagedElements().iterator()
Comment 2 Camille Letavernier CLA 2014-03-12 10:51:01 EDT
I close this task