You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am running the cubejs/cube:latest docker image against a database.
When I check the Data Model section, I can list the Tables but I can only generate Javascript models. Yaml generation is disabled because I seem to be on an <v1 version. However, the context XHR request returns that i'm on v1.1.2
Something must be wrong when retrieving the data from the context in the Playground app, making it fall back to []?
The affected code is here:
Run a docker-compose using cubejs/cube:latest using any database
Go to 'Data Model' > Tables
Try to generate a YAML data model, it will be disabled
Expected behavior
You can generate YAML data models in a local Cube Playground
Screenshots
Minimally reproducible Cube Schema
N/A
Version:
v1.1.2
Additional context
Not sure if related, but the context also sends telemetry: false and yet I see calls going to segment.io. Maybe the context is just not parsed correctly at all by the React code?
The text was updated successfully, but these errors were encountered:
jessedobbelaere
changed the title
Cube Playground cannot generate YAML data model on latest
Cube Playground cannot generate YAML data model
Feb 19, 2025
Describe the bug
I am running the
cubejs/cube:latest
docker image against a database.When I check the Data Model section, I can list the Tables but I can only generate Javascript models.
Yaml generation is disabled because I seem to be on an <v1 version. However, the context XHR request returns that i'm on v1.1.2
Something must be wrong when retrieving the data from the context in the Playground app, making it fall back to
[]
?The affected code is here:
cube/packages/cubejs-playground/src/pages/Schema/SchemaPage.tsx
Lines 190 to 193 in 37fd273
To Reproduce
Steps to reproduce the behavior:
cubejs/cube:latest
using any databaseExpected behavior
You can generate YAML data models in a local Cube Playground
Screenshots

Minimally reproducible Cube Schema
N/A
Version:
v1.1.2
Additional context
Not sure if related, but the context also sends
telemetry: false
and yet I see calls going to segment.io. Maybe the context is just not parsed correctly at all by the React code?The text was updated successfully, but these errors were encountered: