Opened 5 years ago

Closed 4 years ago

#18205 closed defect (invalid)

JsonRest: wrong param in request.body when using method add()

Reported by: nhathv Owned by: nhathv
Priority: undecided Milestone: 1.13
Component: Data Version: 1.10.0
Keywords: Cc:
Blocked By: Blocking:

Description

When I use method add() of JsonRest?

this.store.add({
                    content: "greetingContent"
                })

and post data is:

POST:<QueryDict: {u'{"content":"greetingContent"}': [u'']}>

this is wrong. the right data should be

POST:<QueryDict: {u'content':'greetingContent'}>

I think this's bug, please verify it. Thank you! ====== JsonRest? document

http://dojotoolkit.org/reference-guide/1.10/dojo/store/JsonRest.html

Change History (4)

comment:1 Changed 5 years ago by bill

Component: GeneralData
Owner: set to Kris Zyp

comment:2 Changed 5 years ago by nhathv

This bug is occurred in appspot.com

comment:3 Changed 4 years ago by dylan

Milestone: tbd1.12
Owner: changed from Kris Zyp to nhathv
Status: newpending

Hmmm, I've never seen this issue. Do you have a testcase or URL you can provide? Is this specific to working with appspot.com?

comment:4 Changed 4 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

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!

Note: See TracTickets for help on using tickets.