[MGNLGROOVY-85] UI state is lost on tab switching Created: 31/Oct/13  Updated: 04/Nov/13  Resolved: 31/Oct/13

Status: Closed
Project: Magnolia Groovy Module
Component/s: None
Affects Version/s: 2.2
Fix Version/s: 2.2

Type: Bug Priority: Major
Reporter: Federico Grilli Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLGROOVY-79 Update to M5 UI Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: Module UI migration

 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.

Generated at Mon Feb 12 05:55:26 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.