diff --git a/CHANGES.rst b/CHANGES.rst index 3476957..0abf37f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,7 +4,8 @@ Changes 3.1.5 (unreleased) ------------------ -- Nothing changed yet. +- Add fake former_dotted_names attribute to do not broke versioning when there are some taxonomies behaviors. + [cekk] 3.1.4 (2024-10-24) diff --git a/src/collective/taxonomy/behavior.py b/src/collective/taxonomy/behavior.py index 4838ecd..613b965 100644 --- a/src/collective/taxonomy/behavior.py +++ b/src/collective/taxonomy/behavior.py @@ -187,6 +187,13 @@ def interface(self): def marker(self): return getattr(generated, self.short_name) + @property + def former_dotted_names(self): + """ + This is needed to not broke versioning + """ + return self.name + def generateInterface(self): logger.debug("generating interface for %s" % self.short_name)