Skip to content

CREATE EXTERNAL ENTITY accepts non-existent OData client without validation #417

@retran

Description

@retran

Description

CREATE EXTERNAL ENTITY does not validate that the referenced OData client exists. An entity can be created pointing to a non-existent client.

Reproduction

CREATE EXTERNAL ENTITY MyModule.FakeEntity (
  Name: String(200)
) FROM MyModule.NonExistentODataClient ENTITY_SET 'Products';

Expected: Error "OData client not found".
Actual: Entity created successfully with no validation.

Environment

  • mxcli: v0.7.0-257-ga07e7e0

Related

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