• Arnaud Fontaine's avatar
    ZODB Components: Use regex to check whether a class of the same name as the... · 32a7deb4
    Arnaud Fontaine authored
    ZODB Components: Use regex to check whether a class of the same name as the Component reference is defined.
    
    Until now, there was a very basic string check which didn't handle such cases:
      class DocumentReferenceAnything():
        pass
      class DocumentReference():
        pass
    => _message_reference_class_not_defined was incorrectly raised as the first class was considered.
    32a7deb4
DocumentComponent.py 3.38 KB