3 Replies Latest reply on Aug 27, 2014 5:03 AM by evolverine

    "Bookmark no longer valid" in DataGrid with ColorPicker itemEditor (weird)

    KristopherWindsor

      Hello all.

       

      I've got two versions of this code: the first one works fine, but the second one crashes with "Error: Bookmark no longer valid" when I click the

      "Append element to dataProvider" button.

      The difference between the two is in the dataProvider XML format (child nodes vs. attributes).

       

      Works:

      var i:XML = <PartyFavor><Gift>Balloons</Gift><Color>255</Color></PartyFavor>;

      http://freefile.kristopherw.us/uploads/kristopherwindsor/paste/20019.txt

       

      Broken:

      var i:XML = <PartyFavor Gift="Balloons" Color="255" />;

      http://freefile.kristopherw.us/uploads/kristopherwindsor/paste/20018.txt

       

      (Of course I am also changing "Color" to "@Color," etc. to work with the attributes.)

       

      Any ideas why using attributes causes it to crash? Am I not allowed to append to a DataGrid's dataProvider?

      The code is modified from this page: http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postI d=14346

       

      Thanks.