Seems like the first element of the list of result objects returned by
sqlGetAllotmentArea doesn't define anything called 'AllotmentArea_ID'.
Could it be a case problem? What datbase/db_adaptor are you using?
It is a case problem, which really surprised me because Interbase is not
case
In my experience, getItem will return None if *anything* goes wrong
with data retieval or object creation. Sometimes you get a traceback in
the STUPID_LOG, and sometimes you don't (and I haven't figured out the
pattern yet). Test everything you can independently, and simplify
everything
On Mon, 19 Mar 2001, Roch'e Compaan wrote:
In all simplicity I still can't get it to work but here's some more info
from the console:
Traceback (innermost last):
File
C:\PROGRA~1\ZOPE230\lib\python\Products\ZPatterns\AttributeProviders.py,
line 335, in _AttributeFor
Hi Roche,
In all simplicity I still can't get it to work but here's some more info
from the console:
Traceback (innermost last):
File
C:\PROGRA~1\ZOPE230\lib\python\Products\ZPatterns\AttributeProviders.py,
line 335, in _AttributeFor
(Object: GAPMixin)
File
On Sat, 17 Mar 2001, Roch'e Compaan wrote:
When I call getItem(existing_id) on the specialist, it returns None.
In my experience, getItem will return None if *anything* goes wrong
with data retieval or object creation. Sometimes you get a traceback in
the STUPID_LOG, and sometimes you don't