From 6e872fbe2e7b79239b639b045f713d759f77c499 Mon Sep 17 00:00:00 2001 From: Alexander Saal Date: Tue, 26 May 2026 21:47:36 +0200 Subject: [PATCH] docs(cronjob): document KAS's mail_address echo / mail_adress request typo in fixtures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The three echo-bearing cronjob response fixtures (add success + warning, update success) now carry a top-of-file XML comment explaining that KAS itself echoes the notification address under "mail_address" (double d) in the KasRequestParams block, while the documented request key — and the one the read/write mapping uses — is "mail_adress" (single d). The mapping never reads the echo, so the captured payload is preserved verbatim instead of being normalised. Closes the last code Nice-to-have from #168. --- CHANGELOG.md | 9 +++++++++ testdata/cronjob/add_cronjob_response_success.xml | 6 ++++++ testdata/cronjob/add_cronjob_response_warning.xml | 6 ++++++ testdata/cronjob/update_cronjob_response_success.xml | 6 ++++++ 4 files changed, 27 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04edd37..fd7b853 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- `testdata/cronjob/{add_cronjob_response_success,add_cronjob_response_warning,update_cronjob_response_success}.xml` + carry a top-of-file XML comment documenting that KAS itself echoes + the notification address under `mail_address` (double d) in the + `KasRequestParams` echo block, while the documented request key is + `mail_adress` (single d). The read/write mapping uses the single-d + key and never reads the echo, so the captured fixtures keep the + typo verbatim instead of being normalised. Closes the last code + Nice-to-have from #168. + - Address the post-write-phase nice-to-have bundle from #168: - `kaswrite.Call` now prefixes the module label onto the wrapped `ErrUnexpectedReturnString` message, so a regression in e.g. diff --git a/testdata/cronjob/add_cronjob_response_success.xml b/testdata/cronjob/add_cronjob_response_success.xml index 31648e8..2bd5a79 100644 --- a/testdata/cronjob/add_cronjob_response_success.xml +++ b/testdata/cronjob/add_cronjob_response_success.xml @@ -1,4 +1,10 @@ + diff --git a/testdata/cronjob/add_cronjob_response_warning.xml b/testdata/cronjob/add_cronjob_response_warning.xml index c155d94..9462623 100644 --- a/testdata/cronjob/add_cronjob_response_warning.xml +++ b/testdata/cronjob/add_cronjob_response_warning.xml @@ -1,4 +1,10 @@ + diff --git a/testdata/cronjob/update_cronjob_response_success.xml b/testdata/cronjob/update_cronjob_response_success.xml index 25c579b..4ef9e89 100644 --- a/testdata/cronjob/update_cronjob_response_success.xml +++ b/testdata/cronjob/update_cronjob_response_success.xml @@ -1,4 +1,10 @@ +