Re: Cross-model relationships and Entity Modeler

From: Pascal Robert (prober..s.ca)
Date: Fri Jul 27 2007 - 11:18:49 EDT

  • Next message: Mike Schrag: "Re: Cross-model relationships and Entity Modeler"

    Le 07-07-27 à 11:02, Chuck Hill a écrit :

    >
    > On Jul 27, 2007, at 4:25 AM, Mike Schrag wrote:
    >
    >>> EOModeler (some versions anyway) had a habit of leaving some
    >>> unsavory things in the plist files. Some of which Entity Modeler
    >>> can't make sense of. That could explain this.
    >> For what it's worth, this should NEVER be true. If it is, I would
    >> like to see the models so I can fix the bug in EM ... We should be
    >> able to open and load any thing EOModeler does.
    >
    > The one I recall was NSdoubleNumber (and no, that capitalization is
    > not a typo) for I think a value type. You can ask Pascal about
    > that one:
    > http://wiki.objectstyle.org/confluence/display/WOL/Migrating+from
    > +XCode+to+WOLips

    True, and it fixed itself by opening the model into EOModeler, when
    saving it back, it changed to NSNumber. I also have a situation
    where some dummy data was inside the plist :

         internalInfo = {
             "_deletedEntityNamesInObjectStore" = (
                 "EXERCICEILLEGAL_REJETS_DOSSIER",
                 12345678901234567890,
                 ED,
                 "EX_CAT_DOC_EX_DOC",
                 "EXERILLEGAL_DOSSIERS_REJETS",
                 "EXERCICEILLEGAL_REJETS",
                 "EXERILLEGAL_DOSSIERS_INFR",
                 "EXERCICEILLEGAL_INFRA"
             );
         };

    ED and 1234567890123456789 are not actually values in the model :-)
    I had to delete those two lines.



    This archive was generated by hypermail 2.0.0 : Fri Jul 27 2007 - 11:19:54 EDT