Skip to content

log(bug-logs, preflight): marketplace install leaves the module outside "Marketplace modules" in Studio Pro — ledger, issue draft, fix patch, STOP row 27 - #164

Merged
MendixMau merged 1 commit into
masterfrom
bug-logs/marketplace-install-fromappstore
Sep 28, 2026
Merged

MendixMau merged 1 commit into
masterfrom
bug-logs/marketplace-install-fromappstore

Conversation

@MendixMau

Copy link
Copy Markdown
Owner

What changed and why (one paragraph)

A field report on v0.24.0: modules installed by mxcli marketplace install show up in Studio Pro among the app's own modules instead of under "Marketplace modules". Measured cause: the installer stamps 3 of the 5 marketplace identity fields on Projects$ModuleImpl (AppStoreVersionGuid and AppStorePackageIdString stay empty) and --file stamps none, while a Studio Pro install writes all five. This PR records it: a BUG-DRAFT ledger entry plus a fifth trap on the #879 entry (read the SHOW MODULES Source column after every install), a paste-ready upstream issue draft (NOT YET FILED, with the --file --content-id follow-up kept as a separate ask), a fix patch package for upstream main 95091765 (content id threaded into the stamp, all five fields written through one helper that only assigns keys the document already has, 3 unit tests), preflight STOP row 27 (install by content id, never --file, then read the Source column), an upstream-log row, and the CHANGELOG line.

Field evidence

  • Fresh Mendix 11.13.0 probe project, marketplace install --file of a marketplace package: module unit decoded from mprcontents shows FromAppStore false and all four identity strings empty; SHOW MODULES shows no Source.
  • A real project's Studio Pro-installed Encryption 11.1.1 module: all five fields set, AppStoreGuid == AppStoreVersionGuid, AppStorePackageIdString == "1011".
  • Cause read from cmd/mxcli/marketplace/update.go on upstream main 95091765: three set*Field calls, content id never passed down.
  • Patch: CGO_ENABLED=0 go test ./... on main 95091765 → 84 packages ok, 0 FAIL; gofmt and go vet clean.
  • Not proven: Studio Pro regrouping after the fix. It needs a content-id install with the patched binary (Mendix PAT) and a Studio Pro open. The package README's status line says so and lists what to run before sending.

Checklist

  • CHANGELOG line in the same commit
  • bin/check-no-client-data.sh clean (705 tracked files), check-portability clean, check-scripts 95/95 + 20/20
  • Projects referred to descriptively only
  • Upstream issue filed (draft only; file first, then send the PR with closes #<n>)
  • Studio Pro regrouping verified on a real model

🤖 Generated with Claude Code

https://claude.ai/code/session_01VJgWP5vEoAsNsJYqCDMGNw


Generated by Claude Code

…de "Marketplace modules" in Studio Pro — ledger, issue draft, fix patch, STOP row 27

A field report on v0.24.0: modules installed by `mxcli marketplace install`
show up in Studio Pro among the app's own modules. Measured cause: the
installer stamps 3 of the 5 marketplace identity fields on
Projects$ModuleImpl (AppStoreVersionGuid and AppStorePackageIdString stay
empty) and `--file` stamps none, while a Studio Pro install writes all
five. Reference values read from a fresh 11.13.0 probe (--file: FromAppStore
false, four empty strings) and a real project's Studio Pro-installed
Encryption module (all five set).

- bug-logs/mxcli-bugs.md: BUG-DRAFT-marketplace-install-not-grouped-in-studio-pro,
  and a fifth trap on the #879 entry (read the SHOW MODULES Source column).
- bug-logs/pending-github-issues/: paste-ready issue draft, NOT YET FILED,
  with the --file --content-id follow-up ask kept separate.
- bug-logs/submitted-prs/mxcli/2026-09-28-marketplace-install-fromappstore/:
  patch on upstream main 95091765 threading the content id into the stamp
  and writing all five fields (3 unit tests; go test ./... 84 packages ok).
  Status READY, not sent: Studio Pro regrouping not yet proven, needs a PAT
  install with the patched binary and a Studio Pro open.
- skills/learned-mdl-preflight.md: STOP row 27 — install by content id,
  never --file, then read the Source column.
- CHANGELOG.md line.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VJgWP5vEoAsNsJYqCDMGNw
@MendixMau
MendixMau marked this pull request as ready for review September 28, 2026 06:54
@MendixMau
MendixMau merged commit bcb8c4d into master Sep 28, 2026
1 check passed
MendixMau pushed a commit that referenced this pull request Sep 28, 2026
CHANGELOG.md: kept both sides under Unreleased. bug-logs/mxcli-bugs.md and
learned-mdl-preflight.md (STOP row 27) auto-merged; master's new entry is
BUG-DRAFT-*, no collision with BUG-142..154.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Pm41sykqDGcvioGzsY5H2N
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant