You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Angus Lees <gu...@inodes.org> on 2002/10/02 14:27:03 UTC

debian package news (was: make test error)

At Tue, 1 Oct 2002 12:26:20 +0200, Andre Landwehr wrote:
> As I understood Angus (the package maintainer) might have a look
> at perl 5.8 issues while Gerald is too busy, so we might soon
> have an official 2.0b8 package available.

i've done 1.3.4 and 2.0b8 packages, except for the not working with
5.8 issue.  i should just compile them against 5.6.1 (woody) and make
them available i guess - i'll try and do that this weekend.

> Btw: I built SessionX and Embperl 2.0b8 packages for myself, you
> can grab them at http://lug-owl.de/~andrel/ if you're interested..

i uploaded libapache-sessionx-perl on the weekend, and it should be on
your nearest debian unstable archive by now.  It has a fairly
extensive debconf setup, i'd be interested in people's opinions (and
bug reports).

a new libdbix-recordset-perl went up a few days ago too. this fixes a
few more bugs (s/$self->savecroak/$self->{'*Recordset'}->savecroak/ in
a few places).  Gerald (and others), you probably just want to grab
 ftp://ftp.debian.org/debian/pool/main/libd/libdbix-recordset-perl/libdbix-recordset-perl_0.24-4.diff.gz
and cut out the Recordset.pm patch. the debian/changelog file (also in
that .diff.gz) should detail the changes against standard 0.24.

-- 
 - Gus

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: debian package news (was: make test error)

Posted by Gerald Richter <ri...@ecos.de>.
>
> well spotted.  as far as i can tell, this feature wasn't working at
> all previously (i've duplicated that effect in some
> DBIx::Recordset-using code at least once myself).
>

Also your patch makes sense, it works for me with DBIx::Recordset 0.24
without problems....

Anyway with the patch it should work always, which is of course better :-)

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------





---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: debian package news (was: make test error)

Posted by Angus Lees <gu...@inodes.org>.
At Wed, 2 Oct 2002 14:41:25 +0200, Andre Landwehr wrote:
> On Wed, Oct 02, 2002 at 10:27:03PM +1000, Angus Lees wrote:
> >  ftp://ftp.debian.org/debian/pool/main/libd/libdbix-recordset-perl/libdbix-recordset-perl_0.24-4.diff.gz
> 
> something in that patch broke the PrevNextForm. It does not
> display a next button and the log says:
> 
> Use of uninitialized value in numeric gt (>) at /usr/share/perl5/DBIx/Recordset.pm line 3114.
> Use of uninitialized value in numeric gt (>) at /usr/share/perl5/DBIx/Recordset.pm line 3118.


well spotted.  as far as i can tell, this feature wasn't working at
all previously (i've duplicated that effect in some
DBIx::Recordset-using code at least once myself).

here's a patch that should fix it.

 - Gus


Index: Recordset.pm
===================================================================
RCS file: /var/lib/cvs/debian/libdbix-recordset-perl/Recordset.pm,v
retrieving revision 1.3
diff -u -c -r1.3 Recordset.pm
--- Recordset.pm	28 Sep 2002 07:26:18 -0000	1.3
+++ Recordset.pm	2 Oct 2002 22:45:28 -0000
@@ -3111,11 +3111,11 @@
         $buttons .= "$esc<input type=$esc\"text$esc\" size=6 name=$esc\"\$gotorow$esc\"$esc>" ;
         $buttons .= "$esc<input type=$esc\"submit$esc\" name=$esc\"\$goto$esc\" value=$esc\"$textgoto$esc\"$esc> " ;
         }
-    if ($more > 0 && $textnext)
+    if ($more && $textnext)
         {
         $buttons .= "$esc<input type=$esc\"submit$esc\" name=$esc\"\$next$esc\" value=$esc\"$textnext$esc\"$esc> " ;
         }
-    if ($more > 0 && $textlast)
+    if ($more && $textlast)
         {
         $buttons .= "$esc<input type=$esc\"submit$esc\" name=$esc\"\$last$esc\" value=$esc\"$textlast$esc\"$esc>" ;
         }

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: debian package news (was: make test error)

Posted by Andre Landwehr <an...@gmx.net>.
On Wed, Oct 02, 2002 at 10:27:03PM +1000, Angus Lees wrote:
> a new libdbix-recordset-perl went up a few days ago too. this fixes a
> few more bugs (s/$self->savecroak/$self->{'*Recordset'}->savecroak/ in
> a few places).  Gerald (and others), you probably just want to grab
>  ftp://ftp.debian.org/debian/pool/main/libd/libdbix-recordset-perl/libdbix-recordset-perl_0.24-4.diff.gz

Hi Gus, hi all,
something in that patch broke the PrevNextForm. It does not
display a next button and the log says:

Use of uninitialized value in numeric gt (>) at /usr/share/perl5/DBIx/Recordset.pm line 3114.
Use of uninitialized value in numeric gt (>) at /usr/share/perl5/DBIx/Recordset.pm line 3118.

A temporary workaround is to do a $set->Reset just before calling
PrevNextForm, which of course results in an additional empty page
after the last page.

Andre

--
"The inside of a computer is as dumb as hell, but it goes like mad!"
(Physicist Richard Feynman)


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org