Sprache wechseln / change language to: English

WGA4 Releasenotes WGA Publisher

Die hier verfügbaren Releasenotes enthalten Änderungen bis WGA 4.1.15. Die Release-Notes zu aktuellen WGA- und OpenWGA-Versionen finden sie im OpenWGA Issue Tracker unter Projekt OpenWGA Server.


Product:
    WGA Publisher
Version:
    4.1.0 Build 300
Category:
    TMLScript
Title:
    Portlet session vars not updatable via short syntax
Information:
    This works on normal and session vars:

    setVar("x", 1);
    x = 2;

    setSessionVar("y", 1);
    y = 2;

    The once defined (session) var "x" ("y") at value 1 is updated with value 2.

    This currently does not work with portlet (session) vars:

    portlet.setVar("x", 1);
    x = 2;

    portlet.setSessionVar("y", 1);
    y = 2;

    In this case the portlet (session) var is initialized with 1. But line 2 creates a new normal WebTML var "x" at the value of 2, currently hiding the portlet (session) var.
    After the script is finished and the WebTML (and portlet) var goes out of scope there still is the portlet session var "x" at the value of 1.
correction/implementation in version:
    4.1.13
Solution:
    Now all four var types are updatable via the short syntax
Back to product overview