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.

Comments

Frank Steiner’s picture

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

masood_mj’s picture

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

| biblio_citekey              | varchar(255) | YES  |     | NULL    |
rjerome’s picture

check the biblio_fields table...

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

and make sure the maxsize value is 255

Ron.

masood_mj’s picture


+-----+-----------------+-----------+------+---------+
| 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!

rjerome’s picture

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.

masood_mj’s picture

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

masood_mj’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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