vaadin / starters

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

Problem creating new starter #160

Closed levdoc closed 4 months ago

levdoc commented 5 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": "Сервис подготовки экстренных извещений",
    "groupId": "com.levdoc.application",
    "vaadinVersion": "v24",
    "codeGeneration": "JAVA",
    "dockerConfiguration": false,
    "kubernetesConfiguration": false,
    "alwaysGenerateBackend": true,
    "javaVersion": "17",
    "access": "PUBLIC",
    "experimentalFeatures": [],
    "git": false,
    "runOnRandomPort": false,
    "artifactId": "em-app",
    "sizingFeatureEnabled": true,
    "packageManager": "NPM",
    "database": "H2",
    "generatedProjectId": "c99eb38d-d7d4-4079-8adc-9a2ad2c16c17"
  },
  "theme": {
    "componentStyles": {},
    "variant": "light",
    "styles": ""
  },
  "views": [
    {
      "name": "Main",
      "type": "menu-on-left-layout",
      "route": "",
      "entityId": -1,
      "children": [
        {
          "id": 2,
          "name": "Main Page",
          "type": "custom-view",
          "route": "my-view",
          "icon": "pencil-ruler-solid",
          "entityId": 1,
          "children": [],
          "generateTestData": true,
          "generateUrlTemplate": false,
          "componentModel": {
            "type": "layout-column",
            "parameters": {
              "gap": "m",
              "padding": "m"
            },
            "sizingParams": {
              "width": {
                "mode": "fill",
                "styles": {
                  "width": "100%"
                }
              },
              "height": {
                "mode": "fill",
                "styles": {
                  "flex-grow": "1"
                }
              }
            },
            "children": [
              {
                "parameters": {
                  "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
                },
                "type": "text-small",
                "sizingParams": {
                  "width": {
                    "mode": "fill",
                    "styles": {
                      "width": "100%"
                    }
                  },
                  "height": {
                    "mode": "hug",
                    "styles": {}
                  }
                }
              }
            ]
          }
        },
        {
          "id": 1,
          "name": "Create Em Packet",
          "type": "custom-view",
          "route": "create-em-packet",
          "icon": "address-card-solid",
          "entityId": 1,
          "children": [],
          "generateTestData": true,
          "generateUrlTemplate": false,
          "componentModel": {
            "type": "layout-column",
            "parameters": {
              "gap": "m",
              "padding": "m"
            },
            "sizingParams": {
              "width": {
                "mode": "fill",
                "styles": {
                  "width": "100%"
                }
              },
              "height": {
                "mode": "fill",
                "styles": {
                  "flex-grow": "1"
                }
              }
            },
            "children": [
              {
                "parameters": {
                  "label": "Text field",
                  "parentLayoutType": "layout-column"
                },
                "type": "text-field",
                "sizingParams": {
                  "width": {
                    "mode": "hug",
                    "styles": {
                      "width": "min-content"
                    }
                  },
                  "height": {
                    "mode": "hug",
                    "styles": {}
                  }
                }
              },
              {
                "parameters": {
                  "label": "Text field"
                },
                "type": "text-field",
                "sizingParams": {
                  "width": {
                    "mode": "hug",
                    "styles": {
                      "width": "min-content"
                    }
                  },
                  "height": {
                    "mode": "hug",
                    "styles": {}
                  }
                }
              },
              {
                "parameters": {
                  "parentLayoutType": "layout-column"
                },
                "type": "form-layout-3-col",
                "sizingParams": {
                  "width": {
                    "mode": "fill",
                    "styles": {
                      "width": "100%"
                    }
                  },
                  "height": {
                    "mode": "hug",
                    "styles": {}
                  }
                },
                "children": [
                  {
                    "parameters": {
                      "text": "Button",
                      "parentLayoutType": "layout-column"
                    },
                    "type": "button-primary",
                    "sizingParams": {
                      "width": {
                        "mode": "hug",
                        "styles": {
                          "width": "min-content"
                        }
                      },
                      "height": {
                        "mode": "hug",
                        "styles": {}
                      }
                    }
                  }
                ]
              }
            ]
          }
        },
        {
          "id": 3,
          "name": "Gird of all EM",
          "type": "grid-with-filters-view",
          "route": "grid-with-filters",
          "icon": "filter-solid",
          "entityId": 1,
          "children": [],
          "generateTestData": true,
          "generateUrlTemplate": false
        },
        {
          "id": 4,
          "name": "Gird of all EM2",
          "type": "custom-view",
          "route": "my-view2",
          "icon": "pencil-ruler-solid",
          "entityId": 1,
          "children": [],
          "generateTestData": true,
          "generateUrlTemplate": false,
          "componentModel": {
            "type": "layout-column",
            "parameters": {
              "gap": "m",
              "padding": "m"
            },
            "sizingParams": {
              "width": {
                "mode": "fill",
                "styles": {
                  "width": "100%"
                }
              },
              "height": {
                "mode": "fill",
                "styles": {
                  "flex-grow": "1"
                }
              }
            },
            "children": [
              {
                "parameters": {
                  "parentLayoutType": "layout-column"
                },
                "type": "basic-grid",
                "sizingParams": {
                  "width": {
                    "mode": "fill",
                    "styles": {
                      "width": "100%"
                    }
                  },
                  "height": {
                    "mode": "fill",
                    "styles": {
                      "height": "100%"
                    }
                  }
                }
              }
            ]
          }
        }
      ],
      "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": []
        }
      ]
    }
  ]
}
Artur- commented 4 months ago

The is the same problem as #161