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
If someone copies/pastes a link to an ebsco detail record page at url: /ebsco/detailedrecord?id=XXXXXXXX a PHP warning and notice are thrown (stack trace below).
This happens when a user who has a link to a detail record does not have an active session with a previous search.
Oddly, there is protective code in the template_preprocess_ebsco_result() that prevents the record next/previous and back-to-search-list links from displaying when $lastSearch is empty, but this doesn't prevent the search_read() from triggering the warnings.
Probably some similar protective code needs to be added to EBSCODocument class to gracefully handle an un-initialized Session state.
The text was updated successfully, but these errors were encountered:
jameswilson
changed the title
PHP Notices, Warnings from direct access ebsco/detailrecord
PHP Notices, Warnings from direct access ebsco/detailedrecord
Aug 28, 2018
If someone copies/pastes a link to an ebsco detail record page at url:
/ebsco/detailedrecord?id=XXXXXXXX
a PHP warning and notice are thrown (stack trace below).This happens when a user who has a link to a detail record does not have an active session with a previous search.
Oddly, there is protective code in the template_preprocess_ebsco_result() that prevents the record next/previous and back-to-search-list links from displaying when
$lastSearch
is empty, but this doesn't prevent the search_read() from triggering the warnings.Probably some similar protective code needs to be added to EBSCODocument class to gracefully handle an un-initialized Session state.
The text was updated successfully, but these errors were encountered: