In Requests, search for title with hyphen returns no results for certain titles

Description

Reproduced this in Chalmers Q3 environment and in Snapshot stable.

Preconditions: there is a request on the title "Externredovisning i icke-noterade svenska företag".

Steps to reproduce:
1. Go to Requests and search for "Externredovisning i icke-noterade svenska företag"

Expected result:
There is a search result for the requested title "Externredovisning i icke-noterade svenska företag".

Actual result:
There are no search results.

Additional info:

  • The search only returns the title if I remove everything after the hyphen, i.e. search for "Externredovisning i icke-". I have no problems searching for the full title in the Inventory app.

  • CB: In folio-snapshot, I changed ABA Journal to ABA-Journal and created a request. It could be found when searching "ABA-Journal"

  • CB: Since that result was surprising, I created an entirely new instance called "ABA-Journal Cate Test" and created a request for an item within it. I was able to find the request by searching "ABA-Journal" (which, I would think, is analagous to what isn't working for Chalmers) but if I include the entire title "ABA-Journal Cate Test", nothing is returned.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Cate Boerema February 24, 2020 at 12:58 PM

This works great. Thank you !

Cate Boerema February 10, 2020 at 12:28 PM

Hi can you put some story points on this? Thanks!

Julian Ladisch January 22, 2020 at 9:59 PM

mod-circulation-storage still uses RMB 26.2.3 (a version that is no longer supported):
https://github.com/folio-org/mod-circulation-storage/blob/e80b3dc13d362d2a8b7a0c1cb7dd735c2549780b/pom.xml#L29
RMB-438 fixed the minus/hyphen issue for RMB >= 26.4.0.
I've created to upgrade RMB in mod-circulation-storage.

Kevin Day January 22, 2020 at 9:06 PM

Julian Ladisch pointed the following out to me:

The RMB-438 issue is where the problems described in this ticket are resolved. These have been solved in this RAML Module Builder PR:

Kevin Day January 22, 2020 at 5:06 PM

I have concluded that there is no good place to write the requested tests in Circulation module or Circulation Storage module. I have provided a PR for RAML Module Builder with some basic tests.

RAML Module Builder itself may need to be reviewed (and updated accordingly) to ensure that the newer fulltext search implementation functions as desired for cases like this one.

As for Circultion, and possibly Inventory, these will need to have their RAML Module Builder dependency updated.

Done

Details

Assignee

Reporter

Labels

Priority

Story Points

Sprint

Development Team

Prokopovych

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created January 2, 2020 at 1:04 PM
Updated February 24, 2020 at 12:58 PM
Resolved February 24, 2020 at 12:58 PM
TestRail: Cases
TestRail: Runs