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

UI state is lost on tab switching

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD