spree_fancy icon indicating copy to clipboard operation
spree_fancy copied to clipboard

Product titles lost with caching and i18n in 2.4

Open burlap opened this issue 10 years ago • 4 comments

I discovered the issue in production, but enabling caching in development also triggers the bug: after switching locale back and forth, the product title on a product page disappears. In Spree without fancy it works fine. Looks like it's related to moving the title to subheader.

Tested also with clean 2.4 stable.

burlap avatar Jan 20 '15 00:01 burlap

I'm having the same issue in production mode or in development mode with caching enabled. This issue is happening in a fresh clean install of spree_fancy. The only way to restore the title is to delete the cache. But the title immediately goes away again once you've refreshed.

config.action_controller.perform_caching = false I've temporarily disabled the cache in production mode since I don't know how to fix it.

crystalized avatar Jun 02 '15 21:06 crystalized

+1 Same issue here

rsempe avatar Jun 18 '15 16:06 rsempe

It's a Rails issue with content_for, try using this gist: https://gist.github.com/dignoe/2485272 (It works for me, but I haven't tested it thoroughly)

burlap avatar Jun 18 '15 22:06 burlap

The hack is working me and I haven't noticed any issues so far. Thank you for posting this, @burlap!

crystalized avatar Jun 22 '15 19:06 crystalized