Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Bricolage: bugs

[Bug 1318] Description in Template will accept more than 1024 characters but not 0.

 

 

Bricolage bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla-daemon at bugs

Apr 14, 2008, 2:04 PM

Post #1 of 3 (161 views)
Permalink
[Bug 1318] Description in Template will accept more than 1024 characters but not 0.

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


David Wheeler <david[at]kineticode.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |david[at]kineticode.com
AssignedTo|bugs[at]lists.bricolage.cc |david[at]kineticode.com




--
Configure bugmail: http://bugs.bricolage.cc/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


bugzilla-daemon at bugs

Apr 14, 2008, 2:05 PM

Post #2 of 3 (151 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|NEW |ASSIGNED




--
Configure bugmail: http://bugs.bricolage.cc/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


bugzilla-daemon at bugs

Apr 16, 2008, 8:42 PM

Post #3 of 3 (148 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.

Bricolage bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.