Bug report #22033

DB Manger imports the wrong data

Added by Giovanni Manghi over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:High
Assignee:Alessandro Pasotti
Category:DB Manager
Affected QGIS version:3.6.2 Regression?:Yes
Operating System: Easy fix?:No
Pull Request or Patch supplied:Yes Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:29847

Description

Create a project

add a shapefile, suppose is named "layer1"

open db manager

select "import layer/file", the input layer shown by default will be "layer1"

click on the "..." button to go pick another shapefile (i.e. "layer2") from the file system

import it (after eventually having changed its name and import parameters)

actually the layer that will be imported is "layer1"


Related issues

Related to QGIS Application - Bug report #21544: DB Manager cannot import anymore from GeoJSON into a Spat... Feedback 2019-03-10

Associated revisions

Revision 3df7f897
Added by Alessandro Pasotti over 5 years ago

db-manager: Update input layer and table names

when selecting an external file

Fixes #22033 - wrong shapefile import

Revision 386262e3
Added by Alessandro Pasotti over 5 years ago

db-manager: Update input layer and table names

when selecting an external file

Fixes #22033 - wrong shapefile import

Revision f6844e03
Added by Alessandro Pasotti over 5 years ago

db-manager: Update input layer and table names

when selecting an external file

Fixes #22033 - wrong shapefile import

History

#1 Updated by Alessandro Pasotti over 5 years ago

  • Assignee set to Alessandro Pasotti

#2 Updated by Alessandro Pasotti over 5 years ago

  • Resolution set to fixed/implemented
  • Pull Request or Patch supplied changed from No to Yes
  • Status changed from Open to In Progress

#3 Updated by Alessandro Pasotti over 5 years ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Closed

#4 Updated by Alexander Bruy over 5 years ago

  • Related to Bug report #21544: DB Manager cannot import anymore from GeoJSON into a Spatialite table added

Also available in: Atom PDF