#9 — Error deleting a SimpleAlias item

by Javier Mansilla last modified Sep 15, 2010 04:21 PM
State Unconfirmed
Version: 2.1.0
Area Functionality
Issue type Patch
Severity Medium
Submitted by Javier Mansilla
Submitted on Jul 23, 2010
Responsible
Target release:
When I tried to delete a just created SimpleAlias object, I got:
AttributeError: _alias_linked object

Doing this change things seems to work fine.
subscribers.py:
48c48
< if not context.getAlias() and getattr(context, '_alias_linked_object',None):
---
> if not context.getAlias() and getattr(context, '_alias_linked_object'):
Steps to reproduce:
Create SimpleAlias
Remove it
Added by Peter Mathis on Sep 15, 2010 04:21 PM
FYI: this is fixed in trunk and plone4_compatibility branch

No responses can be added.