We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1778
    • 659 Posts
    Hi all,
    When I build my new schemas for a component, I used to run the Schema Parsing Script provided with Doodles (corrected with my pathes of course) and all went fine until yesterday where this notice appeared when running the script...

    Notice: Undefined index: version in C:\wamp\www\revo23\core\xpdo\om\xpdogenerator.class.php on line 217
    


    That seems to have no impact on the schema creation (all classes are well generated) ... Anything to do (report bug or anything else)?

    Cheers
      • 22303 MODX Staff
      • 10,725 Posts
      Your schema's model element should have a version attribute with a value of 1.1. The Doodles tutorial likely needs to be updated to reflect version 1.1 of the xPDO schema.

      Could you enter a ticket for the warning? It should assume 1.0 if there is not a version attribute.
        • 1778
        • 659 Posts
        Hi Opengeek
        ticket entered : Bug #7816...
        Do I need to rebuild the schema anyway ?
        Cheers
          • 22303 MODX Staff
          • 10,725 Posts
          Quote from: anso at May 11, 2012, 09:35 AM
          Hi Opengeek
          ticket entered : Bug #7816...
          Do I need to rebuild the schema anyway ?
          Cheers
          I don't believe so, it should be limited to an oversight with the generator. The run-time should still assume 1.0 correctly if no version attribute was specified, but I will confirm...