From 12f58e2c7ffa6c354f8d49d7d7616439f691e258 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 9 Sep 2026 08:40:04 +0000 Subject: [PATCH] Stamp BUG-114 (and BUG-118 as reproduction 2) FILED as mendixlabs/mxcli#1076 Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01VJgWP5vEoAsNsJYqCDMGNw --- CHANGELOG.md | 1 + bug-logs/mxcli-bugs.md | 2 +- .../bug114-alter-page-replace-rescopes-to-outer-context.md | 2 +- .../bug118-replace-in-gallery-template-drops-binding.md | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index baa5dbd..82a36bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ Kinds: `new` · `fix` · `learn` (a skill/learning) · `process` (rules, templat Credit the person or project that surfaced the change — the credit line is the thank-you. ## 2026-09-09 +- process(bug-logs): BUG-114 filed upstream as mendixlabs/mxcli#1076 with BUG-118 as its second reproduction; both drafts and the ledger header stamped FILED — the toolkit merge queue - fix(bin/doctor.sh): the docker probe is bounded (`MXTK_DOCKER_PROBE_SECS`, default 8 s), announces itself before waiting, and can be skipped (`--no-docker` / `MXTK_DOCTOR_SKIP_DOCKER=1`). With Docker Desktop installed but stopped, `docker info` sat silent for minutes at the end of `init-project.sh` and the whole scaffold read as hung. A daemon that is down now gets the one start command for this platform (`open -a Docker`, the Windows `start` line, `systemctl start docker`) plus the re-run line; `--install` on macOS launches Docker Desktop itself. Fixture `tests/wave2/test-doctor-docker-probe.sh` (13 assertions: hanging, down, up, skipped) — a new builder's onboarding feedback, via Maurits Visser - new(bug-logs): upstream draft for BUG-114 — `pending-github-issues/bug114-alter-page-replace-rescopes-to-outer-context.md`. One issue for the two symptoms of the same `mutator.go` walker defect: `ALTER PAGE REPLACE`/`INSERT` under a selection-driven data view re-scopes the binding to the outer entity (CE1613, invisible to `DESCRIBE PAGE`), and under a flow-sourced gallery template drops it (``, CE0402 — the former BUG-118 draft, now reproduction 2, not filed separately). Cites the exact functions (`findEntityContextInWidgets` → `widgetOwnEntity` → `EntityRef`-only readers) and that `Forms$ListenTargetSource` is written with no `EntityRef` — the toolkit merge queue, from the dashboard-publishing and language-learning conversions diff --git a/bug-logs/mxcli-bugs.md b/bug-logs/mxcli-bugs.md index 413bc89..a850f97 100644 --- a/bug-logs/mxcli-bugs.md +++ b/bug-logs/mxcli-bugs.md @@ -4076,7 +4076,7 @@ trusting either comparison's row count on its own. ## BUG-114: `ALTER PAGE ... REPLACE widget WITH {...}` re-scopes an inherited `ContentParams` reference to the page's OUTER data context — reproduced twice, independently, same project **Severity:** High — silent CE1613 build failure, and the app is DOWN until reverted -**Upstream draft:** `bug-logs/pending-github-issues/bug114-alter-page-replace-rescopes-to-outer-context.md` (2026-09-09; carries BUG-118 as reproduction 2 — file once, not twice) +**Upstream:** FILED — https://github.com/mendixlabs/mxcli/issues/1076 (2026-09-09), from `bug-logs/pending-github-issues/bug114-alter-page-replace-rescopes-to-outer-context.md`; carries BUG-118 as reproduction 2 **Discovered:** 2026-09-01, re-confirmed independently 2026-09-02, both on the same dashboard-publishing migration project **Reproducible:** Yes, twice, on two different widgets on two different pages diff --git a/bug-logs/pending-github-issues/bug114-alter-page-replace-rescopes-to-outer-context.md b/bug-logs/pending-github-issues/bug114-alter-page-replace-rescopes-to-outer-context.md index 3fcff6e..1162bb4 100644 --- a/bug-logs/pending-github-issues/bug114-alter-page-replace-rescopes-to-outer-context.md +++ b/bug-logs/pending-github-issues/bug114-alter-page-replace-rescopes-to-outer-context.md @@ -1,6 +1,6 @@ **Repo:** `mendixlabs/mxcli` **Source:** `bug-logs/mxcli-bugs.md`, `## BUG-114` (discovered 2026-09-01, re-confirmed independently 2026-09-02, dashboard-publishing migration project, Mendix 11.12.1, mxcli v0.20.0) and `## BUG-118` (discovered 2026-08-25, a language-learning app conversion, Mendix 11.13.0, mxcli `39c7d94`) — root cause located in the mxcli source at the 2026-09-07 merge review (`mdl/backend/pagemutator/mutator.go`, HEAD `191a0c9`). One issue for both: same walker, two symptoms. -**Status:** DRAFT — not yet filed. File this one; `bug118-replace-in-gallery-template-drops-binding.md` is folded in below as reproduction 2 and must NOT be filed separately. +**Status:** FILED — https://github.com/mendixlabs/mxcli/issues/1076 (2026-09-09). `bug118-replace-in-gallery-template-drops-binding.md` is folded in below as reproduction 2; do not file it separately. **Suggested labels:** bug, mdl, pages, alter-page, silent-corruption --- diff --git a/bug-logs/pending-github-issues/bug118-replace-in-gallery-template-drops-binding.md b/bug-logs/pending-github-issues/bug118-replace-in-gallery-template-drops-binding.md index c206ce9..8503ebf 100644 --- a/bug-logs/pending-github-issues/bug118-replace-in-gallery-template-drops-binding.md +++ b/bug-logs/pending-github-issues/bug118-replace-in-gallery-template-drops-binding.md @@ -6,7 +6,7 @@ separately. **Source:** `bug-logs/mxcli-bugs.md`, `## BUG-118: ALTER PAGE ... REPLACE targeting a widget nested inside a GALLERY template's child slot drops the new widget's ContentParams/attribute binding` (discovered 2026-08-25, ToeicBuddy-conversion field run) -**Status:** DO NOT FILE SEPARATELY — same defect as BUG-114 (root cause located in `mdl/backend/pagemutator/mutator.go`, merge review 2026-09-07); attach this body as the second reproduction to BUG-114's issue — it is the diagnostic one, because `` is visible in `DESCRIBE PAGE` and the re-scope is not +**Status:** FILED as reproduction 2 of BUG-114's issue — https://github.com/mendixlabs/mxcli/issues/1076 (2026-09-09). DO NOT FILE SEPARATELY — same defect as BUG-114 (root cause located in `mdl/backend/pagemutator/mutator.go`, merge review 2026-09-07); attach this body as the second reproduction to BUG-114's issue — it is the diagnostic one, because `` is visible in `DESCRIBE PAGE` and the re-scope is not **Note:** unlike most entries in this folder, this defect WAS caught by the real `mx check` gate (CE0402), not left silent — filing it anyway because the two mxcli-side checks (`mxcli check --references`, `mxcli exec`) both reported success, so a project relying on those