vaadin / starters

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

Problem creating new starter #155

Closed jcgueriaud1 closed 9 months ago

jcgueriaud1 commented 9 months ago

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

This was the configuration used:

{
  "applicationConfiguration": {
    "projectName": "My App",
    "groupId": "com.example.application",
    "vaadinVersion": "v24.3",
    "codeGeneration": "JAVA",
    "dockerConfiguration": false,
    "kubernetesConfiguration": false,
    "alwaysGenerateBackend": false,
    "javaVersion": 17,
    "access": "PUBLIC",
    "experimentalFeatures": [],
    "git": true,
    "runOnRandomPort": false,
    "artifactId": "my-app",
    "sizingFeatureEnabled": true,
    "generatedProjectId": "71a5c3dd-ae5a-4bab-9cae-922ebc6b792a"
  },
  "theme": {
    "componentStyles": {},
    "variant": "light",
    "styles": ""
  },
  "views": [
    {
      "name": "Main",
      "type": "menu-on-left-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,
          "access": ""
        },
        {
          "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": []
        },
        {
          "name": "username",
          "dataType": "FIRST_NAME",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": []
        },
        {
          "name": "name",
          "dataType": "FULL_NAME",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": []
        },
        {
          "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": []
        },
        {
          "name": "profilePicture",
          "dataType": "PROFILE_PICTURE_URL",
          "editorType": "vaadin-upload",
          "fieldType": "ImageData",
          "uiType": "Image",
          "validators": [],
          "uiHints": {
            "gridColumnWidth": "96px",
            "height": "MEDIUM",
            "roundImage": true
          }
        }
      ]
    }
  ]
}
jcgueriaud1 commented 9 months ago

I think I did this: From a project without security I've updated the about view and set the access to PermitAll.

MarcinVaadin commented 9 months ago

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