changeset 10142 | f4a4556f23da |
parent 10016 | 984505da8b89 |
child 10434 | 8e04ab5582d9 |
--- a/web/views/forms.py Sat Jan 03 04:06:06 2015 +0100 +++ b/web/views/forms.py Thu Jan 22 10:43:24 2015 +0100 @@ -400,7 +400,9 @@ # case where this is an embeded creation form try: eid = int(self.cw_extra_kwargs['peid']) - except KeyError: + except (KeyError, ValueError): + # When parent is being created, its eid is not numeric (e.g. 'A') + # hence ValueError. pass else: ltrtype = self.cw_extra_kwargs['rtype']