Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to save product through product field's HUD #418

Closed
engram-design opened this issue Jul 13, 2018 · 2 comments
Closed

Unable to save product through product field's HUD #418

engram-design opened this issue Jul 13, 2018 · 2 comments
Labels

Comments

@engram-design
Copy link
Contributor

Description

Double-clicking a HUD from a product field allows you to edit the product. I'm getting an error preventing saving:

"Call to a member function getTimestamp() on boolean"

Full details:

Request URL: http://commerce.local/index.php?p=office/actions/elements/save-element
Request Method: POST
Status Code: 500 Internal Server Error
siteId: 1
elementId: 378
namespace: editor_i73INtpndj
elementId: 378
siteId: 1
editor_i73INtpndj[title]: TEST
editor_i73INtpndj[slug]: test
editor_i73INtpndj[postDate][date]: 13/7/2018
editor_i73INtpndj[postDate][timezone]: Australia/Melbourne
editor_i73INtpndj[postDate][time]: 11:23 am
editor_i73INtpndj[postDate][timezone]: Australia/Melbourne
editor_i73INtpndj[expiryDate][date]: 
editor_i73INtpndj[expiryDate][timezone]: Australia/Melbourne
editor_i73INtpndj[expiryDate][time]: 
editor_i73INtpndj[expiryDate][timezone]: Australia/Melbourne
editor_i73INtpndj[taxCategoryId]: 1
editor_i73INtpndj[shippingCategoryId]: 1
editor_i73INtpndj[availableForPurchase]: 
editor_i73INtpndj[availableForPurchase]: 1
editor_i73INtpndj[freeShipping]: 
editor_i73INtpndj[promotable]: 
editor_i73INtpndj[promotable]: 1
editor_i73INtpndj[fieldLayoutId]: 57
editor_i73INtpndj[variants][379][sku]: TEST
editor_i73INtpndj[variants][379][price]: 0
editor_i73INtpndj[variants][379][hasUnlimitedStock]: 
editor_i73INtpndj[variants][379][hasUnlimitedStock]: 1
editor_i73INtpndj[variants][379][minQty]: 
editor_i73INtpndj[variants][379][maxQty]: 

Additional info

  • Commerce version: dev-develop
@nfourtythree
Copy link
Contributor

Hey @engram-design

I have just pushed up a fix for this, which should be included in the next release.

@lukeholder
Copy link
Member

Fixed in 6d03be5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants