Truncate the fields in the Publication model if longer than expected.
I've increased the max len of the pub_type in the Publication model.
To prevent the import to fail in the future I've implemented a brute
truncation mechanism when a Publication is saved.
Truncate the fields in the Publication model if longer than expected.
I've increased the max len of the pub_type in the Publication model. To prevent the import to fail in the future I've implemented a brute truncation mechanism when a Publication is saved.