Opened 14 years ago

Closed 13 years ago

#2636 closed bug (fixed)

Connection to CSV layer cannot be restored if CSV is moved

Reported by: gislab Owned by: gjm
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: Data Provider Version: Trunk
Keywords: Cc: dr, alexbruy
Must Fix for Release: No Platform: Windows
Platform Version: Awaiting user input: yes

Description

  1. Create project
  2. Create a layer from csv
  3. Save project
  4. Close QGIS
  5. Move csv somewhere else
  6. Open saved project
  7. When asked to find a layer, try to choose CSV from where it was moved

Change History (4)

comment:1 by gjm, 14 years ago

Awaiting user input: set
Owner: changed from nobody to gjm

Works for me when I open csv layer through the open vector method. It doesn't work when I open a csv file using the delimited text plugin. Which method was causing the problem for you?

comment:2 by pcav, 13 years ago

Could you please check if it si still true, otherwise closing it? Thanks.

comment:3 by alexbruy, 13 years ago

This is true when point layer created with Delimited Text plugin. When CSV opened as geometryless layer with Open Vector all works.

comment:4 by aghisla, 13 years ago

Resolution: fixed
Status: newclosed

With r15703 (and probably older revisions, but I didn't test), moving the CSV file raises a "Handle bad layers" dialog, and allows to find the files created both by Delimited Text and Open Vector.

Note: See TracTickets for help on using tickets.