Open asmecher opened 8 months ago
@asmecher PR to review omp --> https://github.com/pkp/omp/pull/1546
I am unable to reproduce the issue in local dev with latest checkout of stable-3.3.0 and also in test drive from Website > Appearance > Advanced
. However I can see that there is not such method as Submission:: setCoverImage
and it should be removed . Also code should never reach to that place as for submissions, the cover image manipulation done before .
I think this might be compounded by bad data that wasn't migrated from submission_settings
to publication_settings
. I've followed up on the forum to confirm with the original reporter: https://forum.pkp.sfu.ca/t/cover-image-max-width-and-height/86955/8
Describe the bug
From https://forum.pkp.sfu.ca/t/cover-image-max-width-and-height/86955:
What application are you using? OMP version 3.3.0-17
Additional information
Searching the code for
setCoverImage
, there is no function by this name, and it is only called in OMP'sclasses/services/ContextService.inc.php
class. Probably the code was partially modernized away from getters on the submission object, but this call was missed.