Opened 13 years ago

Closed 13 years ago

#1934 closed bug (wontfix)

Unable to remove shapefile field in Attribute table

Reported by: trapanator Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.4.0
Component: Vectors Version: Trunk
Keywords: Cc:
Must Fix for Release: Yes Platform: Debian
Platform Version: Awaiting user input: no


I compiled latest SVN trunk on Ubuntu amd64.

Steps to reproduce:

1) open vector layer 2) open layer properties 3) go to attribute table 4) enable edit mode 5) try to select and delete a field. Not possible.

Change History (3)

comment:1 by alexbruy, 13 years ago

Confirmed on Windows XP Pro SP3: I can create a new field but can't delete any existing field - Delete button is disabled

comment:2 by alexbruy, 13 years ago

Seems that this problem is OGR-related. OGR can't delete fields

comment:3 by jef, 13 years ago

Resolution: wontfix
Status: newclosed

QGIS queries the provider, if I can delete attributes. Depending on it's response the buttons are enabled or disabled. For the shape case OGR cannot delete attributes and therefore the button is disabled. Once support is added to OGR, QGIS will use it. So I'm closing this ticket.

See also GDAL ticket #2671

Note: See TracTickets for help on using tickets.