Details
-
Bug
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Won't Do
-
None
-
ERM Sprint 157, ERM Sprint 158
-
Bienenvolk
-
Implementation coding issue
Description
Overview:
Affects Nolana and MG, but not current master
Affects all search boxes in agreements and licenses search & filter panes
Searching for a term like `A&AePortal` does not produce expected results
Steps to Reproduce:
- Log into https://bugfest-nolana.int.aws.folio.org/ or https://bugfest-mg.int.aws.folio.org/
- Carry out a search for `A&AePortal`
- In developers console note the Request URL has parameters:
`erm/sas?
match=name&
match=alternateNames.name&
match=description&
term=A&AePortal&
filters=agreementStatus.value==active%7C%7CagreementStatus.value==draft%7C%7CagreementStatus.value==in_negotiation%7C%7CagreementStatus.value==requested&sort=name;asc&stats=true&perPage=100&offset=0`
Expected Results:
Expect that the ampersand in `A&AePortal` encoded as %26 to avoid this being treated as a join between parameters
Actual Results:
ampersand not encoded so interpreted as a search for `A`
Additional Information:
Seems to be fixed in current master branch as I cannot recreate in snapshot environment
Interested parties:
jmulvaney