
bugzilla-daemon at bugs
Apr 16, 2008, 8:42 PM
Post #3 of 3
(266 views)
Permalink
|
|
[Bug 1318] Description in Template will accept more than 1024 characters but not 0.
[In reply to]
|
|
http://bugs.bricolage.cc/show_bug.cgi?id=1318 David Wheeler <david[at]kineticode.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #1 from David Wheeler <david[at]kineticode.com> 2008-04-16 23:42:27 --- I curse the day someone decided that in Web form submissions that line endings would be "\r\n". Grrr. For better or for worse, Bricolage has not traditionally paid attention to this except in element content. But I replicated your issue by pasting in a bunch of stuff with line endings. It was all 1024 characters, but came out to 1038 on the back end. Took me a few minutes to realize what the problem was. So. I've added explicit setter methods for those object attributes that use "textarea" fields to convert those line endings. An ugly hack, but it should make this problem go away for most situations. Let me know if you run into it again after you update. Committed in r8066. -- Configure bugmail: http://bugs.bricolage.cc/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
|