[mapguide][MG75][Modified] Web layout status bar does not correctly show position

Walt Welton-Lair walt.welton-lair at autodesk.com
Tue Mar 7 00:55:36 EST 2006


You can view the artifact detail at the following URL:

    https://mapguide.osgeo.org/servlets/Scarab/id/MG75

Type:
Defect

Artifact ID:
MG75 (Web layout status bar does not correctly show position)

Modified by:
Walt Welton-Lair
waltweltonlair (walt.welton-lair at autodesk.com)

The following modifications were made to this artifact:
---------------------------------------------------------------------

-- Developer Notes set to new value:
Old value:
The problem is caused by an invalid request made by the status bar component.  The status bar is requesting "/mapguide/localized/"...  Because invalid the request fails, the status bar does not fully load, and thus is only partly functional.

Here's the request info as sniffed by Fiddler:

GET /mapguide/localized/ HTTP/1.1
Accept: */*
Referer: http://ith12356358/mapguide/mapviewerdwf/statusbar.php
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727)
Host: ith12356358
Proxy-Connection: Keep-Alive


And here's the server response:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /mapguide/localized/ was not found on this server.</p>
<hr>
<address>Apache/2.0.55 (Win32) Server at ith12356358 Port 80</address>
</body></html>

-----------------------------------
While you're at it, Fiddler also reports a second invalid request.  This one is made by the taskbar and it requests "/mapguide/mapviewerdwf/".

GET /mapguide/mapviewerdwf/ HTTP/1.1
Accept: */*
Referer: http://ith12356358/mapguide/mapviewerdwf/taskbar.php
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727)
Host: ith12356358
Proxy-Connection: Keep-Alive


The response is:

<br />
<b>Notice</b>:  Undefined index:  WEBLAYOUT in <b>C:\BuildArea\mapguide-1.0.0\Web\src\mapviewerphp\mainframe.php</b> on line <b>561</b><br />
<html>
<body>
<h2>Invalid repository type.</h2>
Invalid repository type.
Exception occurred in method MgResourceIdentifier.CheckRepositoryType at line 420 in file c:\buildarea\mapguide-1.0.0\common\service\services\ResourceIdentifier.cpp
</body>
</html>


I'm not sure what side affects, if any, this second invalid request has.

New value:
The problem is caused by an invalid request made by the status bar component.  The status bar is requesting "/mapguide/localized/"...  Because invalid the request fails, the status bar does not fully load, and thus is only partly functional.

Here's the request info as sniffed by Fiddler:

GET /mapguide/localized/ HTTP/1.1
Accept: */*
Referer: http://ith12356358/mapguide/mapviewerdwf/statusbar.php
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727)
Host: ith12356358
Proxy-Connection: Keep-Alive


And here's the server response:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /mapguide/localized/ was not found on this server.</p>
<hr>
<address>Apache/2.0.55 (Win32) Server at ith12356358 Port 80</address>
</body></html>

-----------------------------------
While you're at it, Fiddler also reports a second invalid request.  This one is made by the taskbar and it requests "/mapguide/mapviewerdwf/".

GET /mapguide/mapviewerdwf/ HTTP/1.1
Accept: */*
Referer: http://ith12356358/mapguide/mapviewerdwf/taskbar.php
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727)
Host: ith12356358
Proxy-Connection: Keep-Alive


The response is:

<br />
<b>Notice</b>:  Undefined index:  WEBLAYOUT in <b>C:\BuildArea\mapguide-1.0.0\Web\src\mapviewerphp\mainframe.php</b> on line <b>561</b><br />
<html>
<body>
<h2>Invalid repository type.</h2>
Invalid repository type.
Exception occurred in method MgResourceIdentifier.CheckRepositoryType at line 420 in file c:\buildarea\mapguide-1.0.0\common\service\services\ResourceIdentifier.cpp
</body>
</html>


I'm not sure what side affects, if any, this second invalid request has.


UPDATE - 3/7/06: the first invalid request no longer occurs with build 165.1.  The previous build was missing the "web/src/localized" folder, and that's what caused the request to fail.  I do, however, still get the second invalid request.

-- Priority changed:
Old value:
P2
New value:
P3
-- Description set to new value:
Old value:
The position indicator on the status bar only shows "(Degrees)" with the Sheboygan map.  Also the "Powered by MapGuide" icon is missing.  This happens:
- when previewing a web layout in Studio or viewing it in a separate browser instance
- with both IE and Firefox
- with both DWF and AJAX Viewer

This is a recently introduced regression.  It doesn't cause a crash, but it's a high-visibility defect that, IMO, should be fixed for our final 1.0.0 release.

New value:
The position indicator on the status bar only shows "(Degrees)" with the Sheboygan map.  Also the "Powered by MapGuide" icon is missing.  This happens:
- when previewing a web layout in Studio or viewing it in a separate browser instance
- with both IE and Firefox
- with both DWF and AJAX Viewer

This is a recently introduced regression.  It doesn't cause a crash, but it's a high-visibility defect that, IMO, should be fixed for our final 1.0.0 release.

UPDATE - 3/7/06: this is mostly fixed in build 165.1.  Still broken:
- the AJAX viewer web layout status bar shows "(Degree)" next to the lat/lon coordinates, while the DWF Viewer web layout status bar shows "(degrees)".  The latter is the correct string.

-- Defect Severity changed:
Old value:
High
New value:
Medium



---------------------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Mapguide_issues mailing list