TheMikmas Posted October 20, 2015 Share Posted October 20, 2015 I'm editing product using the PUT request. When i sent POST product created successfully with good date_add parameter. Than i'm sending PUT request WITHOUT <date_add> but despite this the product gets 0000-00-00 00:00:00.000000 date. Why? If i didn't send this tag using the PUT request it shouldn't change this. Bug?Sorry for my bad english Link to comment Share on other sites More sharing options...
TheMikmas Posted October 20, 2015 Author Share Posted October 20, 2015 I discovered what's going on. On POST (create) request webapi updates column date_add to now regardless what i sent in <date_add> tag - ok, that's alright, but... When I send PUT (edit!!!) request webapi requires <date_add> tag and puts its value to the date_add column (even when <date_add> doesn't exist - then he puts 0000-00-00 00:00:00.000000). It's a bug. Is there a place to report it? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now