Closed florianl closed 2 weeks ago
Pinging @elastic/fleet (Team:Fleet)
I have to reopen this issue, as we can still reproduce the problem.
Error: Cannot read properties of null (reading 'pf-elastic-collector')
at https://localhost:5601/60616/bundles/plugin/fleet/kibana/fleet.chunk.0.js:3:120646
at Array.map (<anonymous>)
at https://localhost:5601/60616/bundles/plugin/fleet/kibana/fleet.chunk.0.js:3:120120
at Array.map (<anonymous>)
at N (https://localhost:5601/60616/bundles/plugin/fleet/kibana/fleet.chunk.0.js:3:120097)
at ca (https://localhost:5601/60616/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:398:59210)
at Js (https://localhost:5601/60616/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:398:115077)
at Fu (https://localhost:5601/60616/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:398:99860)
at Ru (https://localhost:5601/60616/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:398:99682)
at Pu (https://localhost:5601/60616/bundles/kbn-ui-shared-deps-npm/kbn-ui-shared-deps-npm.dll.js:398:99515)
This is from a current 8.8.0-SNAPSHOT with kibana on commit e5a9fc30dda7cd48c3505c7f77fc591994e109f0
.
Options I have tested:
policy_templates:
- name: Single Input
title: Single Input
description: Single Input
inputs:
- title: Single Input
description: Single input
type: single_input
elastic-package build
is fine, but it creates the above issue.
policy_templates:
- name: Single Input
title: Single Input
description: Single Input
inputs:
- title: Single Input
description: Single input
type: single_input
vars:
policy_templates:
- name: Single Input
title: Single Input
description: Single Input
inputs:
- title: Single Input
description: Single input
type: single_input
vars: []
policy_templates:
- name: Single Input
title: Single Input
description: Single Input
inputs:
- title: Single Input
description: Single input
type: single_input
vars: {}
For B, C and D elastic-package build
fails with field policy_templates.0.inputs.0.vars: Invalid type. Expected: array, [..]
FYI: @jen-huang
Unassigning Kyle as he is out for a few months.
Kibana version:
from https://localhost:5601/app/status
Elasticsearch version:
8.7.0
Server OS version:
Fedora release 37 (Thirty Seven) - 6.2.9-200.fc37.x86_64
Browser version:
Google Chrome Version 112.0.5615.49 (Official Build) (64-bit)
Describe the bug:
Steps to reproduce:
$ elastic-package stack up --version 8.7 -v
Add Universal Profiling Symbolizer
Expected behavior:
Generate a valid policy to install the integration
Screenshots (if relevant):
CC: @sboomsma