Skip to content

[dashboard] dashboard references lost when dashboard updated from listing page #241350

@nreese

Description

@nreese

Regression caused by #240182.

DashboardStorage.update has an existing bug where calling update without references will save dashboard without references. #240182 caused this existing bug to be accessible via the UI. The highlighted changes updateDashboardMeta cause DashboardStorage.update to be called without references. This causes saved object to be stored with empty reference array.

Image

steps

  • install sample web logs
  • create new dashboard, add by reference len panel
  • saved dashboard
  • got to listing page
  • click "View details" action for dashboard
  • edit description and "Update dashboard"
  • Open dashboard. Notice how lens panel is now broken.
  • View dashboard saved object. References array is empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Team:PresentationPresentation Team for Dashboard, Input Controls, and Canvas t//bugFixes for quality problems that affect the customer experienceimpact:criticalThis issue should be addressed immediately due to a critical level of impact on the product.v9.3.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions