I’m getting some weird issues after upgrading the OMP 220.127.116.11 to 18.104.22.168.
Any lists in the user (editor) dashboard related to ONIX can’t load, such as publication date types in PDF settings, codes for audiences and similar. The dropdown is simply empty.
Upon further inspection, and turning on errors in config.inc.php, I get these errors when viewing the book (where ONIX should appear):
Warning: assert(): Assertion failed in /[redacted]/books/classes/codelist/ONIXCodelistItemDAO.inc.php on line 91
as well as
Warning : assert(): Assertion failed in /[redacted]/books/classes/publicationFormat/PublicationDate.inc.php on line 157
At first I thought it was a problem with my custom template, but after switching to the default template, the problem persists. I did the “php tools/upgrade.php upgrade” which reported no errors.
The values themselves appear both in forms and on site, but the attributes don’t. They were there before the upgrade. Attaching a couple of screenshots as well.
Anyone have any idea what’s going on?