[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bricolage-bugs
Subject:    [Bug 1318] Description in Template will accept more than 1024
From:       bugzilla-daemon () exclupen ! com
Date:       2008-04-17 3:42:29
Message-ID: 20080417034229.844E3D33A7 () mail ! exclupen ! com
[Download RAW message or body]

http://bugs.bricolage.cc/show_bug.cgi?id=1318


David Wheeler <david@kineticode.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from David Wheeler <david@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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic