spree/spree — Issue #920: Taxon slugs return 404
Author: christianblunden
Created: 2011-12-29 15:47:27+00:00
State: open

http://groups.google.com/group/spree-user/browse_thread/thread/35c43b8005ab0aee/a12101a020cb6133?lnk=gst&q=taxon+404#a12101a020cb6133

When clicking on a Taxon url slug, the resultant page returns a 404 error. The reason being is that the tax-on is saved by default with a trailing slash 'categories/mugs/'

A redirect seems to happen which removed the trailing slash. The resulting database query (below) then returns no results and hence a 404.

Taxon Load (0.6ms) SELECT `taxons`.* FROM `taxons` WHERE `taxons`.`permalink` = 'categories/mugs' LIMIT 1