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

Comments

moniuch’s picture

I 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?

kbalderson’s picture

It 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.

Letharion’s picture

I can confirm this bug. Fortunately I develop with install profiles, so a restore was quick and painless for me.

JGO’s picture

The 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 :(

kbalderson’s picture

Status: Active » Needs review
StatusFileSize
new443 bytes

The 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)

hunziker’s picture

Status: Needs review » Closed (fixed)

I commit your change to the current dev version.