Gavin, I had this happen to one of my client's sites (a few times). The result was the same as what you received. I never tracked it down though because it was during dev for the site and we were under a tight timeline (I had two content editors who were populating the website an created hundreds of bad FUs - this all happened during FarCry 5.1 beta). My first guess was that maybe it was whitespace (any whitespace in the titles is converted to a dash)... i.e. perhaps the client was copying and pasting the page titles from something else (bringing along whitespace with it). But when I deleted all of the FUs in question and recreated them the problem went away.
Can you submit a bug? http://bugs.farcrycms.org If you can provide a way replicate the problem, then at least someone will have a way to track it down and address it. -- Jeff Coughlin Web Application Developer http://jeffcoughlin.com On Apr 30, 2009, at 5:24 AM, Gavin Stewart wrote: > > Hello team farcry, > > I am getting an error when approving a html object. I have tracked it > down to friendly url generation. Farcry is producing wild friendly > urls for example > > /-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------/ > subject-hubs/subjects/art-and-design/art-and-design-study-options/ > undergraduate--------------------------------------------------/ > undergraduate > > Crazy! > > This string is too big for the database field which is causing the > error. After debugging I have tracked it down to the cleanFu method in > farFU.cfc. > > The line of code that is blowing it out of proportion is this > <cfset cleanFU = ReReplaceNoCase(cleanFU,"[^a-z0-9/]","-","all")> > > This is a pretty random regex and have no idea what it is trying to > do. The friendly url is fine before it hits this line of code. > > Am I missing something? > > Just thought I would ask before I report it as a bug > > Cheers > Gav --~--~---------~--~----~------------~-------~--~----~ You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry -~----------~----~----~----~------~----~------~--~---
