[OS-JIRA] Created: (WOL-1130) WODisplayGroup creation in WOComponent Editor does not add entityName in fetchSpecification in woo file

From: Johan Henselmans (JIRA) ("Johan)
Date: Tue Nov 10 2009 - 07:07:59 EST

  • Next message: Kieran Kelleher: ""IOConsole Updater" Error"

    WODisplayGroup creation in WOComponent Editor does not add entityName in fetchSpecification in woo file
    -------------------------------------------------------------------------------------------------------

                     Key: WOL-1130
                     URL: http://issues.objectstyle.org/jira/browse/WOL-1130
                 Project: WOProject/WOLips
              Issue Type: Bug
              Components: WOLips General
        Affects Versions: WOLips 3.5.x
             Environment: OS X 10.5.x, WOLips 3.5.x
                Reporter: Johan Henselmans

    Create a component
    Add a displaygroup,
    select an Enity to display.
    Save.
    Look in woo file. In the part that describe the dataSource, entityName is missing:

    This is what is generated:
                dataSource = {
                    class = EODatabaseDataSource;
                    editingContext = "session.defaultEditingContext";
                    fetchSpecification = {class = EOFetchSpecification; prefetchingRelationshipKeyPaths = (); };
                };
     
    This should be generated:

                dataSource = {
                    class = EODatabaseDataSource;
                    editingContext = "session.defaultEditingContext";
                    fetchSpecification = {class = EOFetchSpecification; entityName = Blog; prefetchingRelationshipKeyPaths = (); };
                };
     
    (In this case the entityName is Blog)

    I also noted, that, when I fixed the woo file by hand, in the reloaded component the Entity field is filled with the entity (Blog), but also Master Entity.

    -- 
    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 Nov 10 2009 - 07:09:17 EST