Hi,
I have three(related) bugs for the price of one here. They are all regarding the locking mechanism on Connectors. (when the option "Security" is enabled)
We use the security with the most strict option where the users must lock something before they can edit it.
When it comes to Connectors this just plain doesn't work (like it is supposed to)
1. The first bug is regarding the notes of a connector. Steps to reproduce:
- Create a relation between two classes (association,...)
- Relase the lock on the diagram showing the connector
- Doubleclick the connector and notice that the notes are not editable.
- Show the notes window using "View/Notes"
- Notice that you can still edit the notes of the selected Connector although it is supposed to be read-only.
Tss tss EA managing security belongs on the backend, not on the GUI only!
2. This one is about the general principle on locking/unlocking connectors. It seems that the fact whether a connector is locked depends on the the locking status of the diagram from which the properties dialog is opened. Steps to reproduce:
- Create a connector between two classes
- Show the connector on two diagrams
- Unlock diagram1 (to make it read-only)
- Doubleclick the connector on diagram1(read-only) and notice that the details cannot be edited.
- Doubleclick the connector on diagram2(editable) and notice that the details can be edited.
This is just plain stupid. Connectors are real parts of the model and should have their own locking status, not depend on the locking status of the diagram from which they are opened.
3. This one is closely related to bug number 2: When an element is readonly you would expect that you can't change it. This is true for the details of the element itself, its attributes and operations, but not for its connectors. Steps to reproduce:
- Create a class and release the lock making it read-only
- Create a diagram and show the class on this diagram
- Add or remove any type of relation from or to the supposedly read-only element. As long as the diagram you are using to edit the connectors is editable EA will allow all changes to the connectors of an element.
This is really sad. If I put an element read-only this means that I don't want it to change. EA however allows me to add generalizations, associations and whathever effectively changing the element in a big way.
I'll be sending these bugs to Sparx Support.
Geert