I used a space in the option set name. I can't edit or remove the option set now.
I think it's an issue with the URL because I'm getting a page not found error.
Here's the path it tries to go to: admin/commerce/products/option-sets/manage/Ship%2520To/delete
I'll just manually delete it from my database, but others may not have that luxury.
UPDATE: changing the path to use an underscore instead of a space works. admin/commerce/products/option-sets/manage/Ship_To/delete
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 1195668-Use set_id instead of name for entity key name-5.patch | 443 bytes | kbalderson |
Comments
Comment #1
moniuch commentedI bumped into this as well. changing the space into %20 in the URL did not help (probably due to mod_rewrite settings).
Would you instruct me newbie where to find the items in the db?
Comment #2
kbalderson commentedIt seems to be in the table commerce_option_set
Changing it just busted some stuff up in my site, it would probably make more sense to delete it and create a new set.
Comment #3
Letharion commentedI can confirm this bug. Fortunately I develop with install profiles, so a restore was quick and painless for me.
Comment #4
JGO commentedThe problem according to me is that it doesn't use the machine name in the path but that it uses the label name ...
This module and also the product bundle module are a great idea, but currently completely broken.
Unfortunately I guess the maintainer is too busy with other stuff, since he almost doesn't reply to issues either :(
Comment #5
kbalderson commentedThe attached patch should fix the issue. It makes the edit links use the machine name (or set_id) as the entity key name for the option set entity key name. This makes the manage links use the machine name instead of the user readable name.
(it's my first patch using git... so idk)
Comment #6
hunziker commentedI commit your change to the current dev version.