Opened 8 years ago
Closed 5 years ago
#16628 closed defect (invalid)
dojo/JsonRest sends 'id' attribute on put/add to REST server even though idProperty is set to a different value
Reported by: | n_mouli | Owned by: | n_mouli |
---|---|---|---|
Priority: | undecided | Milestone: | 1.13 |
Component: | Data | Version: | 1.8.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Hi, I am creating a dgrid/JsonRest UI and a REST Server backend for a tool that i am working on. I found that even though i specify idProperty to a different attribute in JsonRest? store configuration, when i trigger a put request from JsonRest? to my REST backend, the JSON object in the payload goes with an additional 'id:' attribute which is not only superfluous but also may break JSON deserialization as the 'id:' attribute is not expected to be present. I guess this needs to be fixed. Thanks, Chandramouli
Change History (4)
comment:1 Changed 8 years ago by
Component: | General → Data |
---|---|
Owner: | set to Kris Zyp |
comment:2 Changed 7 years ago by
comment:3 Changed 5 years ago by
Milestone: | tbd → 1.12 |
---|---|
Owner: | changed from Kris Zyp to n_mouli |
Status: | new → pending |
comment:4 Changed 5 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
I cannot reproduce this problem.
Can you provide more detail?