Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on displaying data on dashboard #2120

Open
chonymony opened this issue Apr 22, 2024 · 1 comment
Open

Error on displaying data on dashboard #2120

chonymony opened this issue Apr 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@chonymony
Copy link

chonymony commented Apr 22, 2024

Describe the bug
Dashboard is showing the URI in some properties and missing a property entirely.

To Reproduce
Some of my documents on the document tab show this particular behavior.
Class definition:

{
    "@id": "Producto",
    "@key": {
      "@fields": [
        "nombre"
      ],
      "@type": "Lexical"
    },
    "@metadata": {
      "embedding": {
        "query": "query($id: ID) {\n\tProducto(id: $id) {\n\t\tcantidad \n\t\tdisponible \n\t\tincorporacion \n\t\tnombre \n\t\tprecio \n\t\tpropiedades \n\t\tunidad\n\t}\n}",
        "template": "Nuestro inventario {{disponible \"sí\" true}} {{disponible \"no\" false}} tiene {{cantidad}} {{unidad}} de {{nombre}} disponible a la venta con un precio de {{precio}} pesos. Este producto fue incorporado en {{incorporacion}} con las siguientes características: {{propiedades}}"
      },
      "order_by": [
        "nombre",
        "cantidad",
        "disponible",
        "incorporacion",
        "precio",
        "propiedades",
        "unidad",
        "archivo"
      ]
    },
    "@type": "Class",
    "archivo": {
      "@class": "Archivo",
      "@type": "Optional"
    },
    "cantidad": "xsd:decimal",
    "costo": "xsd:decimal",
    "disponible": "xsd:boolean",
    "incorporacion": "xsd:dateTime",
    "nombre": "xsd:string",
    "precio": "xsd:decimal",
    "propiedades": {
      "@class": "sys:JSON",
      "@type": "Optional"
    },
    "unidad": "xsd:string"
  }

Expected behavior
Show all properties on the list specifically "costo" in the one showed below.

Screenshots
image

Info (please complete the following information):
TerminusCMS

@chonymony chonymony added the bug Something isn't working label Apr 22, 2024
@chonymony
Copy link
Author

Another case:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant