Opened 10 years ago

Last modified 5 years ago

#2640 new defect

newline in attribute table record

Reported by: annakrat Owned by: grass-dev@…
Priority: normal Milestone: 7.8.3
Component: Database Version: svn-releasebranch70
Keywords: v.db.select, dbmgr, attribute table Cc:
CPU: Unspecified Platform: All

Description

I attached a testing shapefile where some of the records have a newline. Then v.db.select gives:

cat|LABEL|LABEL2
1|Newline at the end
|xx
2|Newline
In the middle|xx
3|No newline here|xx

This can't be parsed correctly and as a result Attribute manager fails with inconsistent number of attributes. It's not just problem of GUI, this will affect any parsing in a user script for example. One possibility would be to use different format, for example JSON.

Attachments (1)

test_problem.tar.gz (666 bytes ) - added by annakrat 10 years ago.
shapefile for testing in nc_spm

Download all attachments as: .zip

Change History (13)

by annakrat, 10 years ago

Attachment: test_problem.tar.gz added

shapefile for testing in nc_spm

comment:1 by neteler, 9 years ago

Milestone: 7.0.17.0.2

Ticket retargeted after 7.0.1 milestone closed

comment:2 by neteler, 9 years ago

Milestone: 7.0.27.0.3

Ticket retargeted after milestone closed

comment:3 by neteler, 9 years ago

Milestone: 7.0.3

Ticket retargeted after milestone closed

comment:4 by neteler, 9 years ago

Milestone: 7.0.4

Ticket retargeted after 7.0.3 milestone closed

comment:5 by martinl, 8 years ago

Milestone: 7.0.47.0.5

comment:6 by neteler, 8 years ago

Milestone: 7.0.57.0.6

comment:7 by neteler, 7 years ago

Milestone: 7.0.67.0.7

comment:8 by martinl, 5 years ago

Milestone: 7.0.77.8.0

comment:9 by neteler, 5 years ago

Milestone: 7.8.07.8.1

Ticket retargeted after milestone closed

comment:10 by neteler, 5 years ago

Milestone: 7.8.17.8.2

Ticket retargeted after milestone closed

comment:11 by neteler, 5 years ago

Milestone: 7.8.2

Ticket retargeted after milestone closed

comment:12 by neteler, 5 years ago

Milestone: 7.8.3
Note: See TracTickets for help on using tickets.