You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ActiveModel::UnknownAttributeError in Spree::Api::ProductsController#create
unknown attribute 'permalink' for Spree::Product.
Extracted source (around line #52)
public_send(setter, v)
else
raise UnknownAttributeError.new(self, k)
end
end
end
Expected behavior
I think that request should be successful, so we should understand why this is happening in the first place and fix it.
Alternatively, if the error is legit for some reason, we should not make the application explode but gracefully return an API error.
The text was updated successfully, but these errors were encountered:
Solidus Version:
2.11.5, master
ActiveModel::UnknownAttributeError
To Reproduce
Trying to create a product with the
permalink
attribute included:Current behavior
We get this 500 error.
Expected behavior
I think that request should be successful, so we should understand why this is happening in the first place and fix it.
Alternatively, if the error is legit for some reason, we should not make the application explode but gracefully return an API error.
The text was updated successfully, but these errors were encountered: