[OS-JIRA] Created: (WOL-461) Entity Modeler: work-a-round for EOF Vertical Inheritance bug

From: Lachlan Deck (JIRA) ("Lachlan)
Date: Tue May 22 2007 - 00:31:15 EDT

  • Next message: Ulrich Köster: "Re: more previews"

    Entity Modeler: work-a-round for EOF Vertical Inheritance bug
    -------------------------------------------------------------

                     Key: WOL-461
                     URL: http://issues.objectstyle.org/jira/browse/WOL-461
                 Project: WOProject/WOLips
              Issue Type: Task
              Components: wolips
        Affects Versions: 2.0.0.* (unreleased please specify)
             Environment: 2.0.0.4043
                Reporter: Lachlan Deck
                Priority: Minor

    I'm 99% certain this is an EOF bug after now having worked on this for too long.

    The work-around at this time that enables EOF to generate the correct sql is to expose the flattened foreign keys in the sub-entity (as a class attribute).

    Vertical inheritance thread: http://lists.apple.com/archives/Webobjects-dev/2007/May/msg00389.html
    Radar bug: 5219252
    work-a-round: http://lists.apple.com/archives/Webobjects-dev/2007/May/msg00410.html

    So, perhaps it'll be worthwhile (until the bug is fixed in EOF) for Entity Modeler, when creating the flattened foreign key(s) to add them to the list of class attributes in the sub-entity. An appropriate validation warning should be produced while the foreign key is a class attribute or indeed if someone unticks it as class attribute.

    Perhaps we need a preference to turn this work-around on or off. When on - do the right thing (even fix the model appropriately with a message "blah blah... really do this?" When off, do the right thing, likewise fixing the model appropriately.

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Tue May 22 2007 - 00:32:16 EDT