Bug 327

Summary: [Chameleon]Undefined variables in production.phtml
Product: Chameleon Reporter: Normand Savard <nsavard@mapgears.com>
Component: CoreAssignee: chameleon-dev <chameleon-dev@lists.maptools.org>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: 1.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description From 2004-03-24 16:04:14
Undefined variables in "production.phtml" warnings logged when opening "Print &
Save" window..

Steps to reproduce:

1.  Load "toporama_chameleon.php" (project:  chameleon_ctis).
2.  Click "Print and Save" button.
3.  Warnings are logged into the php log errors file (logging error set in
"php.ini" file).

Redhat 7.2
Chameleon, php_utils CVS 2004-03-24


PHP:
[24-Mar-2004 15:54:52] PHP Notice:  Undefined index:  bShowPreview in 
/home/testsuite/proj/chameleon_cvs/htdocs/widgets/production.phtml on line 571
[24-Mar-2004 15:54:52] PHP Notice:  Undefined index:  bShowDownload in
/home/testsuite/proj/chameleon_cvs/htdocs/widgets/production.phtml on line 572
[24-Mar-2004 15:54:52] PHP Notice:  Undefined variable:  txtFootDesc in
/home/testsuite/proj/chameleon_cvs/htdocs/widgets/production.phtml on line 577
[24-Mar-2004 15:55:33] PHP Notice:  Undefined index:  bShowPreview in
/home/testsuite/proj/chameleon_cvs/htdocs/widgets/production.phtml on line 571
[24-Mar-2004 15:55:33] PHP Notice:  Undefined index:  bShowDownload in
/home/testsuite/proj/chameleon_cvs/htdocs/widgets/production.phtml on line 572
[24-Mar-2004 15:55:33] PHP Notice:  Undefined variable:  txtFootDesc in
/home/testsuite/proj/chameleon_cvs/htdocs/widgets/production.phtml on line 577
------- Comment #1 From 2004-03-30 14:03:15 -------
I added an isset() validation around those variable.

Marking as FIXED
------- Comment #2 From 2004-05-26 10:36:30 -------
Verified on Linux.
------- Comment #3 From 2004-06-24 10:16:19 -------
 Same Question as bug 326: Should this bug be closed since it deals with
toporama. I do not even know if
this can be verified with chameleon 1.99 beta 2 2004-06-20.

Comments Please?
------- Comment #4 From 2004-07-05 14:31:28 -------
yes :>