[Zope-CMF] Q. about isConstructionAllowed
seb bacon
seb@jamkit.com
Thu, 4 Oct 2001 14:35:30 +0100
* seb bacon <seb@jamkit.com> [011004 13:48]:
> In the light of the kind of problems which occur when creating new
> content types (see below), I was wondering why exceptions get trapped
> by default in TypesTool._getFactoryMethod? This mostly servers to
> obscure bugs, which is Bad.
OK, further investigation shows that ZopeSecurityPolicy sometimes
raises Unauthorized exceptions, so I'll rephrase my question: is there
any reason why _getFactoryMethod shouldn't read
except Unauthorized:
rather than
except:
?