PKP Bugzilla – Bug 7944
Using the catalog search from outside of a press context generates a fatal error
Last modified: 2012-09-29 16:35:02 PDT
In a multiple press installation, it is possible to use the catalog search without being in a press. The call to getPress in pages/catalog/CatalogHandler returns null in this case, which generates a fatal error when a setting is retrieved.
Test for press before fetching setting https://github.com/pkp/omp/commit/11e2817a05cbee25d8c0cb66fdce31952a247b7b
Test for press before fetching setting https://github.com/pkp/omp/commit/34f468359a56906a930229124e116e5d252a4367