[OS-JIRA] Created: (WOL-785) Entity Modeler generates invalid qualifier for null values in fetch specification

From: Ralf Schuchardt (JIRA) ("Ralf)
Date: Tue Apr 15 2008 - 09:19:27 EDT

  • Next message: Dmytro Kantala (JIRA): "[OS-JIRA] Created: (WOL-786) WOStats java.lang.ClassCastException: java.util.HashMap"

    Entity Modeler generates invalid qualifier for null values in fetch specification
    ---------------------------------------------------------------------------------

                     Key: WOL-785
                     URL: http://issues.objectstyle.org/jira/browse/WOL-785
                 Project: WOProject/WOLips
              Issue Type: Bug
              Components: wolips
        Affects Versions: WOLips 3.3.2.* (nightly build please specify)
                Reporter: Ralf Schuchardt

    EOModeler allowed the creation of fetch specifications for null values with a construct similar to:
      
    (attrName = nil)

    This resulted in a qualifier like:

    qualifier = {
        class = EOKeyValueQualifier;
        key = attrName;
        selectorName = "isEqualTo:";
        value = {class = EONull; };
    };

    This is not recognized by Entity Modeler. It will instead produce something like:

    qualifier = {
        class = EOKeyComparisonQualifier;
        leftKey = attrName;
        rightKey = null;
        selectorName = isEqualTo;
    }

    which generates an exception at runtime.

    -- 
    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 Apr 15 2008 - 09:20:34 EDT