Opened 10 years ago
Last modified 5 years ago
#2640 new defect
newline in attribute table record
Reported by: | annakrat | Owned by: | |
---|---|---|---|
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)
Change History (13)
by , 10 years ago
Attachment: | test_problem.tar.gz added |
---|
comment:5 by , 9 years ago
Milestone: | 7.0.4 → 7.0.5 |
---|
comment:6 by , 8 years ago
Milestone: | 7.0.5 → 7.0.6 |
---|
comment:7 by , 7 years ago
Milestone: | 7.0.6 → 7.0.7 |
---|
comment:8 by , 6 years ago
Milestone: | 7.0.7 → 7.8.0 |
---|
comment:12 by , 5 years ago
Milestone: | → 7.8.3 |
---|
Note:
See TracTickets
for help on using tickets.
shapefile for testing in nc_spm