You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: align role casing and unstick integration roundtrip tests
Addresses the integration-test failures that the fork-sync branch exposed:
- sdk/mpr/writer_security.go: AddModuleRole now overwrites the existing
role's Name/Description when a case-insensitive duplicate is detected.
Mendix rejects case-insensitive duplicate role names (CE0123), so
adopting the caller's casing matches runtime semantics and keeps
subsequent GRANT ACCESS lookups resolvable.
- mdl/executor/cmd_security_write.go: execCreateModuleRole matches the
existing role case-insensitively and propagates a casing change to all
units via UpdateQualifiedNameInAllUnits. Without this, AllowedModuleRoles
references on microflows/pages/published REST services that were
created before the user-declared role ran would be stale (CE1613).
- mdl-examples/doctype-tests/06-rest-client-examples.mdl: capitalize
Status = status in the PetRecord find-or-create block; attribute
references are case-sensitive.
- mdl-examples/doctype-tests/workflow-user-targeting.mdl: replace the
obsolete System.UserGroup with System.WorkflowGroup to match the
Mendix 11.9 workflow metamodel (CE5012).
- mdl/executor/roundtrip_microflow_test.go: compare LOG INFO NODE
expected output case-insensitively. DESCRIBE now emits lowercase
keywords (commit 00b80f3).
- mdl/executor/cmd_odata.go: pick up the gofmt-clean tab indentation
after make lint-go; purely whitespace.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments