Book a Demo

Author Topic: BUG: PK doesn't override UC  (Read 2055 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
BUG: PK doesn't override UC
« on: October 30, 2007, 11:26:40 pm »
As mentioned in: [size=13]BUG: Column deletion broken[/size] EA, when in Data Modelling mode, enforces relationships between attributes and operations (as it should).

However this functionality is broken!

If a column has a uniqueness constraint and is then declared a solitary primary key column, then the uniqueness constraint MUST be deleted (it isn't in build 818 )!  This is related to the [size=13]BAD: [  ] Unique - totally defective[/size] posting.

It must be deleted because the uniqueness constraint is subsumed within the primary key constraint.

Consistency, Consistency, Consistency! TM

Paolo
[size=10]Using EA in spite of EA, NOT because of it![/size] TM[/color]
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: BUG: PK doesn't override UC
« Reply #1 on: October 31, 2007, 03:57:28 am »
Per my earlier response Paolo, I suspect this is part of a 'cluster' of errors with a common root cause (or a few). Hopefully Sparx can address the root problem and clear a bunch of these up.

[Perhaps in time for 7.1. Even if they have to delay it a bit.]

David
No, you can't have it!