#2649 closed bug (fixed)
editing postgis attriubte table crashs qgis when some fields are hidden
Reported by: | cmoe | Owned by: | nobody |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | Version 1.5.0 |
Component: | Data Provider | Version: | Trunk |
Keywords: | attribute table; editing | Cc: | |
Must Fix for Release: | Yes | Platform: | RedHat |
Platform Version: | Awaiting user input: | no |
Description
Editing the attribute table of an postgis layer with hidden fields leads to a crash when toggling back the editing mode.
- Add a postgis layer to qgis
- Open the layer properties
- Go to the attributes and set for some fields the edit widget to 'hidden'
- Open the attribute table
- Enable editing and do some changes
- Disable editing
- Qgis crashes
The message in the terminal window is: Fatal: ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/local/qt-4.5.2/include/QtCore/qlist.h, line 399
Reloading the same postgis layer shows, that the changes are saved, its only qgis that crashes ....
Note:
See TracTickets
for help on using tickets.
probably fixed r13310 - although the crash wasn't reproducable here.