Citation Key cannot be longer than 16

masood_mj - April 18, 2009 - 09:59
Project:Bibliography Module
Version:6.x-1.2
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Many reference management software generate long citation keys which is usually more than 16 character. When my users import the bibtex files, the long citation keys are OK. but when they want to edit it the UI says that Citation Key cannot be longer than 16.

#1

Frank Steiner - April 20, 2009 - 08:56

Strange. This has been fixed a while ago. Did you run update.php after installing, or did you do a fresh install?

#2

masood_mj - April 20, 2009 - 11:57

I've run update.php
In biblio table description the size of citekey field is 255:

| biblio_citekey              | varchar(255) | YES  |     | NULL    |

#3

rjerome - April 20, 2009 - 12:59

check the biblio_fields table...

SELECT * FROM biblio_fields b WHERE b.name='biblio_keywords'

and make sure the maxsize value is 255

Ron.

#4

masood_mj - April 21, 2009 - 09:14

+-----+-----------------+-----------+------+---------+
| fid | name            | type      | size | maxsize |
+-----+-----------------+-----------+------+---------+
|  24 | biblio_keywords | textfield |   60 |     255 |
+-----+-----------------+-----------+------+---------+

BTW, are you sure that I must check biblio_keywords field. I had problem with cite_key!

#5

rjerome - April 21, 2009 - 12:31

Doh! I've been working on too many things at the same time. Yes, I meant...

SELECT * FROM biblio_fields b WHERE b.name='biblio_citekey'

The rest holds true, check the maxsize value for biblio_citekey in the biblio_fields table.

Ron.

#6

masood_mj - April 21, 2009 - 13:10

Yes, it was 16, I changed the maxsize value to 256 and the problem fixed.

#7

masood_mj - April 21, 2009 - 13:10
Status:active» fixed

#8

System Message - May 5, 2009 - 13:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.