You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What you were expecting:
Records may have ids with characters that break the Simple REST Data Provider paths if not escaped.
For example, a record with id "Post#123" has a getOne path of '/posts/Post#123' which is not desired.
IDs like this can occur when using single table inheritance with DynamoDB or with other document data stores.
The solution is to escape IDs in paths for getOne, update, updateMany, delete and deleteMany. An example path with escaped id is '/posts/Post%23123'.
What happened instead:
A record with id "Post#123" has a getOne path of '/posts/Post#123' which is not desired.
Steps to reproduce:
Use a record with id 'Post#123' and perform anything that does a getOne operation.
What you were expecting:
Records may have ids with characters that break the Simple REST Data Provider paths if not escaped.
For example, a record with id "Post#123" has a getOne path of '/posts/Post#123' which is not desired.
IDs like this can occur when using single table inheritance with DynamoDB or with other document data stores.
The solution is to escape IDs in paths for getOne, update, updateMany, delete and deleteMany. An example path with escaped id is '/posts/Post%23123'.
What happened instead:
A record with id "Post#123" has a getOne path of '/posts/Post#123' which is not desired.
Steps to reproduce:
Use a record with id 'Post#123' and perform anything that does a getOne operation.
Related code:
Here is a PR with a fix:
10206
The text was updated successfully, but these errors were encountered: