in

The ORM Foundation

Get the facts!

Fact types being copied to other pages.

Last post Fri, Apr 4 2008 0:02 by Matthew Curland. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • Wed, Mar 26 2008 12:09

    Fact types being copied to other pages.

    If you follow these steps what seems to be happening is all fact types linked to the entity we are working with get copied to the current page. 

     

    1. Create a new orm document.
    2. Drop an entity onto the current page.
    3. Drop a fact type onto the current page.
    4. Link the fact type's role1 box to the entity.
    5. Create another page in the current orm document.
    6. Drop the entity1 object form the model browser onto the new page.
    7. Create a new fact type on the new page.
    8. Link the new fact type's role1 to the entity.
    9. Mark the role1 of the new fact type as manditory (either through the context menu or the properties window)
    10. Mark the role1 of the new fact type as not manidtory.

     

     
    If you look in the upper left of this page there is a new fact type on the diagram that is the same fact type as the one on the original page.  

  • Fri, Apr 4 2008 0:02 In reply to

    Re: Fact types being copied to other pages.

    Thanks for the steps, Matt. I'd fixed a lot of these scenarios and had seen this occasionally without being able to get a repro scenario. Deleting the mandatory constraint adds an implied mandatory constraint across the two facttypes. The constraint add, coupled with the active diagram not having a shape for the the first facttype, was causing the problem. Fixed in changeset 1257. -Matt

Page 1 of 1 (2 items)
© 2008-2024 ------- Terms of Service