Hello,

One of my client applications has switched from XML to JSON for GET reads
of a number of EOs through ERRest.

I was getting an exception when the JSON response is being written on a
number of those EOs:

'''
ERROR er.extensions.appserver.ERXApplication  - Handling
exception:java.lang.NoSuchMethodException: Property 'cachable' has no
getter method
NoSuchMethodException: Property 'cachable' has no getter method
'''

I started eliminating the ERXKeys in the ERXKeyFilter used in that
particular call to see if a particular key/attribute/relationship was
responsible.

Some of those EOs have joda DateTime attributes using the jodatDateTime
Prototype, and they were the culprits. Well, the problem went away when I
excluded those keys :)

Does/did anyone else have this problem?

I ended up creating a couple of custom ERXKeys for passing those attribute
values as a different java type.

Cheers, and apologies if this is a solved problem.

Matt


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to