Bug report #5155
memory layer attribute fields are combined when a memory layer or columns in a memory layer are deleted
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||All||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||not reproducable|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||14907|
I guess this is a problem with the "Memory layer" data provider, but I could be wrong.
1) When I use the "Profile from Line" plugin it creates a memory layer called "temporary points". If I then run the plugin again (possibly selecting a different raster to sample), it creates another memory layer called "temporary points". Everything is fine at this stage, however if I delete one of the layers and then open the attribute table of the other layer, it looks like attribute tables of the two layers have been combined (there are twice as many columns).
2) Similarly, if I use the "delete column" tool on a memory layer, when I reopen the attribute table it has combined the old set of columns with the new set of columns, so all of the columns except the ones I deleted appear twice!
#2 Updated by Alister Hood over 8 years ago
- Operating System set to All
I tried to reproduce with new memory layers from "new memory layer plugin" and I could not reproduce
Ah, yes. I don't seem to be able to reproduce either issue with layers from the "new memory layer" plugin either.
Could this be a Profile From Line plugin bug?
Maybe; I can't say I understand anything about how all this works.
If that is the case it would seem strange to me though. I would have thought if you create a memory layer you create a memory layer. What could the "Profile From Line" plugin be doing wrong? What does it do differently from the "New Memory Layer" plugin?
#7 Updated by Médéric RIBREUX almost 5 years ago
- Status changed from Open to Feedback
Hello, bug triage...
I think we can close this bug. The new memory layer has been implemented in QGIS core (the old memory layer has been dropped, as far as I know).
Do you still have problems with the Profile plugin ?