vaadin / starters

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

Problem creating new starter #134

Closed prj closed 1 year ago

prj commented 1 year ago

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

This was the configuration used:

{
  "applicationConfiguration": {
    "projectName": "xxxx",
    "groupId": ".xxx.yyyy.zzzz",
    "vaadinVersion": "v24",
    "codeGeneration": "JAVA",
    "dockerConfiguration": false,
    "kubernetesConfiguration": false,
    "alwaysGenerateBackend": true,
    "javaVersion": 17,
    "access": "PUBLIC",
    "experimentalFeatures": [],
    "git": true,
    "runOnRandomPort": false,
    "database": "MARIADB",
    "generatedProjectId": "f778c3d7-7f1e-4c95-9607-f059c25597ca"
  },
  "theme": {
    "componentStyles": {},
    "variant": "light",
    "styles": "    html {\n      --lumo-border-radius-s: 1px;\n      --lumo-border-radius-m: 2px;\n      --lumo-border-radius-l: 4px;\n\n    }\n"
  },
  "views": [
    {
      "name": "Main",
      "type": "menu-on-top-layout",
      "route": "",
      "entityId": -1,
      "children": [
        {
          "name": "Hello World",
          "type": "hello-world-view",
          "route": "hello",
          "entityId": -1,
          "children": [],
          "generateTestData": false,
          "generateUrlTemplate": false,
          "icon": "globe-solid",
          "id": 1
        },
        {
          "name": "About",
          "type": "empty-view",
          "route": "about",
          "entityId": -1,
          "children": [],
          "generateTestData": false,
          "generateUrlTemplate": false,
          "icon": "file",
          "id": 2,
          "access": "LOGGED_IN"
        }
      ],
      "generateTestData": false,
      "generateUrlTemplate": false,
      "id": 0
    }
  ],
  "entities": [
    {
      "id": 5,
      "name": "User",
      "fields": [
        {
          "name": "id",
          "dataType": "ID",
          "editorType": "vaadin-text-field",
          "fieldType": "Integer",
          "uiType": "Text",
          "validators": [
            "dev.hilla.Nonnull"
          ]
        },
        {
          "name": "username",
          "dataType": "FIRST_NAME",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": [
            "dev.hilla.Nonnull"
          ]
        },
        {
          "name": "name",
          "dataType": "FULL_NAME",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": [
            "dev.hilla.Nonnull"
          ]
        },
        {
          "name": "hashedPassword",
          "dataType": "TWO_WORDS",
          "editorType": "vaadin-text-field",
          "fieldType": "Password",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "roles",
          "dataType": "WORD",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": [
            "dev.hilla.Nonnull"
          ]
        },
        {
          "name": "profilePicture",
          "dataType": "PROFILE_PICTURE_URL",
          "editorType": "vaadin-upload",
          "fieldType": "ImageData",
          "uiType": "Image",
          "validators": [
            "dev.hilla.Nonnull"
          ],
          "uiHints": {
            "gridColumnWidth": "96px",
            "height": "MEDIUM",
            "roundImage": true
          }
        }
      ]
    }
  ]
}
MarcinVaadin commented 1 year ago

"groupId": ".xxx.yyyy.zzzz", - groupId cannot start with a dot.

MarcinVaadin commented 1 year ago

Internal issue created, validations will be added. Thank you for finding a bug!