Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-10601

@PreserveOnRefresh not working for embedded Vaadin UIs

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 24.0.0
    • Fix Version/s: 24.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - Feb 27th 2019, Horizon - March 6th 2019

      Description

      A Vaadin UI can be annotated with @PreserveOnRefresh, which indicates that on a page refresh, the original session/ui state is reloaded instead of a new UI instantiated.

      The way Vaadin implements this is using the window.name property.
      If not set, it will just set a random value.
      As we integrate most of our vaadin applications via an iframe, the property is never set, resulting in a new UI on each page refresh.

      This is not per-se critical as only the Topology Map is annotated with @PreserveOnRefresh.
      However if we decide to add it to other applications as well, this will not work.

        Attachments

          Activity

            People

            • Assignee:
              mvr Markus von Rüden
              Reporter:
              mvr Markus von Rüden
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: