- Timestamp:
- 27 Apr 2007, 08:24:42 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Widgets.py
r1573 r1718 229 229 err = 'Invalid Id, Id contains space(s).' 230 230 elif self.portal_catalog(portal_type=portal_type_query,id=value): 231 err = 'An object with the Id %s already exists in the Academic Section.' % (value) 231 brain = self.portal_catalog(portal_type=portal_type_query,id=value)[0] 232 err = 'An %s object with the Id %s already exists at %s'\ 233 % (brain.portal_type,value,brain.getPath()) 232 234 if err: 233 235 datastructure.setError(widget_id, err)
Note: See TracChangeset for help on using the changeset viewer.