Skip to content

Invalid MetadataUrl accepted for OData client without error #427

@retran

Description

@retran

Description

CREATE ODATA CLIENT accepts clearly invalid metadata URLs (like 'not-a-url') without error. It treats any string as a local file path and only warns at runtime.

Steps to Reproduce

./mxcli -p project.mpr -c "CREATE ODATA CLIENT MyModule.BadClient (MetadataUrl: 'not-a-url', TimeoutInSeconds: 30)"

Result: "Created odata client: MyModule.BadClient" — no validation error.

Expected

Error or warning at creation time if the URL is obviously malformed (no scheme, no dots, etc.).

Severity

Low — creates broken configuration silently; only discovered at runtime.

Reproducing test cases

  • integration-test-cases.md § 41.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions