[Zope-dev] TinyTable object type is Shared.DC.ZRDB.Results.Results???

Itai Tavor itavor@bigpond.net.au
Tue, 7 Mar 2000 12:21:48 +1100


Hi,

I create a TinyTable object. Then I run the following code:

     <dtml-in "objectItems('TinyTable')">
       <dtml-var sequence-item fmt=html-quote><BR>
     </dtml-in>

I get this:

     <Shared.DC.ZRDB.Results.Results instance at 8628c78>

Welcome to the Twilight Zone. What's happening here? This really gets 
in the way when I try to access the TinyTable object from a ZCatalog 
search:

     <dtml-in Catalog>
       <dtml-with "Catalog.getobject(data_record_id_)">
         <IMG SRC="<dtml-var icon>"> <dtml-var id>
       </dtml-with>
     </dtml-in>

This displays the correct icon and id for all objects other than 
TinyTable. For TinyTable this displays the Catalog icon, and the 
<dtml-var id> returns Unauthorized, even for Manager.

Any ideas?

Itai
--
Itai Tavor                      -- "Je sautille, donc je suis."    --
itavor@vic.bigpond.net.au       --               - Kermit the Frog --
-- "What he needs now is understanding... and a confederate victory" --
-- Dr. Jacobi, Twin Peaks         --