# ZKOSS 5.0.14 - bug in json producer?

abcd123
17 3

Hello,

when using <include> component in defer mode ( <include mode="defer"/> ) zkoss malforms json sent from the server to zkoss client ( triggered by a click on one of the buttons on the page with include component ), by inserting extra commas:

 [
[
"zMBPj2",
,
[
'zhtml.Widget',
'zMBPha',
{
prolog:'<ul id="zMBPha">',
epilog:'</ul>'
},
[ ]
]
]
]


This results in SyntaxError on the client.

If the mode attribute is not set - i.e. it defaults to the other mode, the problem dissapears.

Is this a known issue? Can somebody advice how to get rid of the problem?

Regards.

delete retag edit
Be the first one to answer this question!
[hide preview]