Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#336 closed defect (fixed)

Selection Panel: Nothing shown in the panel after select object in map with consumer maps.

Reported by: jennyhe Owned by: madair
Priority: P2 Milestone:
Component: Widgets Version: SVN
Severity: Major Keywords:
Cc: arthur.liu@… Browser: All
External ID: 1280026 Operating System: All
state: New

Description

Report from Autodesk QA

Steps:

  1. Open one flexible web layout with consumer maps.

http://mg2011public:8008/mapguide2011/fusion/templates/mapguide/slate/index.html?ApplicationDefinition=Library%3a%2f%2fSDFForCommercialLayer%2fWeb%2fF_withGoogle.ApplicationDefinition

  1. Select one object

Result: Object is highlight, however, nothing shown in selection panel.

Expected results: The properties of selected objects should be shown in selection panel.

Attachments (1)

Patch336.patch (603 bytes ) - added by liuar 14 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by liuar, 14 years ago

In Map.js line 484:
the variable nSelectionMaps' value is equal to the number of maps in current map group.

In Map.js line 512:
if the nSelectionMaps' value is not equal to 1, the aSelectionCallbacks will never be excuted.

If we include commercal layers in Map,methods renderSelection and renderSelectionLayers in widget SelectionPanel will not be excuted. So the properties of the selected objects will not show in selection panel.

There's a workaround to fix this defect: verify the map's type before adding nSelectionMaps. If the map is commercial layer, the value for nSelectionMaps will not change.

by liuar, 14 years ago

Attachment: Patch336.patch added

comment:2 by madair, 14 years ago

Milestone: Future2.1
Version: 1.1.1SVN

the patch looks fine, it shouldn't break anything in any case. Assuming it has been tested and fixes the issue, I would recommend applying it.

It would make testing and debugging these issues if the ApplicationDefinition file (and using the Sheboygan data if at all possible) was attached to tickets.

comment:3 by liuar, 14 years ago

Resolution: fixed
Status: newclosed

comment:4 by madair, 14 years ago

Milestone: 2.1

Milestone 2.1 deleted

Note: See TracTickets for help on using tickets.