Opened 18 years ago

Closed 18 years ago

Last modified 15 years ago

#188 closed defect (invalid)

Edits of an added feature do not commit

Reported by: morb_au Owned by: gsherman
Priority: minor: annoyance Milestone:
Component: Digitising Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

In theory, if you add a feature to a layer, then show that layer in the attribute table, then edit an attribute of the new feature, then Stop Editing, then save your changes, the changed attribute values will *not* get committed.

The bug appears to be in the following if{} block illustrated in: http://svn.qgis.org/trac/browser/trunk/qgis/src/gui/qgsvectorlayer.cpp?rev=5584#L3358

This may not actually be a bug, but it didn't look right, and I don't have time to investigate at the moment.

Change History (3)

comment:1 by mhugent, 18 years ago

This works for me. I just edited an attribute value of an uncommited feature. Did you do anything special to get the bug?

Marco

comment:2 by morb_au, 18 years ago

Resolution: invalid
Status: newclosed

I'll close as it was a theoretical bug. In fact, I looked a little further and realised that the assumption made in the original code passage was valid.

comment:3 by (none), 15 years ago

Milestone: Version 0.8

Milestone Version 0.8 deleted

Note: See TracTickets for help on using tickets.