-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data too long for column 'original_file_name' #32
Comments
Two things that might be affecting this: Questions: |
Hi @ajnyga, it seems you are working with OJS 3.2. As far as I can see the field 'original_file_name' has been removed from 'submission_files' in OJS 3.3. However, the table 'issue_files' still has a field 'original_file_name' the length of which is hard-coded as 127. For other such filenames I also found hard-coded values of 255. Even in the current (3.5) main Branch. None of these restrictions are reflected in the XSDs. So they can not be validated. Maybe we should ask PKP what the long term plans are for this field and generally about restrictions of string lenghts. If we could agree on a fixed value it would be easy for us to handle. |
yeah, that was for 3.2 and had a feeling this might not affect newer versions |
Probably a good idea to collect all "fix this in the OJS end" issues to one and present them to PKP. In some could also contribute for the fixes |
Encountered this for the first time. For some reason it was not triggered in our test server, only in production.
Data causing the problem:
<name locale="en_US">SKY_JoL_2000_12_communication_grammar_and_grammaticalization_aspects_on_the_grammaticalization_of_the_construction_vera_búinn_ad_infinitive_in_contemporary_icelandic.pdf</name>
The text was updated successfully, but these errors were encountered: