vaadin / starters

Issue repository for all the starter projects in https://vaadin.com/start
3 stars 0 forks source link

Problem creating new starter #144

Closed montaniaRoja closed 9 months ago

montaniaRoja commented 10 months ago

I was unable to download my application from start.vaadin.com.

This was the configuration used:

Please paste configuration here. It was automatically added to your clipboard.
{
  "applicationConfiguration": {
    "projectName": "Registrar Alumnos",
    "groupId": "uno.acape106.java",
    "vaadinVersion": "v24",
    "codeGeneration": "JAVA",
    "dockerConfiguration": false,
    "kubernetesConfiguration": false,
    "alwaysGenerateBackend": false,
    "javaVersion": "17",
    "access": "PUBLIC",
    "experimentalFeatures": [],
    "git": true,
    "runOnRandomPort": false,
    "artifactId": "formulario",
    "generatedProjectId": "9a74afc6-bc6b-4641-a527-2b4013068606"
  },
  "theme": {
    "componentStyles": {
      "vaadin-button": [
        "\n:host(:not([theme~=\"tertiary\"])) {\n  background-image: linear-gradient(var(--lumo-tint-5pct), var(--lumo-shade-5pct));\n  box-shadow: inset 0 0 0 1px var(--lumo-contrast-20pct);\n}\n:host(:not([theme~=\"tertiary\"]):not([theme~=\"primary\"]):not([theme~=\"error\"]):not([theme~=\"success\"])) {\n  color: var(--lumo-body-text-color);\n}\n:host([focus-ring]:not([theme~=\"tertiary\"])) {\n  box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct), inset 0 0 0 1px var(--lumo-primary-color);\n}\n:host([focus-ring][theme~=\"primary\"]) {\n  box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct), inset 0 0 0 1px var(--lumo-primary-contrast-color);\n}\n:host([theme~=\"primary\"]) {\n  text-shadow: 0 -1px 0 var(--lumo-shade-20pct);\n}"
      ],
      "vaadin-text-field": [
        "\n[part=\"input-field\"] {\n  box-shadow: inset 0 0 0 1px var(--lumo-contrast-30pct);\n  background-color: var(--lumo-base-color);\n}\n\n:host([focus-ring]) [part=\"input-field\"] {\n  box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct), inset 0 0 0 1px var(--lumo-primary-color);\n}\n\n:host([invalid]) [part=\"input-field\"] {\n  box-shadow: inset 0 0 0 1px var(--lumo-error-color);\n}\n"
      ],
      "vaadin-text-area": [
        "\n[part=\"input-field\"] {\n  box-shadow: inset 0 0 0 1px var(--lumo-contrast-30pct);\n  background-color: var(--lumo-base-color);\n}\n\n:host([focus-ring]) [part=\"input-field\"] {\n  box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct), inset 0 0 0 1px var(--lumo-primary-color);\n}\n\n:host([invalid]) [part=\"input-field\"] {\n  box-shadow: inset 0 0 0 1px var(--lumo-error-color);\n}\n"
      ],
      "vaadin-password-field": [
        "\n[part=\"input-field\"] {\n  box-shadow: inset 0 0 0 1px var(--lumo-contrast-30pct);\n  background-color: var(--lumo-base-color);\n}\n\n:host([focus-ring]) [part=\"input-field\"] {\n  box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct), inset 0 0 0 1px var(--lumo-primary-color);\n}\n\n:host([invalid]) [part=\"input-field\"] {\n  box-shadow: inset 0 0 0 1px var(--lumo-error-color);\n}\n"
      ]
    },
    "variant": "dark",
    "styles": ""
  },
  "views": [
    {
      "name": "Main",
      "type": "menu-on-left-layout",
      "route": "",
      "entityId": -1,
      "children": [
        {
          "name": "Inicio",
          "type": "empty-view",
          "route": "about",
          "entityId": -1,
          "children": [],
          "generateTestData": false,
          "generateUrlTemplate": false,
          "icon": "file",
          "id": 2
        },
        {
          "id": 5,
          "name": "Lista de Alumnos",
          "type": "custom-view",
          "route": "my-view",
          "icon": "bug-solid",
          "entityId": 1,
          "access": "",
          "children": [],
          "generateTestData": true,
          "generateUrlTemplate": false,
          "componentModel": {
            "type": "layout-column",
            "parameters": {
              "mainLength": "100%",
              "crossLength": "100%",
              "gap": "m",
              "padding": "m"
            },
            "children": [
              {
                "type": "layout-row",
                "parameters": {
                  "mainLength": "100%",
                  "crossLength": "100%",
                  "gap": "m"
                },
                "children": [
                  {
                    "type": "layout-column",
                    "parameters": {
                      "mainLength": "100%",
                      "crossLength": "100%",
                      "gap": "m",
                      "padding": "m"
                    },
                    "children": [
                      {
                        "parameters": {},
                        "type": "basic-grid"
                      }
                    ]
                  },
                  {
                    "type": "layout-column",
                    "parameters": {
                      "mainLength": "",
                      "crossLength": "100%",
                      "gap": "m",
                      "padding": "m"
                    },
                    "children": [
                      {
                        "parameters": {
                          "label": "No de Cuenta"
                        },
                        "type": "number-field"
                      },
                      {
                        "parameters": {
                          "label": "Nombre"
                        },
                        "type": "text-field"
                      },
                      {
                        "parameters": {
                          "label": "Apellidos"
                        },
                        "type": "text-field"
                      },
                      {
                        "parameters": {
                          "label": "Correo electronico"
                        },
                        "type": "email-field"
                      },
                      {
                        "parameters": {
                          "label": "Genero"
                        },
                        "items": [
                          {
                            "label": "First",
                            "value": "first"
                          },
                          {
                            "label": "Second",
                            "value": "second"
                          },
                          {
                            "label": "Third",
                            "value": "third",
                            "disabled": true
                          },
                          {
                            "label": "Fourth",
                            "value": "fourth"
                          }
                        ],
                        "type": "combo-box"
                      },
                      {
                        "parameters": {
                          "label": "Fecha Nacimiento"
                        },
                        "type": "date-picker"
                      },
                      {
                        "parameters": {
                          "text": "Salvar"
                        },
                        "type": "button-secondary"
                      }
                    ]
                  }
                ]
              }
            ]
          }
        }
      ],
      "generateTestData": false,
      "generateUrlTemplate": false,
      "id": 0
    }
  ],
  "entities": [
    {
      "id": 1,
      "name": "SamplePerson",
      "fields": [
        {
          "name": "id",
          "dataType": "ID",
          "editorType": "vaadin-text-field",
          "fieldType": "Integer",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "firstName",
          "dataType": "FIRST_NAME",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "lastName",
          "dataType": "LAST_NAME",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "email",
          "dataType": "EMAIL",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": [
            "jakarta.validation.constraints.Email"
          ]
        },
        {
          "name": "phone",
          "dataType": "PHONE_NUMBER",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "dateOfBirth",
          "dataType": "DATE_OF_BIRTH",
          "editorType": "vaadin-date-picker",
          "fieldType": "LocalDate",
          "uiType": "Text",
          "validators": [
            "jakarta.annotation.Nullable"
          ]
        },
        {
          "name": "occupation",
          "dataType": "OCCUPATION",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "role",
          "dataType": "WORK_ROLE",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "important",
          "dataType": "BOOLEAN_10_90",
          "editorType": "vaadin-checkbox",
          "fieldType": "boolean",
          "uiType": "Checkbox",
          "validators": []
        }
      ]
    }
  ]
}
MarcinVaadin commented 9 months ago

Issue assigned for investigation

MarcinVaadin commented 9 months ago

Same issue as in https://github.com/vaadin/starters/issues/157, fix implemented, will be released today.