[mapguide-trac] #1299: mapagent test pages uses hardcoded root virtual directory name

MapGuide Open Source trac_mapguide at osgeo.org
Thu Mar 25 05:30:23 EDT 2010


#1299: mapagent test pages uses hardcoded root virtual directory name
-------------------------+--------------------------------------------------
   Reporter:  jng        |       Owner:       
       Type:  defect     |      Status:  new  
   Priority:  medium     |   Milestone:       
  Component:  Map Agent  |     Version:  2.1.0
   Severity:  trivial    |    Keywords:       
External_id:             |  
-------------------------+--------------------------------------------------
 In testing the trunk installer for side-by-side compatibility with an
 existing MGOS 2.1 installation, if the 2.2 installer was configured under
 a different virtual directory from the default (mapguide), the 2.2
 mapagent test pages will still be talking to the 2.1 server.

 This is because the following mapagent files:

  * setactiontarget.js
  * setajaxactiontarget.js
  * setdwfactiontarget.js

 uses a hardcoded root url (/mapguide/...)

 Thus if I installed mapguide under a virtual directory (eg. mapguide22),
 the mapagent test pages will never be submitting requests to the mapagent
 installed under the mapguide22 virtual directory.

 These urls should not be hard-coded. They ideally should be relative.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1299>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list