refinerycms icon indicating copy to clipboard operation
refinerycms copied to clipboard

Fixed page listing error: comparison of Fixnum with nil failed

Open bofrede opened this issue 8 years ago • 1 comments

When browsing at http://localhost:3000/refinery/pages Pages translated to locales not mentioned in the Refinery::I18n.frontend_locales causes:

ArgumentError in Refinery::Admin::Pages#index
Showing .../refinerycms-pages-3.0.5/app/views/refinery/admin/pages/_page.html.erb where line #28 raised:
comparison of Fixnum with nil failed

This happens if you start translating into a language, but remove the locale from Refinery::I18n.frontend_locales if it is not ready at launch.

bofrede avatar Aug 15 '17 09:08 bofrede

Is it possible to have a test case for this patch please?

parndt avatar Aug 16 '17 15:08 parndt