Bug Report: Some charactors in AJAX request are lost/FISH-10388 #7146
Labels
Status: Accepted
Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev
Type: Bug
Label issue as a bug defect
Brief Summary
Some parts of the string sent from the BackingBean are missing only when making an AJAX request.
It appears that IVS (Ideographic Variation Sequence) characters and similar may be causing the issue.
Examples of missing characters: 𠮷,𠮟,🇯🇵,🇺🇸,🤣️
Expected Outcome
The complete string should be returned during an AJAX request, just as it is when performing a standard GET request.
Current Outcome
A string with missing characters is returned only when making an AJAX request.
In the example shown in the screenshot below, both the top and bottom rows should produce the same characters.
Reproducer
Not affected: payara-6.2024.9, payara-6.2024.10
Affected: payara-6.2024.11, payara-6.2024.12
In the following example, the BackingBean method is called from JSF via an AJAX request.
I have prepared a minimal reproducible sample for this bug and attached it.
mavenproject-sample1.zip
After running it, clicking the "post ajax" button on the screen reproduces the missing characters.
Operating System
Windows 11 Pro
JDK Version
Amazon Corretto 21.0.5_11
Payara Distribution
Payara Server Full Profile
The text was updated successfully, but these errors were encountered: