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

Blank screen on launch task screen when several platforms are set up #2007

Open
juanpablo-santos opened this issue Jul 4, 2024 · 0 comments
Assignees
Labels
for/team-attention For team attention
Milestone

Comments

@juanpablo-santos
Copy link

Description:
Going from the list of tasks to any task and then to the launch screen we get this:
image

with the following js error message showing up on console:

ERROR TypeError: l.builderDeploymentProperties.apps[_] is undefined
    populate http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    populate http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    3415/ngOnInit/this.builder$< http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    it http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    it http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    it http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    te http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    nJ http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    it http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    it http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    it http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    Aa http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    te http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    al http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    next http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    _ http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    invokeTask http://XXXXXXXXXXXX/dashboard/polyfills.8016d76663dfb23c.js:1
    onInvokeTask http://XXXXXXXXXXXX/dashboard/main.075ae770a907eece.js:1
    invokeTask http://XXXXXXXXXXXX/dashboard/polyfills.8016d76663dfb23c.js:1
    runTask http://XXXXXXXXXXXX/dashboard/polyfills.8016d76663dfb23c.js:1
    invokeTask http://XXXXXXXXXXXX/dashboard/polyfills.8016d76663dfb23c.js:1
    Z http://XXXXXXXXXXXX/dashboard/polyfills.8016d76663dfb23c.js:1
    N http://XXXXXXXXXXXX/dashboard/polyfills.8016d76663dfb23c.js:1
    B http://XXXXXXXXXXXX/dashboard/polyfills.8016d76663dfb23c.js:1
main.075ae770a907eece.js:1:58415

Release versions:

{
  "versions": {
    "implementation": {
      "name": "spring-cloud-dataflow-server",
      "version": "2.11.2"
    },
    "core": {
      "name": "Spring Cloud Data Flow Core",
      "version": "2.11.2"
    },
    "dashboard": {
      "name": "Spring Cloud Dataflow UI",
      "version": "3.4.2"
    },
    "shell": {
      "name": "Spring Cloud Data Flow Shell",
      "version": "2.11.2",
      "url": "https://repo.maven.apache.org/maven2/org/springframework/cloud/spring-cloud-dataflow-shell/2.11.2/spring-cloud-dataflow-shell-2.11.2.jar"
    }
  },
  "features": {
    "streams": true,
    "tasks": true,
    "schedules": true,
    "monitoringDashboardType": "GRAFANA"
  },
  "runtimeEnvironment": {
    "appDeployer": {
      "deployerImplementationVersion": "2.11.2",
      "deployerName": "Spring Cloud Skipper Server",
      "deployerSpiVersion": "2.11.2",
      "javaVersion": "17.0.9",
      "platformApiVersion": "",
      "platformClientVersion": "",
      "platformHostVersion": "",
      "platformSpecificInfo": {
        "default": "kubernetes"
      },
      "platformType": "Skipper Managed",
      "springBootVersion": "2.7.18",
      "springVersion": "5.3.31"
    },
    "taskLaunchers": [
      {
        "deployerImplementationVersion": "unknown",
        "deployerName": "KubernetesTaskLauncher",
        "deployerSpiVersion": "unknown",
        "javaVersion": "17.0.9",
        "platformApiVersion": "v1",
        "platformClientVersion": "unknown",
        "platformHostVersion": "unknown",
        "platformSpecificInfo": {
          "namespace": "scdf",
          "master-url": "XXXXXXXXXXXXXXXXXX"
        },
        "platformType": "Kubernetes",
        "springBootVersion": "2.7.18",
        "springVersion": "5.3.31"
      },
      {
        "deployerImplementationVersion": "unknown",
        "deployerName": "KubernetesTaskLauncher",
        "deployerSpiVersion": "unknown",
        "javaVersion": "17.0.9",
        "platformApiVersion": "v1",
        "platformClientVersion": "unknown",
        "platformHostVersion": "unknown",
        "platformSpecificInfo": {
          "namespace": "scdf",
          "master-url": "XXXXXXXXXXXXXXXXXX"
        },
        "platformType": "Kubernetes",
        "springBootVersion": "2.7.18",
        "springVersion": "5.3.31"
      },
      {
        "deployerImplementationVersion": "unknown",
        "deployerName": "KubernetesTaskLauncher",
        "deployerSpiVersion": "unknown",
        "javaVersion": "17.0.9",
        "platformApiVersion": "v1",
        "platformClientVersion": "unknown",
        "platformHostVersion": "unknown",
        "platformSpecificInfo": {
          "namespace": "scdf",
          "master-url": "XXXXXXXXXXXXXXXXXX"
        },
        "platformType": "Kubernetes",
        "springBootVersion": "2.7.18",
        "springVersion": "5.3.31"
      },
      {
        "deployerImplementationVersion": "unknown",
        "deployerName": "KubernetesTaskLauncher",
        "deployerSpiVersion": "unknown",
        "javaVersion": "17.0.9",
        "platformApiVersion": "v1",
        "platformClientVersion": "unknown",
        "platformHostVersion": "unknown",
        "platformSpecificInfo": {
          "namespace": "scdf",
          "master-url": "XXXXXXXXXXXXXXXXXX"
        },
        "platformType": "Kubernetes",
        "springBootVersion": "2.7.18",
        "springVersion": "5.3.31"
      }
    ]
  },
  "monitoringDashboardInfo": {
    "url": "https://grafana.sanitas.dom",
    "source": "default-scdf-source",
    "refreshInterval": 15
  },
  "security": {
    "isAuthentication": true,
    "isAuthenticated": true,
    "username": "pmason",
    "roles": [
      "ROLE_CREATE",
      "ROLE_DEPLOY",
      "ROLE_DESTROY",
      "ROLE_MANAGE",
      "ROLE_MODIFY",
      "ROLE_SCHEDULE",
      "ROLE_VIEW"
    ]
  },
  "git": {
    "commit": "86b53e0"
  }
}

Custom apps:
N/A, happens with every task

Steps to reproduce:
Happens if these two conditions are met:

  • there are several platforms defined
  • you get to the launch screen through tasks list -> task -> launch; if you create a task and then go to the launch screen you get the expected screen

Screenshots:
provided above.

Additional context:
Current workaround is to go to the Freetext section, where some predefined properties appear, and then back again to the Builder section, and we have our Builder screen back.

@github-actions github-actions bot added the status/need-triage Team needs to triage and take a first look label Jul 4, 2024
@cppwfs cppwfs transferred this issue from spring-cloud/spring-cloud-dataflow Jul 5, 2024
@cppwfs cppwfs added for/team-attention For team attention and removed status/need-triage Team needs to triage and take a first look labels Jul 5, 2024
@cppwfs cppwfs added this to the 3.4.4 milestone Jul 5, 2024
@onobc onobc modified the milestones: 3.4.4, 3.4.x Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for/team-attention For team attention
Projects
None yet
Development

No branches or pull requests

4 participants