Skip to content

Clear error message on duplicate names of cubes and viewsΒ #9596

@mjvankampen

Description

@mjvankampen

Describe the bug
I'm new to cube and did not know cubes and views could not have the same name. When you make a view with the same name as a cube the error message is not very helpful. I took me a while to figure out this was because of duplicate names.

Unable to load meta data.
Error: Error: Compile errors:
Cannot read properties of undefined (reading '_objectWithResolvedProperties')

To Reproduce
Create a cube and a view with the same name

Expected behavior
Clear error message that there is a duplication

Screenshots
If applicable, add screenshots to help explain your problem.

Minimally reproducible Cube Schema

Version:
1.3.16

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions