Commit 489ff9e3 authored by Sebastien Robin's avatar Sebastien Robin

the log was raising error because of getRelativeUrl (no

aq_inner at bt installation time). Use getId instead,
it is enough to identify a tool

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43021 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7eb7dc38
......@@ -89,7 +89,7 @@ class BaseTool (UniqueObject, Folder):
LOG('BaseTool._migrateToPortalTypeClass', WARNING,
"No portal type definition was found for Tool '%s'"
" (class %s, portal_type '%s')"
% (self.getRelativeUrl(), self.__class__.__name__, portal_type))
% (self.getId(), self.__class__.__name__, portal_type))
return
type_class = type_definition.getTypeClass()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment