[PATCH] Fix data loss with localfile field
authorThomas Fischer <thomas.fischer@t-fischer.net>
Mon, 5 Nov 2012 10:50:09 +0000 (11:50 +0100)
committerBastien Roucariès <roucaries.bastien+debian@gmail.com>
Tue, 4 Dec 2012 12:32:20 +0000 (12:32 +0000)
commit30e2f1e514cfb97aed8d90a54e9cb3ce974ed70f
treeed18b7fd35a5a11b367549b82acd8b88fc780a9b
parent7a57f723c3f849c299c336600324dcd4e15fe500
[PATCH] Fix data loss with localfile field

Bibtex file with localfile field are destroyed by current kbibtex.
If you create an article with your favorite editor:

@article{test,
author = "test",
title = "test",
journal = "test",
year = 2012,
localfile = "/tmp/test.pdf",
}

during loading the file kbibtex convert local file to http://test.pdf

The following patch avoid this problem.

bug-debian: http://bugs.debian.org/644024
Forwarded: http://gna.org/bugs/?20275
applied-upstream: 4.1

Gbp-Pq: Name 0005-Fix-data-loss-with-localfile-field.patch
src/libkbibtexio/fileimporterbibtex.cpp