There is a minor flaw in the commerce product form.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 1427144-2.patch | 499 bytes | googletorp |
| #3 | 1427144-3.patch | 941 bytes | amateescu |
There is a minor flaw in the commerce product form.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 1427144-2.patch | 499 bytes | googletorp |
| #3 | 1427144-3.patch | 941 bytes | amateescu |
Comments
Comment #1
googletorp commentedI've added a fix to my sandbox, it was a pretty simple fix 8b6925e:
Comment #2
googletorp commentedForgot status as usual :)
Comment #3
amateescu commentedHmm.. I'd prefer doing something like the patch attached.
Comment #4
rszrama commentedAhh, good call. Yeah, let's go with the second patch to just have that default available all the time.
Comment #5
googletorp commentedI thought about the other approach seems fine by me.
However, creating new revisions by default (on every product save) doesn't sound like a good default. This should be changed.
Created a patch for it: Commit diff
Comment #6
rszrama commentedRevisions are enabled by default in the Product UI module as is (see commerce_product_ui_product_type_new()), so I think it's a separate issue that at this point would require an upgrade path. That said, I prefer to retain more data by default - hence orders always creating new revisions on save.