-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Steps to Re-produce:
- Login from two different PC.
- Create Order at the same time.
- Observe.
Actual Result: Both user cannot create order.
Expected Result: Both user will be able to create order.
At the same time multiple orders can't be created for same vendor using different accounts.
Request URL:http://gofetch.cloudapp.net/api/Order/
Request Method:POST
Status Code:500 Internal Server Error
Remote Address:168.63.232.131:80
Response Header:
Access-Control-Allow-Credentials:true
Access-Control-Allow-Origin:http://gofetch.cloudapp.net:8080
Content-Length:43
Content-Type:application/json; charset=utf-8
Date:Tue, 27 Sep 2016 10:09:47 GMT
Server:Microsoft-IIS/8.5
X-Powered-By:ASP.NET
Request Header:
Accept:application/json, text/plain, */*
Accept-Encoding:gzip, deflate
Accept-Language:en-US,en;q=0.8,bn;q=0.6
Authorization:Bearer UYV6XqFuPNkGlbKSXTw-05H9sH1IeflAP__Iv3EilZljubZV3VTRHUEFJl3xh5pVkmUywPn5Kw9xInd40MMVfeA_PhqW4y82gAqlagM75ThU5Vz0teK_LxOKaR4KGa9-z1oBuEJxkTD6wCfH1mYjry9cqlTiGxHyqs40ju5U_POCRQQCm8pfHG8Uln0qbAnj5kBD8viKW7TQSvTyKg9ck2g_uYsb3Ud_y8w3pPCr_h3OXl0YkRCmLsKFN9I4dw3tZlKYInUkQVxADJ-TJn7fGsQhYNTcCaZEShNbVefh14THu52iR6HCUZVzsqfToK0PRK_hE2GM-9DueuWqYyYBDnTZgwniN3syVXdF1uP75BKBzeAOAV0vAODU9kOBSSnO8VXg9gGG4-NPAUxF67KoANp85dW5qU3PrtycZA9Fwdnx0qthKsk0XjX7bgD0331XMJ2uO4HYwJWsvkLyp7iiz73WlubtzZBAqhzoqPCl5gkkBa_i
Connection:keep-alive
Content-Length:851
Content-Type:application/json;charset=UTF-8
DNT:1
Host:gofetch.cloudapp.net
Origin:http://gofetch.cloudapp.net:8080
Referer:http://gofetch.cloudapp.net:8080/
User-Agent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
Request Payload
view source
Payload:
{
"NoteToDeliveryMan": "",
"RequiredChangeFor": 0,
"Name": null,
"From": {
"Address": "",
"PostalCode": null,
"Floor": null,
"HouseNumber": null,
"AddressLine1": "tongi",
"AddressLine2": null,
"Country": null,
"City": "Dhaka",
"State": null,
"Locality": "",
"Point": {
"type": "Point",
"coordinates": null
},
"Provider": "Default"
},
"To": {
"Address": "",
"PostalCode": null,
"Floor": null,
"HouseNumber": null,
"AddressLine1": "banani",
"AddressLine2": null,
"Country": null,
"City": "Dhaka",
"State": null,
"Locality": "",
"Point": {
"type": "Point",
"coordinates": null
},
"Provider": "Default"
},
"Type": "Delivery",
"PayloadType": "default",
"UserId": "57c6ae236ce2b605b0757f08",
"OrderLocation": null,
"ETA": null,
"ETAMinutes": null,
"PaymentMethod": "CashOnDelivery",
"Description": null,
"OrderCart": {
"PackageList": [],
"TotalVATAmount": 0,
"SubTotal": 0,
"ServiceCharge": 500,
"TotalWeight": 0,
"TotalToPay": 0
},
"JobTaskETAPreference": []
}
Error:
{
"Message": "An error has occurred."
}
Metadata
Metadata
Assignees
Labels
No labels