Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344758 - list of actor references would allow cyclic actor references
Summary: list of actor references would allow cyclic actor references
Status: CLOSED FIXED
Alias: None
Product: eTrice
Classification: Modeling
Component: UserInterface (show other bugs)
Version: 0.1.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: 0.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-04 15:33 EDT by Thomas Jung CLA
Modified: 2011-12-16 02:45 EST (History)
1 user (show)

See Also:
hrr: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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