Opened 16 years ago

Closed 14 years ago

#434 closed defect (worksforme)

Load WFS fails when abstract (keyword) is empty

Reported by: astrid_emde Owned by: christoph
Priority: major Milestone: 2.7 release
Component: administration Version: 2.5.1
Keywords: load WFS Cc:

Description

I can't load my Geoserver WFS

Error Mesaage:

  • PHP Fatal error: Cannot access empty property in D:\webgis\Programme\Mapbender251\http\classes\class_wfs.php on line 164

I have one FeatureType without Abstract and Keyword (these are optional parameters so this should be possible)

<FeatureType>
<Name>sww:baumassnahme</Name>
<Title>Baumassnahme</Title>
<Abstract/>
<Keywords/>
<SRS>EPSG:31466</SRS>
<LatLongBoundingBox minx="2565010.0" miny="5628980.0" maxx="2572990.0" maxy="5634960.0"/>
</FeatureType>

row 164: in class_wfs

		if($section == "featuretype" && strtoupper($element[tag]) == "ABSTRACT"){
			$featuretype_abstract = $this->$element[value];
		}

Change History (3)

comment:1 by astrid_emde, 16 years ago

Milestone: 2.6 release2.5.2 release
Version: 2.6 rc12.5.1
  • sorry - noticed in Mapbender Version 2.5.1 with GeoServer 1.5.3

comment:2 by christoph, 15 years ago

Milestone: 2.5.2 release2.6 release

comment:3 by christoph, 14 years ago

Resolution: worksforme
Status: newclosed

must have been resolved during the WFS redesign.

Note: See TracTickets for help on using tickets.