WebV: pipe symbol in my_opac_preferences.search_preferences causes problems
- Article Type: General
- Product: Voyager
- Product Version: 8.2.0
Symptoms
If WebVoyage is configured and patrons save preferences in such a way as to store a pipe symbol in MY_OPAC_PREFERENCES.SEARCH_PREFERENCES with nothing else, they receive errors when logging in to the OPAC and a WebVoyage System Error when trying to edit search preferences.
Defect Status
Issue 16384-17665 / VYG-854 is resolved for Voyager 8.2.0 and higher.
Replication Steps
- In webvoyage.properties, turn off the option to let patrons set a number of results per page in their search preferences:
#==============================================================================# # # My Account Preferences - display e.g. number of records on a page # set preference to Y to display the preference choice # #==============================================================================# page.myAccount.editPreferences.preferences.display.preference=N
- In WebVoyage, log in with a patron that has not set their OPAC preferences.
- Go to My Account and click Edit Preferences.
- Do not select any search page options. Just click Save.
- By not selecting a search page option or have a results per page option to choose from, only a pipe symbol | is written to MY_OPAC_PREFERENCES.SEARCH_PREFERENCES.
- Log out. Now log back in. You will be shown a message similar to “You may not have entered your institution id and name correctly. Retry your request or ask for help at the Circulation or Reference Desk.” But if you look in the upper right corner, you will see that you are now logged in.
- Navigate to My Account and click Edit Preferences. Receive WebVoyage System Error.
Workaround
Enable the results per page option for My Account Preferences – this will always store a default value in MY_OPAC_PREFERENCES.SEARCH_PREFERENCES even if the patron saves preferences without choosing options.
Additional Information
Open a Case with Voyager Support to request data clean up for patrons with this problem. You will need to enable the results per page option in My Account Preferences before any cleanup can be completed.
- Article last edited: 07-Mar-2015