Course Doc List - Search: "Error parsing find request"
- Article Type: General
- Product: Aleph
- Product Version: 19.01
Description:
In circulation
List of Courses
Course Doc List
click on Search (on the right-hand side of the screen, just above "Catalog New")
select ABC30 CR to be searched
Try search by title keyword
get remote service error (c0140 31) "Error parsing find request".
The pc_server log shows:
PROGRAM : pc_com_c0140
illegal term
aleph_ccl_expr_check_tree_c - illegal expr
aleph_ccl_expr_check_tree_c failed
aleph_ccl_expr_build_normal_tree_c failed
ccl_expr_normalize_c failed
The keyword index in course reading is WTL.
In our abc01 database the keyword title search is WTI.
What needs to be fixed in order to make this abc30 "Title Keywords" search work?
Resolution:
After adding diagnostics to the pc_com_c0140 program and restarting pc_server, the pc_server log showed the following:
PROGRAM : pc_com_c0140
FIND-REQUEST-LINE: WTI=(bebop)
FIND-REQUEST-CODE: WTI
FIND-REQUEST-TEXT: (bebop)
BUF-BASE= ABC30
illegal term
aleph_ccl_expr_check_tree_c - illegal expr
aleph_ccl_expr_check_tree_c failed
aleph_ccl_expr_build_normal_tree_c failed
ccl_expr_normalize_c failed
You'll note the code "WTI".
A check of the abc30 $data_tab showed that the only reference to WTI was this:
tab_locate:USM01 245## a wti= locate_str_1
The references to "USM" in tab_locate were corrected to "ABC", but that did not help.
Since it was unclear where this "WTI" could be coming from, we decided to change all occurrences of "WTL" in the abc30 $data_tab to "WTI" and all occurrences of "wtl" to wti". And then did the same in the ./www_f_eng.
After making these changes and rerunning p_manage_01 for abc30, the problem was corrected.
- Article last edited: 10/8/2013