Opened 13 years ago

Closed 13 years ago

#3701 closed patch (fixed)

eVis: can't create layer from MS Access query

Reported by: alexbruy Owned by: timlinux
Priority: major: does not work as expected Milestone: Version 1.7.0
Component: C++ Plugins Version: Trunk
Keywords: evis, add layer Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

eVis throws error when trying create layer from SQL query. To reproduce:

  1. create connection to the database
  2. create query "select * from species". Enter any layer name and don't change coordinate comboboxes
  3. Get error "Layer is not valid The layer C:/Temp/qt_temp.JC4076?delimiter= &xField=Lon&yField=Lat is not a valid layer and can not be added to the map"

Tested with r15645 and r15659

I think this is because of latest changes in delimited text provider and here is patch to fix this issue.

Attachments (2)

dbase.7z (6.8 KB ) - added by alexbruy 13 years ago.
Test database
evis_add_layer_fix.diff (1.3 KB ) - added by alexbruy 13 years ago.
Proposed patch

Download all attachments as: .zip

Change History (3)

by alexbruy, 13 years ago

Attachment: dbase.7z added

Test database

by alexbruy, 13 years ago

Attachment: evis_add_layer_fix.diff added

Proposed patch

comment:1 by alexbruy, 13 years ago

Resolution: fixed
Status: newclosed

Applied in r15676

Note: See TracTickets for help on using tickets.