Opened 15 years ago

Closed 15 years ago

#371 closed defect (fixed)

Theme: Warning message pop-up when theme on map whose layer doesn't have feature class

Reported by: liuar Owned by: madair
Priority: P2 Milestone: Future
Component: Widgets Version: 1.1.1
Severity: Major Keywords:
Cc: Browser: All
External ID: 1308295.01 Operating System: All
state: Committed

Description

This is because when coming to map base layer, there is no feature class name.

To fix this defect,
change the fusion\widgets\Theme\classes\theme.php in this way.

line 65:

$schemaClass = explode(':', $layer->GetFeatureClassName());   

change to:

$layerFeatureClassName = $layer->GetFeatureClassName();
if($layerFeatureClassName == "") 
    continue;
$schemaClass = explode(':', $layerFeatureClassName);

Change History (1)

comment:1 by liuar, 15 years ago

Resolution: fixed
state: NewCommitted
Status: newclosed

Fixed in ChangeSet [2100]

Note: See TracTickets for help on using tickets.