VisB Reload button no longer works after an error

Description

Once an error occurs in the VisB JSON file (e.g., a non-existing attribute is set), the reload button no longer works. One can only see the message: Nothing to reload.

Environment

None

Activity

Show:

Fabian Vu November 11, 2020 at 1:15 PM

Ideally, one should be able to try to reload the visualization using the link of the SVG file and JSON file of the erroneous visualization. This would require refactoring the usage of VisBVisualisation.

  1. Always create a VisBVisualisation, even with erroneous fields. (get rid of assignment to null without any information)

  2. Apply the checks on the VisBVisualisation

Fabian Vu November 9, 2020 at 1:30 PM

This issue is now solved by closing the current visualisation when an error in the VisB file is detected. As the visualisation is then closed, trying to reload the visualisation once more results in “Nothing to reload”. Furthermore, the exception message is always shown.

Fixed

Details

Assignee

Reporter

Priority

Created November 6, 2020 at 4:59 PM
Updated November 16, 2020 at 2:06 PM
Resolved November 9, 2020 at 1:30 PM