Conditions doesn't work on coded URLs
jpgutti opened this issue · 7 comments
Expected Behavior
Be able to change conditions even in a coded URL
Current Behavior
It looks like conditions doesn't work under a coded page url, the options can't be changed and I am "forced" to set up the configuration to the template
Context
I've created a simple component that I can set up a title and a description to a department/category/subcategory, in the blocks I put it just after the search results... It is working on departments/categories/subcategories that are simple like "Meias", but I can't change the conditions on subcategories like "Bonés", that is coded into "Bon%C3%A9s" .
Hey, @jpgutti! Sorry for the late reply.
Could you please send me a workspace where I can reproduce that issue?
Hey @alcar , here's the workspace https://vtexdebug--newbalance.myvtex.com/admin/cms/storefront
Navigate to subcategory "Bonés" within Female department and try to set up the "Category Text" block. I've noticed that now we have a toast message saying that it could't find a SubCategory.
After that, if you try any Department/Category/Subcategory that doesn't code URL you'll be able to set up the block correctly.
@alcar There's an error over vtex link console when we navigate to those ones that have coded url, if it helps...
09:28:09.537 - error: Error loading context data for type subcategory: Missing context data vtex.pages-graphql@2.50.6
@jpgutti I've just released a new Store GraphQL version that addresses that issue. Could you please check if everything works as expected?
@alcar Great! Things are working as expected now!
But the error toast still appears, would be nice if you fix that in the future for a better UX. :)
Thanks!