Uploaded image for project: 'ZATS'
  1. ZATS
  2. ZATS-41

Echo event is not recognised when zul has includes that contain javascript code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: Mimic
    • Labels:

      Description

      When parsing the AuResponses to handle echo events, if the generated source zul contains an include element that contains javascript code, the json parsing fails (org.zkoss.zats.mimic.impl.au.AuUtility#parseAuResponseFromLayout(String)).

      This is caused by the nested javascript in the generated json object and is not fixed by ZATS-34, although the issue is related to it.

      A unit test case to reproduce the issue is attached.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            gsim gsim
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: