Skip to content

Commit

Permalink
#12765 Use getId() instead of title_or_id() for displaying which item…
Browse files Browse the repository at this point in the history
…s get deleted, to avoid unicode error
  • Loading branch information
spereverde committed Mar 8, 2012
1 parent 8b2cc47 commit bc052c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Products/CMFPlone/PloneTool.py
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ def deleteObjectsByPaths(self, paths, handle_errors=True, REQUEST=None):
obj = traverse(path)
obj_parent = aq_parent(aq_inner(obj))
obj_parent.manage_delObjects([obj.getId()])
success.append('%s (%s)' % (obj.title_or_id(), path))
success.append('%s (%s)' % (obj.getId(), path))
except ConflictError:
raise
except LinkIntegrityNotificationException:
Expand Down

0 comments on commit bc052c9

Please sign in to comment.