finos / perspective

A data visualization and analytics component, especially well-suited for large and/or streaming datasets.
https://perspective.finos.org/
Apache License 2.0
7.73k stars 1.05k forks source link

Restore Widget with Version: Doesn't Restore #2485

Closed ada-x64 closed 5 months ago

ada-x64 commented 6 months ago

Bug Report

Screenshot_20240102_214923 Screenshot_20240102_214958

Steps to Reproduce:

  1. Create a widget with a table.
  2. Restore the widget with a version number.
  3. The restore method does nothing.

Expected Result:

Symmetric save/restore functionality

Actual Result:

Restore does not restore the saved widget

Environment:

Perspective 2.7.1 on Manjaro Linux in Vivaldi Browser (Chromium)

Additional Context:

Pretty sure this is a break in the python code where the viewer or widget attempts to ignore the version number. the version number is only relevant to the perspective-viewer, but we need to accept it for symmetry's sake

texodus commented 5 months ago

Fixed in #2465