[jira] [Updated] (WICKET-6533) Error while parsing xml using AjaxButton

2018-02-08 Thread Maxim Solodovnik (JIRA)

 [ 
https://issues.apache.org/jira/browse/WICKET-6533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maxim Solodovnik updated WICKET-6533:
-
Attachment: showcase_simplified.zip

> Error while parsing xml using AjaxButton
> 
>
> Key: WICKET-6533
> URL: https://issues.apache.org/jira/browse/WICKET-6533
> Project: Wicket
>  Issue Type: Bug
>Affects Versions: 8.0.0-M8
>Reporter: Łukasz Ludwa
>Priority: Major
> Attachments: showcase.zip, showcase_simplified.zip
>
>
> Problem is caused when refreshing markup using Ajax and in data is special 
> character (�).
> Error occurs in my project everywhere when refreshing markup using Ajax where 
> this special character occurs.
> I create and attach quickstart project which reproduces this problem in 
> simple way: changing markup through hiding/showing TextField by ajax button.
>  
> Steps to reproduce problem:
> 1. Download and run attached quickstart project
> 2. Enter to TextField symbol presented under "Insert this string for 
> error..." label:
> 3) Click „Regular submit” twice (this causes component to refresh, but 
> doesn’t cause error)
> 4) Now click „Ajax submit” twice – this causes button to not refresh markup 
> and show error:
>  
> {code:java}
> ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Error: Invalid 
> XML:  id="field3" >{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (WICKET-6533) Error while parsing xml using AjaxButton

2018-02-08 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/WICKET-6533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Łukasz Ludwa updated WICKET-6533:
-
Description: 
Problem is caused when refreshing markup using Ajax and in data is special 
character (�).

Error occurs in my project everywhere when refreshing markup using Ajax where 
this special character occurs.

I create and attach quickstart project which reproduces this problem in simple 
way: changing markup through hiding/showing TextField by ajax button.

 

Steps to reproduce problem:

1. Download and run attached quickstart project

2. Enter to TextField symbol presented under "Insert this string for error..." 
label:

3) Click „Regular submit” twice (this causes component to refresh, but doesn’t 
cause error)

4) Now click „Ajax submit” twice – this causes button to not refresh markup and 
show error:

 
{code:java}
ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Error: Invalid 
XML: {code}

  was:
Problem is caused when refreshing markup using Ajax and in data is special 
character (�).

Error occurs in my project everywhere when refreshing markup using Ajax where 
this special character occurs.

I create and attach quickstart project which reproduces this problem in simple 
way: changing markup through hiding/showing TextField by ajax button.

 

Steps to reproduce problem:

1. Download and run attached quickstart project

2. Enter to TextField symbol presented under "Insert this string for error..." 
label:

3) Click „Regular sumbit” twice (this causes component to refresh, but doesn’t 
cause error)

4) Now click „Ajax submit” twice – this causes button to not refresh markup and 
show error:

 
{code:java}
ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Error: Invalid 
XML: {code}


> Error while parsing xml using AjaxButton
> 
>
> Key: WICKET-6533
> URL: https://issues.apache.org/jira/browse/WICKET-6533
> Project: Wicket
>  Issue Type: Bug
>Affects Versions: 8.0.0-M8
>Reporter: Łukasz Ludwa
>Priority: Major
> Attachments: showcase.zip
>
>
> Problem is caused when refreshing markup using Ajax and in data is special 
> character (�).
> Error occurs in my project everywhere when refreshing markup using Ajax where 
> this special character occurs.
> I create and attach quickstart project which reproduces this problem in 
> simple way: changing markup through hiding/showing TextField by ajax button.
>  
> Steps to reproduce problem:
> 1. Download and run attached quickstart project
> 2. Enter to TextField symbol presented under "Insert this string for 
> error..." label:
> 3) Click „Regular submit” twice (this causes component to refresh, but 
> doesn’t cause error)
> 4) Now click „Ajax submit” twice – this causes button to not refresh markup 
> and show error:
>  
> {code:java}
> ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Error: Invalid 
> XML:  id="field3" >{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)