Your message dated Mon, 24 Oct 2022 19:27:03 +0000
with message-id <e1on36f-005xnz...@fasolo.debian.org>
and subject line Bug#1021571: fixed in smarty3 3.1.47-1
has caused the Debian Bug report #1021571,
regarding smarty3: Parse error in 
/usr/share/php/smarty3/sysplugins/smarty_internal_templateparser.php on line 24
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1021571: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021571
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: smarty3
Version: 3.1.45-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

I'm testing some build scripts and testing my package on a VM running bookworm, 
my application uses smarty3

Turns out that the latest smarty3 is broken, smarty_internal_templateparser.php 
has this bit of code between two classes:


   // line  "./lexer/smarty_internal_templateparser.y"
   0
   // line 11 "./lexer/smarty_internal_templateparser.y"

and that stray 0 breaks the template parser...since the template parser is 
really all smarty does, this breaks the package

My test case for the bug report is:

   <?php
   require_once('/usr/share/php/smarty3/Smarty.class.php');
   $smarty  = new Smarty();
   $smarty->setTemplateDir('/var/www/html/');
   $smarty->testInstall();
   
   // assign some content. This would typically come from
   // a database or other source, but we'll use static
   // values for the purpose of this example.
   $smarty->assign('name', 'george smith');
   $smarty->assign('address', '45th & Harris');
   
   $smarty->debugging = true;
   
   // display it
   $smarty->display('test.tpl');
   ?>

And test.tpl:

    <html>
    <head>
    <title>Info</title>
    </head>
    <body>
    
    <pre>
    User Information:
    
    Name: {$name}
    Address: {$address}
    </pre>
    
    </body>
    </html>




-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.19.0-2-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages smarty3 depends on:
ii  php                   2:8.1+92
ii  php-common            2:92
ii  php8.1 [php]          8.1.7-1
ii  php8.1-cli [php-cli]  8.1.7-1+b1

smarty3 recommends no packages.

smarty3 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: smarty3
Source-Version: 3.1.47-1
Done: Mike Gabriel <sunwea...@debian.org>

We believe that the bug you reported is fixed in the latest version of
smarty3, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1021...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mike Gabriel <sunwea...@debian.org> (supplier of updated smarty3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 24 Oct 2022 20:52:45 +0200
Source: smarty3
Architecture: source
Version: 3.1.47-1
Distribution: unstable
Urgency: medium
Maintainer: Mike Gabriel <sunwea...@debian.org>
Changed-By: Mike Gabriel <sunwea...@debian.org>
Closes: 1021571
Changes:
 smarty3 (3.1.47-1) unstable; urgency=medium
 .
   * New upstream release.
   * debian/rules:
     + Disable configparser and templateparser creation temporarily. Use
       the files generated/provided by upstream for now.(Closes: #1021571).
Checksums-Sha1:
 faca4d0add7c566e05e30b6dbc37a1af23361f3b 1980 smarty3_3.1.47-1.dsc
 70ca3a4b318f0766e73cd7cdd1d8078f1b0cd5c8 266736 smarty3_3.1.47.orig.tar.gz
 a45cfa9a7ffeaff5e61e5e3bf2d3963a41ca2c99 5872 smarty3_3.1.47-1.debian.tar.xz
 f9f517be2a230c7901d67dddba2dc0e461bf1489 6866 smarty3_3.1.47-1_source.buildinfo
Checksums-Sha256:
 9a5226cb894e0f530c936e0b21c768715ae49a5acbc18a28d0ce1698d0586fb1 1980 
smarty3_3.1.47-1.dsc
 c38db4b6be9891dd6f20c5d96f475c4539e310bb67a0e2aad7d6d585f14c8be0 266736 
smarty3_3.1.47.orig.tar.gz
 eca8b8bf7aea31f50aeda3357bb8e337bfbcefb7584d2dfee114dbaf6ce9402c 5872 
smarty3_3.1.47-1.debian.tar.xz
 4f9e7e38cd65ab7a7a7a7308b0fadf83b224b2b5cc56eb73ccaafdc302e7c6c4 6866 
smarty3_3.1.47-1_source.buildinfo
Files:
 d951ba5828422deec1bf34c4fc9e614d 1980 web optional smarty3_3.1.47-1.dsc
 d1a27eb9553a61758d76edc589dc4a8c 266736 web optional smarty3_3.1.47.orig.tar.gz
 9254a6c8ebc2a195376714bd9af2b876 5872 web optional 
smarty3_3.1.47-1.debian.tar.xz
 ff44a1195acafea509031a3a8f645b82 6866 web optional 
smarty3_3.1.47-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmNW4F8VHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxeKYQAJhf//JZTzIt64fYnIEkwmSAVkc9
UGOOFRzGq7iAWswA5czAfpd9KZwM88iCFh7eksOMwuas+1+vEDrrTGekH8klWoOD
72ZqAFiq+YailG94i2VwkJQva3lNy0e50u9uWunL+1LlImMALzguxDWj9NMeGYs7
HGdFuuv7rTc0vIZTBON8+7yjYgoQZz+33YCwxiWtmpgg1kCOd/aU/ua++jg3xpcy
ESQECKURDZCkIZDhLETm4M21tkTdW4cVsyIohe16lrtc6NxKiOgvRfc9wM8FIBc6
qp9uHNrBmTmW83shEtZC+O7pkAaDMw/lrfJ9gA8iqamet9Chn9kR8+PtpuEgrrJ7
dCdsyOppy8SceeAxaMQOozjKTjppbcdPKGJE6+88tw46cyWdOAZmJLM2EsF+HHpI
2rCw3yvCW8MNnnBsx8Yunh3x2pukYtvg8BYpgyTb6kdTlAN6cWOtcmT+N8G0vvqX
oPQ9u7kdJtQJPjvuinnpGUfvBHWxc560ddkrTZnV/0YGRfEoXVijWJA2snU4Z75g
30ck0P2GWrWt0eM5BTtnh04eIryNuM6QcTLm551VDCOXUqESgeEN72BDdRuGof47
rkT0SF3Dmzi+jNKdmCJjDJtDePPvEZGtmu3Hhs6oTDoeID9G3BpgAv/3hVG5EVIb
gvT5wd3AM3eNw+Vu
=h4o7
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to