Bug report #6473

QGIS crashes when opening the attribute table of a geometryless WFS layer

Added by Chris Smith about 12 years ago. Updated over 11 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:Web Services clients/WFS
Affected QGIS version:1.8.0 Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed
Crashes QGIS or corrupts data:Yes Copied to github as #:15704

Description

Using QGIS 1.8 on Windows 7 Pro 64bit, if I attempt to add a layer from a WFS source where the layer has no geometry then QGIS crashes.

History

#1 Updated by Giovanni Manghi about 12 years ago

  • Status changed from Open to Feedback

A patch to support geometryless wfs tables was added to qgis master a couple of days ago. Please give it a try and report back.

#2 Updated by Chris Smith about 12 years ago

I tried qgis master and i can now add the layer however I now get a crash when i try to open the attribute table.

#3 Updated by Giovanni Manghi almost 12 years ago

  • Subject changed from QGIS crashes when loading a WFS layer with no geometry to QGIS crashes when opening the attribute table of a geometryless WFS layer

#4 Updated by Giovanni Manghi almost 12 years ago

  • Priority changed from Normal to Severe/Regression

support for geometryless wfs tables is a new feature and should work ok before shipping any new qgis release.

#5 Updated by Jeremy Palmer over 11 years ago

This works for me on master. Chris can you confirm this is still an issue?

If it is still an issue can you provide a example URL and typeName?

#6 Updated by Giovanni Manghi over 11 years ago

Jeremy Palmer wrote:

This works for me on master. Chris can you confirm this is still an issue?

If it is still an issue can you provide a example URL and typeName?

I just tested with qgis master both on desktop and server.

It doesn't crash, but the geometryless tables does not show in the desktop. In the TOC the geometryless table does not show with the right icon. Don't know if is a server or client issue.

If someone can provide a url with a geomteryless server available on server different from qgis server I can test, and then eventually file a ticket against qgis server.

#7 Updated by Giovanni Manghi over 11 years ago

  • Resolution set to fixed
  • Status changed from Feedback to Closed

it works now with QGIS server, if this is still an issue with other servers please reopen.

Also available in: Atom PDF