Closed evs-xsarus closed 1 month ago
@evs-xsarus The slug should never be null. This indicates that there is something wrong with your data. Empty slugs may cause issues with filters not working. The bug fix should be preventing an NULL value from occurring.
Can you check the tweakwise_attribute_slug table and see if there is an entry with an slug value NULL? If there is, what is the attribute value of that row?
@ah-net there are no entries in tweakwise_attribute_slug where the slug is NULL. Could this be a situation that occured in previous versions of Magento2Tweakwise?
@evs-xsarus It's possible, but when i look in the code i see nothing to prevent empty slugs from being created. Looking at the exception. I think this may occur if you request an filter without an value. For example magento.test/category/color without /black
I'll see if I can add an check on an empty slug in the code to prevent this error.
Thank you.
Issue Brief
What is the purpose of this issue? Explain the background context.
Environment
Steps to reproduce
Solution: