Closed (fixed)
Project:
Bibliography Module
Version:
7.x-1.0-rc5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2013 at 10:20 UTC
Updated:
30 Apr 2013 at 02:00 UTC
Hello, I receive the following error when trying to import some articles using the doi look up.
Data too long for column 'biblio_doi' ........
For some reason in only happens on some articles and not others. The same article can be added correctly using pubmed.
Thanks for your help.
Comments
Comment #1
rjerome commentedCould you post the DOI and PubMed ID that you are using.
Comment #2
apdp300 commentedHi, thanks, several different articles from different journals do this, the following is an example pasted below. I also pasted the full error message below. When looking up with doi the correct data seems to be found but the error appears when trying to save the node. The doi is obtained correctly when looking up using pubmed and saves without errors. As a possibly separate issue (I don't know if it is related) often when using pubmed look up the doi is not found and often when using doi look up the pmid is not found. In the case of the article below pubmed look up does correctly find the doi however.
Thanks for your work on this.
PMID: 17134316
doi: 10.1162/neco.2007.19.1.1
Comment #3
rjerome commentedOK, I fixed the problem. It turns out that that DOI also has a list of citations each with it's own DOI and they were all concatenated together. The parser will now pick the correct DOI.
http://drupalcode.org/project/biblio.git/commit/9568667