Bug 327 - [Chameleon]Undefined variables in production.phtml
: [Chameleon]Undefined variables in production.phtml
Status: CLOSED FIXED
: Chameleon
Core
: 1.1
: PC Linux
: P2 normal
: ---
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-03-24 16:04 by
Modified: 2004-07-05 14:31 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


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 :>