Opened 15 years ago

Closed 12 years ago

#1299 closed defect (fixed)

mapagent test pages uses hardcoded root virtual directory name

Reported by: jng Owned by:
Priority: medium Milestone: 2.4
Component: Map Agent Version: 2.1.0
Severity: trivial Keywords:
Cc: External ID:

Description

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.

Change History (2)

comment:1 by jng, 12 years ago

Milestone: 2.4

comment:2 by jng, 12 years ago

Resolution: fixed
Status: newclosed

Fixed 2.4 (r6869) and trunk (r6870)

Note: See TracTickets for help on using tickets.