zopefoundation / zope.configuration

Extensible system for supporting various kinds of configurations
https://zopeconfiguration.readthedocs.io
Other
1 stars 6 forks source link

Backward compatibility error in PythonIdentifier validation regex #48

Open zopyx opened 5 years ago

zopyx commented 5 years ago

See

https://community.plone.org/t/transmogrifier-transmogrifier-registerconfig-with-dotted-name-as-name-parameter/8522

Short version: PythonIdentifier().validate("foo.bar") pass validation in former zope.configuration versions but no longer in the latest release.

jamadden commented 5 years ago

Yes, that's deliberate (https://github.com/zopefoundation/zope.configuration/pull/29). DottedName would be the field to use if you want to allow dots.