Metadaten Version von Replies wird nicht gegen Destination geprüft
Description of the bug
Beim Erzeugen eines Replies kann die Metadaten-Version derzeit nicht zuverlässig explizit gesetzt bzw. validiert werden.
Current behavior
Aktuell kann ein Reply mit einer Metadaten-Version (z. B. 1.5.0) versendet werden, obwohl die Ziel-Destination nur bis 1.3.0 unterstützt. Eine entsprechende Validierung analog zur Submission fehlt im _SubmissionValidator _für Replies.
Expected behavior
Wird im Reply eine Metadaten-Version gesetzt, die von der Destination nicht unterstützt wird, soll automatisch ein Fallback auf eine unterstützte Version erfolgen – idealerweise auf die höchste kompatible Version innerhalb der angefragten Major-Version.
Beispiel:
- Angefragte Version im Reply: 2.x
- Unterstützte Version(en) der Destination: 1.5.0
Fallback auf die höchste verfügbare Version der Destination und Versand des Replies mit 1.5.0.
Environments:
Java SDK 3.1.0
Checklist:
- Add Severity label
- Add team label
- Related/affected issues/stories/epics linked and explained in the bug issue
- Creation of an automated test
- Bugfix deployed on DEV
- Bugfix tested on DEV
- Bugfix deployed on TEST
- Bugfix tested on TEST (possibly also by the connection project itself)
- Successful fix reported to Team Operations (Teams channel)
- Bugfix deployed on STAGE
- Bugfix tested on STAGE if necessary
- Bugfix deployed on PROD
- Bugfix tested on PROD (possibly also by the connection project itself)
- Final communication by Team Operations if necessary
- Internal documentation was checked and updated if necessary
- External documentation has been checked and updated if necessary
- Updated changelog if necessary
Approach/Solution:
Release version of the artifact:
Edited by Martin Vogel