diff --git a/core/docs/changelog/WCM-408.change b/core/docs/changelog/WCM-408.change new file mode 100644 index 0000000000..c0d6cad07a --- /dev/null +++ b/core/docs/changelog/WCM-408.change @@ -0,0 +1 @@ +WCM-408: remove fallback logic of teaserText \ No newline at end of file diff --git a/core/src/zeit/content/volume/volume.py b/core/src/zeit/content/volume/volume.py index c09446a0d8..72394fd944 100644 --- a/core/src/zeit/content/volume/volume.py +++ b/core/src/zeit/content/volume/volume.py @@ -78,15 +78,9 @@ def product(self, value): 'volume_note', ) - _old_volume_note = zeit.cms.content.dav.DAVProperty( - zeit.content.volume.interfaces.IVolume['volume_note'], - zeit.cms.interfaces.DOCUMENT_SCHEMA_NS, - 'teaserText', - ) - @property def volume_note(self): - text = self._volume_note or self._old_volume_note + text = self._volume_note if text is None: text = zeit.cms.config.required('zeit.content.volume', 'default-teaser-text') return self.fill_template(text)