Re: NestedSetPeerBuilder bug?
2009-06-08 11:01:27 GMT
Hey, this bug is still not fixed. My left/right columns are called simply Left and Right, so I guess they class with SQL reserved words if they are not in quotes. It is a very easy fix though. Martynas whatsup.lt On Sun, Aug 17, 2008 at 10:53 AM, Martynas Jusevicius<martynas.jusevicius <at> gmail.com> wrote: > Er, no, I fixed it :) It was the shiftRLValues() method, it did not > properly escape column names in SQL. So I hacked/fixed lines 1608/1609 > like this: > > \$leftUpdateCol = self::LEFT_COL; // substr(self::LEFT_COL, > strrpos(self::LEFT_COL, '.') + 1); > \$rightUpdateCol = self::RIGHT_COL; //substr(self::RIGHT_COL, > strrpos(self::RIGHT_COL, '.') + 1); > > The original code commented. Now it works. > > Martynas > > On Sat, Aug 16, 2008 at 11:55 PM, Heltem <eofredj <at> gmail.com> wrote: >> Hi, >> >> Can you provide the full message you got ? >> And the sample to reproduce it myself ...(Continue reading)
RSS Feed