8000 ajax: don't serialize null as 'null' by bschwarzent · Pull Request #1515 · eclipse-scout/scout.rt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ajax: don't serialize null as 'null' #1515

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 “Sig 8000 n 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

Open
wants to merge 1 commit into
base: releases/25.2
Choose a base branch
from

Conversation

bschwarzent
Copy link
Member

When calling dataObjects.serialize(), the argument must be checked for null. Otherwise, the data would be set to the string 'null' which would be visible the URL in the case of a GET request.

Improve jsdoc:

  • Use consistent naming
  • Use consistent parameter description
  • Add empty line between description and parameters

Reorder methods:

  • First all basic methods
  • Followed by the "json" flavor of the same methods
  • Followed by the "dataobject" flavor of the same methods

When calling dataObjects.serialize(), the argument must be checked
for null. Otherwise, the data would be set to the string 'null' which
would be visible the URL in the case of a GET request.

Improve jsdoc:
- Use consistent naming
- Use consistent parameter description
- Add empty line between description and parameters

Reorder methods:
- First all basic methods
- Followed by the "json" flavor of the same methods
- Followed by the "dataobject" flavor of the same methods
@bschwarzent bschwarzent requested a review from cguglielmo May 9, 2025 08:54
@cguglielmo
Copy link
Member

jenkins run test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0