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
[Chris]: It appears that really long filenames overflow the encode dashboard database record for the title field: https://app.honeybadger.io/projects/54117/faults/99716515
A DB migration may be needed to modify that column to change the datatype or a truncation of that field in ActiveEncode::EncodeRecord before attempting to save it.
[Chris]: I ran into this when trying to load a batch on avalon-sandbox as part of #5397. avalon-sandbox was using minio for the dropbox and a mysql database when this happened. I temporarily worked around it by increasing the size of title to varchar(1000) and display_title to varchar(750).
This should probably be moved to the core board and handled there.
Done Looks Like
A user can ingest a filename with up to 256 characters either by web upload or batch ingest
The text was updated successfully, but these errors were encountered:
Tested with filename hereisareallylongfilenamewithnospacesorextracharacterscommathatistosaynothingwhichshouldcreateproblemsinfilenamehandlingotherthanthefacethatitisjustveryverylongandthatisthelongopenparenthesislolcloseparenthesisandshortofit.MOV,
227 total characters and things worked as expected: https://avalon-dev.dlib.indiana.edu/media_objects/mw22v546v.
The encoding dashboard, however, expanded horizontally to fit this, which looks funky but could be changed with truncation of the filename in the table.
Pulled over from local board #174
Description
[Chris]: It appears that really long filenames overflow the encode dashboard database record for the title field: https://app.honeybadger.io/projects/54117/faults/99716515
A DB migration may be needed to modify that column to change the datatype or a truncation of that field in ActiveEncode::EncodeRecord before attempting to save it.
[Chris]: I ran into this when trying to load a batch on avalon-sandbox as part of #5397. avalon-sandbox was using minio for the dropbox and a mysql database when this happened. I temporarily worked around it by increasing the size of title to varchar(1000) and display_title to varchar(750).
This should probably be moved to the core board and handled there.
Done Looks Like
The text was updated successfully, but these errors were encountered: