Changeset 6235 for main/waeup.sirp/trunk/src/waeup/sirp/browser
- Timestamp:
- 30 May 2011, 00:28:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r6234 r6235 299 299 'in the database') 300 300 return 301 except DuplicationError:302 self.status = Invalid('The userid chosen already exists '303 'in the database')304 return305 301 self.redirect(self.url(self.context)) 306 302 … … 960 956 'in the database') 961 957 return 962 except DuplicationError:963 self.status = Invalid('The name chosen already exists '964 'in the database')965 return966 958 self.redirect(self.url(self.context, u'@@manage')+'#tab-1') 967 959 … … 1101 1093 self.context.addDepartment(department) 1102 1094 except KeyError: 1103 self.status = Invalid('The code chosen already exists '1104 'in the database')1105 return1106 except DuplicationError:1107 1095 self.status = Invalid('The code chosen already exists ' 1108 1096 'in the database') … … 1521 1509 'part of this certificate') 1522 1510 return 1523 except DuplicationError:1524 self.status = Invalid('The chosen course referrer is already '1525 'part of this certificate')1526 return1527 1511 self.redirect(self.url(self.context, u'@@manage')+'#tab-2') 1528 1512
Note: See TracChangeset for help on using the changeset viewer.