Re: Bug#436507: libhtml-mason-perl: autoflush breaks store modifier

"Charles Fry" <[email protected]> Thu, 24 Jul 2008 23:06:35 -0400
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
------=_Part_112682_8924382.1216955195280
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Can someone from the Mason development team take a look at this bug
which was reported in Debian? The attached Perl script can be used for
the demonstration.

thanks,
Charles

---------- Forwarded message ----------
From: Fr=E9d=E9ric Bri=E8re <[email protected]>
Date: Tue, Aug 7, 2007 at 5:35 PM
Subject: Bug#436507: libhtml-mason-perl: autoflush breaks store modifier
To: Debian Bug Tracking System <[email protected]>


Package: libhtml-mason-perl
Version: 1:1.35-3
Severity: normal

Starting from some point between sarge (1.26) and etch (1.35), setting
autoflush breaks the ability to store the output of a component to a
variable.  The attached script demonstrates this issue.

On sarge:

 $ perl -MHTML::Mason -le 'print $HTML::Mason::VERSION'
 1.26
 $ perl /autoflush_store.pl
 Hello, World!
 Hello, World!

On etch (and sid):

 $ perl -MHTML::Mason -le 'print $HTML::Mason::VERSION'
 1.35
 $ perl /autoflush_store.pl
 Use of uninitialized value in concatenation (.) or string at
/usr/share/perl5/HTML/Mason/Component/Subcomponent.pm line 34, <DATA>
chunk 1.
 Hello, World!
 WorldHello, !


-- System Information:
Debian Release: lenny/sid
 APT prefers unstable
 APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-1-k7 (SMP w/1 CPU core)
Locale: LANG=3Den_CA.UTF-8, LC_CTYPE=3Den_CA.UTF-8 (charmap=3DUTF-8)
Shell: /bin/sh linked to /bin/dash

------=_Part_112682_8924382.1216955195280
Content-Type: application/x-perl; name=autoflush_store.pl
Content-Transfer-Encoding: base64
X-Attachment-Id: 0.1
Content-Disposition: attachment; filename=autoflush_store.pl

IyEvdXNyL2Jpbi9wZXJsCgp1c2Ugc3RyaWN0Owp1c2Ugd2FybmluZ3M7Cgp1c2UgSFRNTDo6TWFz
b24gMS4xMDsKdXNlIEhUTUw6Ok1hc29uOjpJbnRlcnA7CnVzZSBIVE1MOjpNYXNvbjo6UmVxdWVz
dDsKCm15ICRpbnRlcnAgPSBuZXcgSFRNTDo6TWFzb246OkludGVycDsKCmxvY2FsICQvID0gdW5k
ZWY7Cm15ICRjb21wID0gJGludGVycC0+bWFrZV9jb21wb25lbnQoY29tcF9zb3VyY2UgPT4gPERB
VEE+KTsKCiRpbnRlcnAtPmV4ZWMoJGNvbXApOwoKCl9fREFUQV9fCjwlcGVybD4KZm9yICgwIC4u
IDEpIHsKCSRtLT5hdXRvZmx1c2goJF8pOwoKCW15ICR3b3JsZDsKCgkkbS0+Y29tcCggeyBzdG9y
ZSA9PiBcJHdvcmxkIH0sICcud29ybGQnKTsKCXByaW50ICJIZWxsbywgJHdvcmxkIVxuIjsKfQoK
PC8lcGVybD4KPCVkZWYgLndvcmxkPlwKV29ybGRcCjwvJWRlZj4K
------=_Part_112682_8924382.1216955195280
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
------=_Part_112682_8924382.1216955195280
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mason-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-devel

------=_Part_112682_8924382.1216955195280--