Hi Zopistas,

after upgrading Zope (in a debian/Linux system) from 2.1.4 to 2.1.6
the acquisition rules seems to be broken.

As an example supose we have this tree structure

---|- aviso
   |- foo
   |- bar     
      |- X_sql (sql method)

X_sql is a sql method with to parameters: objeto, aviso

here is the template:

INSERT INTO linea_publicacion

when zope renders this template to execute the sql, it renders

INSERT INTO linea_publicacion
  (3,<Folder instance at 8580aa0>)

so it replaces aviso with the folder instance aviso.

Apart of discarding the explicit parameter "aviso", the aviso folder
is not parent of bar so it shoudn't acquire it.

So, who can explain me this??

is that a bug in Zope 2.1.6 ??  Zope 2.1.4 works fine.


Felipe Alvarez Harnecker.  QlSoftware.
Tel. 09.874.60.17  e-mail: [EMAIL PROTECTED]

Potenciado por Ql/Linux  http://www.qlsoft.cl/

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to