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 |
Jump to:
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
Strange. This has been fixed a while ago. Did you run update.php after installing, or did you do a fresh install?
#2
I've run update.php
In biblio table description the size of citekey field is 255:
| biblio_citekey | varchar(255) | YES | | NULL |#3
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
+-----+-----------------+-----------+------+---------+| 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
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
Yes, it was 16, I changed the maxsize value to 256 and the problem fixed.
#7
#8
Automatically closed -- issue fixed for 2 weeks with no activity.