You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some field/column definitions in database table title tx_publist4ubma2_domain_model_publication should be changed to allow for longer strings (in file ext_tables.sql). In my TYPO3 v8.7 test environment (using fork https://github.com/stweil/publist4ubma2/tree/typo3v8), this lead to some critical errors, in other environments, information may be truncated.
So far, I have detected this problem with the following fields:
url_official, creators, title
I was able to fix the problems locally by changing the definition of these fields from varchar(255) to varchar(1000).
The text was updated successfully, but these errors were encountered:
That sounds reasonable, although it will need one more byte for each of those fields (length stored in 2 bytes instead of 1 byte). Truncation would not be good, especially not for a URL. What is the current maximum length seen in our data?
Please note, that this fork should also be rebase before working too much further (difference 65 commits). 🖐
@lsuma Do you have an example publication for this issue?
What is the current maximum length seen in our data?
I guess, that we have some limits by MADOC, but I don't know them. CC @wagneral
Another uncomfortable size limit I have encountered is in the backend, when I try to enter in the advanced option the url directly (these urls can become really long).
For title overlength: Publication with eprint_id 34973 (max. length currently 272)
Fur url_official overlength: Publications with eprint_id 41738, 40767, 41656, 39582, 40757, 37256 (max. length currently 430)
Fur creators overlength: Publication with eprint_id 41720 (max. length currently 323)
So maybe 1000 might not be necessary, but it gives a comfortable margin of tolerance.
One more thing: I just noticed the field url_official is currently spelled url_offical.
Another uncomfortable size limit I have encountered is in the backend, when I try to enter in the advanced option the url directly (these urls can become really long).
Some field/column definitions in database table title
tx_publist4ubma2_domain_model_publication
should be changed to allow for longer strings (in fileext_tables.sql
). In my TYPO3 v8.7 test environment (using fork https://github.com/stweil/publist4ubma2/tree/typo3v8), this lead to some critical errors, in other environments, information may be truncated.So far, I have detected this problem with the following fields:
url_official, creators, title
I was able to fix the problems locally by changing the definition of these fields from
varchar(255)
tovarchar(1000)
.The text was updated successfully, but these errors were encountered: