Skip navigation
ceas_nyc
Currently Being Moderated

Cairngorm Persistence w/ Spicelib & Parsley 2.4

May 5, 2011 2:16 PM

Doesn't look like this is a compatible combination at the moment. Any word on an update for this library?

 

At the moment I've been getting an error saying "ReferenceError: Error #1069: Property _bindings not found..." on my SqlMap.  whenever trying to run a query.

 

 

 
Replies
  • Currently Being Moderated
    May 6, 2011 3:57 AM   in reply to ceas_nyc

    Can you please try the attached SWC?

    Attachments:
     
    |
    Mark as:
  • Currently Being Moderated
    May 6, 2011 12:07 PM   in reply to ceas_nyc

    This might not be related to the migration. I don't see currently how it can be related. Looks more like how the library is used in your scenario. That is potentially a bug in the Persistence lib. Do you have a way to isolate this and file a bug into our JIRA bugbase?

     
    |
    Mark as:
  • Currently Being Moderated
    May 7, 2011 5:09 AM   in reply to ceas_nyc

    I get the same errors, using the samples

     

    using 0.9 I get:

     

    Error #1069: Property _bindingsByDestination not found on com.adobe.cairngorm.persistence.sample.data.PersonSqlMap and there is no default value.

     

    using 0.10 I get :

     

     

    Error #1069: Property _bindingsBeginWithWord not found on com.adobe.cairngorm.persistence.sample.data.PersonSqlMap and there is no default value.

     

    Always at the same place: ObjectUtil.as (l.62)

     

    Any idea ?

     

     

     
    |
    Mark as:
  • Currently Being Moderated
    May 7, 2011 8:45 AM   in reply to ceas_nyc

    Thank you ceas nyc,

     

    This "fix" works for me... Not fully tested too, but I can temporaly let it like this...

     

    I found nothing about this issue here : http://opensource.powerflasher.com/jira/secure/Dashboard.jspa

     
    |
    Mark as:
  • Currently Being Moderated
    May 7, 2011 12:23 PM   in reply to phiphou

    I just heard from Jens Halm (Spicelib) the below

     

    "

    One of the big changes for 2.4 was the support for the faster reflection provided by describeTypeJSON in Flash Players >= 10.1. So if there is a difference it is probably more likely a difference between describeTypeJSON and the old describeType. You can easily find out by running in Player 9 or 10.0 as Spicelib 2.4 falls back to using describeType then.
    "

     

    Regarding where to file this, you can do this direclty in our bugbase at https://bugs.adobe.com/jira/browse/cgm. Just Create Issue > Bug > prefix the title with Persistence and attach i.e. a patch to it if you have one. I know this is a bit of admin for you but it does allow us to manage this more effectively.

     
    |
    Mark as:
  • Currently Being Moderated
    May 8, 2011 3:40 AM   in reply to Alex Uhlmann

    I created this bug in the bugbase following your instructions...but it's my first time in dealing with a bugbase, so I'm not sure my contribution follows the rules of this kind of tools.

     

    https://bugs.adobe.com/jira/browse/CGM-73

     

    Can you please tell me if I did the job correctly ?

     

    Thanks

     
    |
    Mark as:
  • Currently Being Moderated
    May 8, 2011 3:58 AM   in reply to phiphou

    All perfect, thank you!

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 21, 2011 12:47 AM   in reply to ceas_nyc

    This bug has been fixed and should be included with the next release.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 27, 2011 1:11 AM   in reply to promanens

    Thanks,

     

    And for this one :https://bugs.adobe.com/jira/browse/CGM-86 any news ?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 23, 2011 4:51 PM   in reply to promanens

    I was having this exact same problem, with "Property _bindings not found ..." .

     

    I'm today migrating from Flash Builder 4.0 to 4.5, and from Parsley 2.3.1 to 2.4.1. To fix the bindings problem I tried the persitence-0.10.swc, but that tells me my <ResultMap> constructs are unrecognized in my MyProjectSQLMap.mxml file. Specifically "Type was not found or was not a compile-time constant: ResultMap."

    I suspect I was on such an old verison of the Persistence library that I may need to make major changes and reabsorb myself in understanding the persistence library again, which would be unwelcome at this point in my schedule. Or perhaps there is a different explanation for the ResultMap issue?

     

    As an aside, I also went to get the persistence source thru svn, but the svn link is bad.

     

    For this: svn checkout svn://svn.code.sf.net/adobe/cairngorm/code/trunk cairngorm-code

    I get: svn: URL 'svn://svn.code.sf.net/adobe/cairngorm/code/trunk' doesn't exist

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 23, 2011 11:51 PM   in reply to jpravetz2

    I believe Pascal worked on the persistence library recently.

    I don't think it changed dramatically though.

    version 0.10 is indeed the latest that was released.

     

    The latest doc is here.

    http://sourceforge.net/adobe/cairngorm/wiki/HowtoUsetheCairngormPersis tenceLibrary/

     

    svn can be browsed here : http://sourceforge.net/adobe/cairngorm/code/839/tree/cairngorm3/trunk/ libraries/Persistence/

    and the code checked-out from svn from here : http://svn.code.sf.net/adobe/cairngorm/code/cairngorm3/trunk/libraries /Persistence/

     

    Don't hesitate to update our jira bugbase and send us patches if you feel like it.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 24, 2011 3:04 AM   in reply to jpravetz2

    Hello jpravetz2

     

    Yes 0.10 is the latest release for the persistence API. I indeed made a few changes between 0.9 and 0.10 but nothing has changed dramaticaly as François stated. You shouldn't need to "reabsorb yourself to understand the library". It was only a few bug fixes and some minor enhancements.

     

    Maybe you could send me some of your code so I can understand or, even better, reproduce your problem to track down the issue.

     

    For info the persistence API is fully compatible with flex 4.5 and parsley 2.4.1.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 24, 2011 7:20 AM   in reply to promanens

    Thanks François for the corrected svn links. Someone may wish to update the site with the correct information.

     

    Pascal, the ResultMap and Result classes in com.adobe.cairngorm.persistence.api.grammar disappeared between the version of the Persistence library that I originaly used and what is in 0.10. This appears to have been replaced by newer syntax for inserting and updating entries. Looks like its time for me to reabsorb, and the PersistenceTest project looks like it will contain the help I need.

     

    Thanks, Jim

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 24, 2011 7:40 AM   in reply to jpravetz2

    Hello again Nico, please tell me what page of the site would need an update.

    Thanks.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 24, 2011 7:44 AM   in reply to François Le Droff

    François, at

     

    http://sourceforge.net/adobe/cairngorm/code/839/tree/cairngorm3/trunk/ libraries/Persistence/

     

    The read only access svn link is slightly wrong

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 24, 2011 8:02 AM   in reply to jpravetz2

    Thanks Nico, it looks to me like a sourceforge bug, I'll forward it to the GeekNet guys.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 7, 2011 8:55 AM   in reply to François Le Droff

    This post withdrawn pending further investigation

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points