Bug 328 - [Chameleon]Undefined index in production_draw_legend.php
: [Chameleon]Undefined index in production_draw_legend.php
Status: CLOSED FIXED
: Chameleon
Core
: 1.1
: PC Linux
: P2 normal
: ---
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-03-24 16:08 by
Modified: 2004-06-23 14:32 (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:08:05
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:10] PHP Notice:  Undefined offset:  3 in
/home/testsuite/proj/chameleon_cvs/htdocs/widgets/production_draw_legend.php on
line 253
------- Comment #1 From 2004-03-24 16:22:51 -------
In the bug description it should be read "production_draw_legend.php" instead of
"production.phtml".
------- Comment #2 From 2004-03-30 14:23:44 -------
This was a little bit more complicated. The style href was fetched with the
mapserver 40 method not mapserver4.1. I made the change to support
wms_style_[stylename]_legendurl_href instead of exploding
wms_style_[stylename]_legendurl and get the last value. (See the MapContext
documentation for more details)

Marking as FIXED.
------- Comment #3 From 2004-05-26 10:29:59 -------
Verified on Linux.
------- Comment #4 From 2004-06-23 14:32:14 -------
verified again on windows using beta 2 2004-06-20 sample app.

closing bug