[Maps] Maps SO for 'ecommerce' sample dataset is registered twice #116263
Labels
bug
Fixes for quality problems that affect the customer experience
[Deprecated-Use Team:Presentation]Team:Geo
Former Team Label for Geo Team. Now use Team:Presentation
Kibana version: master
Describe the bug:
ecommerce
dataset cannot be removed due409 Conflict
error (seesteps to reproduce
section) due to duplicatedmap:2c9c1f60-1909-11e9-919b-ffe5949a18d2
SavedObject. Which is registered byhome
plugin as well.kibana/src/plugins/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts
Line 151 in 16198d1
The registration should be refactored. I didn't remove the SO registration from
home
plugin because Maps SO is referenced therekibana/src/plugins/home/server/services/sample_data/data_sets/ecommerce/saved_objects.ts
Line 1354 in 16198d1
Steps to reproduce:
ecommerce
sample dataset, remove it, install again, remove it again.Expected behavior:
Dataset is removed on the second and later attempts.
The text was updated successfully, but these errors were encountered: