Uploaded image for project: 'Magnolia Groovy Module'
  1. Magnolia Groovy Module
  2. MGNLGROOVY-85

UI state is lost on tab switching

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.2
    • 2.2
    • None
    • None

      Commands typed and their output results are lost when switching to a different tab in the groovy app and then going back to the console. The script context and command history are correct though.
      The console is a Vaadin wrapper around http://terminal.jcubic.pl/ which exposes two functions fit for our purpose

      • export_view
        • called every time a command is sent to the server so that the component state always contains the latest UI state or view.
      • import view
        • called when coming back to the console. It restores correctly the greetings message and the prompt but not the lines containing the commands and their output.

        Acceptance criteria

              fgrilli Federico Grilli
              fgrilli Federico Grilli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD