Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Category rename bug

Quote Reply
Category rename bug
I renamed a category, and only the "Category Name" was updated. The "Full Name" was not.

This created problems with dynamic page generation and naming/location.

This was on a "root" category, with no leaves if that makes a difference. I didn't examine it further, just edited the "Full Name" via MySQLMan.



PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://pugdog.com/FAQ


Quote Reply
Re: Category rename bug In reply to
Oops! Fixed! Line 192 in Category.pm should look like:

$set->{Full_Name} =~ s/\Q$rec->{Name}\E$/$set->{Name}/;

Cheers,

Alex

--
Gossamer Threads Inc.