On Jun 26, 2007, at 9:19 AM, Diez B. Roggisch wrote:

> On Monday 25 June 2007 18:37, Paulo André wrote:
>> On Jun 25, 2007, at 5:33 PM, Diez B. Roggisch wrote:
>>> The last release of TJ included code for traversal of
>>> InheritableSQLObjects.
>>> It looks as if that is buggy. Could you provide your model-file as
>>> well?
>>
>> Absolutely. Here it is:
>
> <snip/>
>
> I hopefully find time to investigate this tonight, Berlin time :)

I've commented out the following snippet in /Library/Frameworks/ 
Python.framework/Versions/2.4/lib/python2.4/site-packages/ 
TurboJson-1.1-py2.4.egg/turbojson/jsonify.py and it now works, at  
least for my app, but obviously I don't trust this solution that much...

         #while cls.sqlmeta.parentClass:
         #    cls = cls.sqlmeta.parentClass
         #    for name in cls.sqlmeta.columns.keys():
         #        if name != 'childName':
         #            result[name] = getattr(obj, name)


P.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to