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

Bug 344758

Summary: list of actor references would allow cyclic actor references
Product: [Modeling] eTrice Reporter: Thomas Jung <tj>
Component: UserInterfaceAssignee: Project Inbox <etrice.userinterface-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: hrr
Version: 0.1.0Flags: hrr: indigo+
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: 0.1.0

Description Thomas Jung CLA 2011-05-04 15:33:25 EDT
How to reproduce:
- create two actor classes
- create a reference in one definition of the other actor class

expected behaviour:
the drop down list of possible actor classes contains valid actors

real behaviour:
the drop down list contains the actor where the reference should be placed in as well. Doing so would create a cyclic actor instanciation.
Comment 1 Henrik Rentz-Reichert CLA 2011-05-10 01:08:26 EDT
resolved with
ba05d89c8197055c6dff8f73a0c01c18c56d173c
Comment 2 Henrik Rentz-Reichert CLA 2011-05-10 01:11:48 EDT
One final comment: in the textual editor we follow the policy 'weak scoping but strict validation' which means that in the proposal list also invalid proposals are made which then are marked invalid with an explanation. This gives the user more feed back than just an (may be) empty list.

In the graphical editor it might be a better way to prevent the user from doing invalid things.
Comment 3 Henrik Rentz-Reichert CLA 2011-12-16 02:45:47 EST
closed resolved bug