Ticket #2254 (closed bug: duplicate)

Opened 4 years ago

Last modified 4 years ago

Format.GML.v2 and v3 fail when there's no geometry but bounds. JS error.

Reported by: fvanderbiest Owned by: tschaub
Priority: critical Milestone: 2.9 Release
Component: Format.GML Version: 2.8
Keywords: Cc:
State: Review

Description

The case happens for instance with WFS getFeature when requesting attributes properties but no geometry, passing the propertyNames option to the WFST protocol's read method.

The error is caused by the GML format's base.js affecting bounds to feature.geometry, but feature.geometry is null. The proposed patch deals with that by affecting bounds to the feature instead of the inexistent geometry. I'm not sure crschmidt will agree with that ;-)

Tests are provided.

Change History

Changed 4 years ago by fvanderbiest

  • status changed from new to closed
  • resolution set to duplicate

#2255 duplicate

Note: See TracTickets for help on using tickets.