Description of problem: See description in bug 1173089 comment 0. While the issue of defaults was fixed (by not adding the annotation automatically), the issue for duplicate position values persists. Data Modeler needs to warn about duplicate position on validation. Version-Release number of selected component (if applicable): 6.1 ER5 Steps to Reproduce: 1. Create a data object C1 with field f1, set Position to 0. Save. 2. Create a data object C2, set the superclass to C1, add field f2, set Position to 0. Save. 3. Validate both data objects. Actual results: Step 3 - no errors. Expected results: Step 3 - Error pop-up warning about duplicate position, validation fails.
When the position calculation, etc., was reviewed, it was determined that in fact the drools engine didn't worked as it was initially specified, etc., and the position auto calculation/assignment was no longer needed. In Fact to have an auto assigned position, etc., was something that confused users. Aditionally, it was stated that the Position is rarely used, and in case it's used, it's something that advanced users use. It's true that it's very welcome to have an alert preventing users from position collisions with parent class, etc., but it's something not easy to solve in a consistent manner. So given the low probability of this scenario to happen in real business application, it was decided to not implement this control for this version.
The above commentaries apply for this versión, the control was not implemented since we don't have a consistent manner to do it and we also had higher priority features to implement.
The suggested check won't be implemented, so I close this BZ as part of the cleaning before moving to JIRA.