You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andrea Del Bene (JIRA)" <ji...@apache.org> on 2017/11/13 14:25:00 UTC
[jira] [Resolved] (WICKET-6496) Duplicate definition of interface
JSONString
[ https://issues.apache.org/jira/browse/WICKET-6496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Del Bene resolved WICKET-6496.
-------------------------------------
Resolution: Fixed
Hi [~dieter.tremel]
I've replaced org.apache.wicket.ajax.json.JSONString with com.github.openjson.JSONString. This should fix the issue.
Thank you!
> Duplicate definition of interface JSONString
> --------------------------------------------
>
> Key: WICKET-6496
> URL: https://issues.apache.org/jira/browse/WICKET-6496
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 8.0.0-M8
> Reporter: Dieter Tremel
> Assignee: Andrea Del Bene
> Priority: Minor
>
> org.apache.wicket.ajax.json.JSONFunction implements org.apache.wicket.ajax.json.JSONString, whereas com.github.openjson.JSONStringer relies on com.github.openjson.JSONString. I suppose this leads to problems on line 255 of JSONStringer which checks if value is instance of JSONString, so that JSONFunction is not rendered correctly. Found by analyzing [issue #616 of wicketstuff|https://github.com/wicketstuff/core/issues/616].
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)