Opened 7 years ago

Closed 7 years ago

#2548 closed defect (fixed)

Selection not cleared server-side

Reported by: gBecker Owned by:
Priority: high Milestone:
Component: General Version: 2.6.0
Severity: critical Keywords:
Cc: External ID:


When using the AjaxViewer and trying to clear a selection then this selection is not cleared server-side. This is related to MGOS 2.6 and the preview release of MGOS 3.0.

Steps to reproduce the Problem:

  1. Preview an existing MapDefinition with Maestro
  2. Select a feature
  3. Deselect the feature via toolbar or context menu
  4. Go to the "MapAgent Test Pages"
  5. Under "Rendering" service perform a "MAPIMAGE"-Request of the area where you formerly selected the feature.
  6. The selection is rendering with the map Image.

I turned on the browsers network analysis and detected a "silent" error when you are deselecting features. The request that should probably clear the selection returns a 559 http-error:

Request to mapagent.fcgi (POST):


return this error:

Argument is null.

- MgRenderingServiceHandler.ProcessOperation() line 83 file c:\working\build_area\mapguide\2.6.0\x64\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp
- MgOpQueryFeatures.Execute() line 125 file c:\working\build_area\mapguide\2.6.0\x64\mgdev\server\src\services\rendering\OpQueryFeatures.cpp
- MgServerRenderingService.QueryFeatures() line 853 file c:\working\build_area\mapguide\2.6.0\x64\mgdev\server\src\services\rendering\ServerRenderingService.cpp
- MgServerRenderingService.RenderForSelection() line 1187 file c:\working\build_area\mapguide\2.6.0\x64\mgdev\server\src\services\rendering\ServerRenderingService.cpp

Attachments (1)

2548.patch (752 bytes ) - added by jng 7 years ago.

Download all attachments as: .zip

Change History (2)

by jng, 7 years ago

Attachment: 2548.patch added

comment:1 by jng, 7 years ago

Resolution: fixed
Status: newclosed

Fixed trunk (r8567) and 2.6 (r8615)

Note: See TracTickets for help on using tickets.