#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:
- Open one flexible web layout with consumer maps.
- 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)
Change History (5)
comment:1 by , 15 years ago
by , 15 years ago
Attachment: | Patch336.patch added |
---|
comment:2 by , 15 years ago
Milestone: | Future → 2.1 |
---|---|
Version: | 1.1.1 → SVN |
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 , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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.