Bug 395 - [Chameleon]Fatal error when adding map tips after zoomed to BB
: [Chameleon]Fatal error when adding map tips after zoomed to BB
Status: CLOSED FIXED
: Chameleon
Core
: 1.99
: PC Linux
: P2 blocker
: ---
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-05-19 10:29 by
Modified: 2004-08-10 15:37 (History)


Attachments


Note

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


Description From 2004-05-19 10:29:42
A fatal error is generated after using "Zoom to bounding box or point" and "Map
Tips" tool.  I tried to narrow down the steps to reproduce it more but without
success.


Steps to reproduce:
1.  Load the "sample_enhanced.phtml" template.
2.  Click on the "Zoom to bounding box or point" button.
3.  Set specific coordinates (example: remove the last digit of the four  
    coordinates)
4.  Click "OK">
5.  Select the "Tools" tab.
6.  Click on "Map Tips" tools.
7.  Select "popplace" layer.
8.  Select "NAME" as attribute.
9.  Select "UNIQUE_KEY" as unique ID field value.
10.  Click "OK".
11.  Fatal error.



Fedora Core 1
Mozilla 1.6
Chameleon tarball 2004-05-13

--------------
PHP error:

[19-May-2004 10:17:48] PHP Fatal error:  Call to a member function on a
non-object in
/home/nsavard/proj/chameleon_beta/htdocs/widgets/BoundingBoxPopup/BoundingBoxPopup.widget.php
on line 166
------- Comment #1 From 2004-05-19 17:16:14 -------
there are two bugs here.  First, a number of widgets were outputing the value of
NAV_CMD from the previous page into the new page, this was causing the
BoundingBoxPopup widget to try to display an error message.  The error noted
below was from the fact that the BoundingBoxPopup widget did not properly
initialize its language resource.  This error could have also happened in a
number of other widgets.  I have reviewed all widgets accessing language files
to ensure that they are properly initialized.  I have also removed
initialization of NAV_CMD from several widgets to prevent this error.
------- Comment #2 From 2004-05-26 08:41:25 -------
Verified on Linux and the Map Tips functionality is working well.
------- Comment #3 From 2004-05-26 09:16:36 -------
Verified on Windows. Closed.
------- Comment #4 From 2004-08-10 15:37:13 -------
Changing Version to 1.99 (2.0 not being worked on yet).