Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: Some charactors in AJAX request are lost/FISH-10388 #7146

Open
AkitomoKurushima opened this issue Jan 7, 2025 · 1 comment
Open
Assignees
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

Comments

@AkitomoKurushima
Copy link

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.

image

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.

    public String getSampleText() {
        return "𠮷,𠮟,🇯🇵,🇺🇸,🤣️" + new Date();
    }

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

@AkitomoKurushima AkitomoKurushima added Status: Open Issue has been triaged by the front-line engineers and is being worked on verification Type: Bug Label issue as a bug defect labels Jan 7, 2025
@felixif
Copy link

felixif commented Jan 7, 2025

Hello @AkitomoKurushima,

I can confirm that I can see the discrepancy in Payara Community 6.2024.12 but not in 6.2024.10. I have raised an internal issue, codename FISH-10388 for the Platform Development team to solve the bug described in this issue. Thank you so much for providing a clear description and reproducer, and for contributing to the quality of Payara Platform!

Best regards,
Felix

@felixif felixif changed the title Bug Report: Some charactors in AJAX request are lost. Bug Report: Some charactors in AJAX request are lost/FISH-10388 Jan 7, 2025
@felixif felixif added Status: Accepted Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev and removed Status: Open Issue has been triaged by the front-line engineers and is being worked on verification labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants