Skip to content

Fix id encoding in ra-data-json-server and ra-data-simple-rest providers - #11461

Merged
fzaninotto merged 3 commits into
masterfrom
fix/rest-providers-ids
Nov 16, 2026
Merged

fzaninotto merged 3 commits into
masterfrom
fix/rest-providers-ids

Conversation

@ThieryMichel

Copy link
Copy Markdown
Contributor

Problem

ra-data-json-server and ra-data-simple-rest mishandle some identifiers when building request URLs.

Solution

  • ra-data-json-server and ra-data-simple-rest : escape identifiers in record URLs.
  • ra-data-json-server: getManyReference returns no records for an empty array id.

How To Test

yarn test-unit packages/ra-data-json-server packages/ra-data-simple-rest

Additional Checks

  • The PR targets master for a bugfix or a documentation fix, or next for a feature
  • The PR includes unit tests (if not possible, describe why)
  • The PR includes one or several stories (if not possible, describe why): not applicable, no UI
  • The documentation is up to date

@ThieryMichel
ThieryMichel marked this pull request as ready for review November 16, 2026 14:16
@fzaninotto
fzaninotto merged commit a44d692 into master Nov 16, 2026
15 checks passed
@fzaninotto fzaninotto added this to the 5.15.8 milestone Nov 16, 2026
@fzaninotto
fzaninotto deleted the fix/rest-providers-ids branch November 16, 2026 15:20
@fzaninotto fzaninotto changed the title Fix/rest providers urls Fix id encoding in ra-data-json-server and ra-data-simple-rest providers Nov 16, 2026
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