Skip to content

Incorrect post-v1.0 version check in the data model generation UIΒ #8943

@igorlukanin

Description

@igorlukanin

Describe the bug
The data model generation UI does not allow to generate the data model in YAML. Apparently, the version check is incorrect as it treats Cube v1.x as something that is not later than v0.31.

To Reproduce
Steps to reproduce the behavior:

  1. Run Cube Core locally
  2. Go to http://localhost:4000
  3. Go to the Data Model tab and click Generate data model
  4. See that the YAML option is greyed out

Expected behavior
The YAML option should be available.

Screenshots
Screenshot 2024-11-11 at 22 36 15

Version:
v1.1.2

Additional context
Reported in Slack: https://cube-js.slack.com/archives/C0442JL3GGP/p1731252967500339

Metadata

Metadata

Labels

bugLEGACY. Use the Bug issue type insteaddata modeling

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions