I've upgraded from version 2.10.3 to last stable version 2.11.2, but after 
the upgrade, an error is thrown when trying to delete a subset through one 
to many relation.

Consider the example of the book (table "person", and table "thing", each 
thing is owned by one person):
http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#One-to-many-relation

This is the error's traceback:

Traceback (most recent call last):
  File "/home/gonguinguen/medios/gluon/restricted.py", line 227, in restricted
    exec ccode in environment
  File 
"/home/gonguinguen/medios/applications/demo_panel/controllers/contenido.py" 
<http://localhost/admin/edit/demo_panel/controllers/contenido.py>, line 459, in 
<module>
  File "/home/gonguinguen/medios/gluon/globals.py", line 412, in <lambda>
    self._caller = lambda f: f()
  File "/home/gonguinguen/medios/gluon/tools.py", line 3583, in f
    return action(*a, **b)
  File 
"/home/gonguinguen/medios/applications/demo_panel/controllers/contenido.py" 
<http://localhost/admin/edit/demo_panel/controllers/contenido.py>, line 436, in 
_eliminar_borrador
    noticia.galeria_contenido.delete()
  File "/home/gonguinguen/medios/gluon/packages/dal/pydal/helpers/classes.py", 
line 348, in __getattr__
    raise AttributeError
AttributeError


The error disappears downgrading to version 2.10.3.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to