Description
When using CREATE OR MODIFY on an existing REST client, the success message says "Created rest client: Module.Name" instead of "Modified rest client: Module.Name". It's unclear whether the operation actually performs an upsert or silently creates a duplicate.
Steps to Reproduce
./mxcli -p project.mpr -c "CREATE REST CLIENT MyModule.TestClient (BaseUrl: 'https://example.com')"
./mxcli -p project.mpr -c "CREATE OR MODIFY REST CLIENT MyModule.TestClient (BaseUrl: 'https://changed.com')"
Second command reports "Created" instead of "Modified".
Expected
Message should say "Modified rest client: MyModule.TestClient" when the client already exists.
Severity
Medium — misleading output, possible duplicate creation.
Reproducing test cases
integration-test-cases.md § 31.2 (CREATE OR MODIFY existing)
Description
When using
CREATE OR MODIFYon an existing REST client, the success message says "Created rest client: Module.Name" instead of "Modified rest client: Module.Name". It's unclear whether the operation actually performs an upsert or silently creates a duplicate.Steps to Reproduce
Second command reports "Created" instead of "Modified".
Expected
Message should say "Modified rest client: MyModule.TestClient" when the client already exists.
Severity
Medium — misleading output, possible duplicate creation.
Reproducing test cases
integration-test-cases.md§ 31.2 (CREATE OR MODIFY existing)