Developer forum

Forum » Ecommerce - Standard features » Deleting a product category field of type list does not delete its options

Deleting a product category field of type list does not delete its options

Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

When you delete a product category field of type list from the database, the options stay in the database. When you then later recreate the field, it reattaches the existing field options. Is this by design?

Steps:

1. Create a new field of type List i an existing category under Attributes | Product fields | Attribute groups | Category groups.
2. Add two options to the list (I called mine MyOption1 and MyOption2)
3. Confirm the fields are in the database: SELECT * FROM dbo.EcomFieldOption WHERE FieldOptionName LIKE 'MyOption%'
4. Delete the field from the UI.
5. The fields are still in the database: SELECT * FROM dbo.EcomFieldOption WHERE FieldOptionName LIKE 'MyOption%'  Should they not have been deleted in step 4?
6. Create a new field with the same system name as in step 1. Notice how the options now show up again.

Imar


Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Bump. Anyone?

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

This was fixed in https://doc.dynamicweb.dev/documentation/fundamentals/dw10release/releasenotes/workiteminfo.html?workitemid=27729

Votes for this answer: 1

 

You must be logged in to post in the forum