Strip leading and trailing white spaces

Description

Current situation or problem:

Leading or trailing white spaces are handled differently across FOLIO apps - e.g.:

  • search behaves differently across apps: leading/trailing white spaces are sometimes eliminated, sometimes they are included in search

  • data is saved with or without leading or trailing white spaces.

Example: In Inventory 'extra' spaces are eliminated, while in Orders they can exist and impact search & retrieval.

Use case(s)

1. Use case:

  • From Orders: "Newspaper  of  extra  spaces"  becomes "Newspaper of extra spaces" in Inventory. If you copy Newspaper of extra spaces from Inventory to search in Orders by Orders Lines, you retrieve nothing, until you add the spaces back.

2. Use case:

  • In Receiving app - when receiving a title: a user adds a barcode or call number and by mistake includes a leading or trailing white space

  • When a spine label is created based on the data entered in Receiving app: errors occur in spine labelling

Proposed solution/stories

White spaces should be handled consistently across FOLIO apps.

  1. When performing a search: leading and trailing white spaces should be eliminated.

  2. When saving data: leading and trailing white spaces should not be saved.

Links to additional info

  1. Search expectations across apps

  2. 2023-08-24 WOLFConMeeting notes: cross-app search

 

Priority

Fix versions

None

Development Team

None

Assignee

Parent

Parent Field Value

None

Parent Status

None

Checklist

hide

TestRail: Results

Activity

Show:

Details

Reporter

PO Rank

0

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created November 10, 2023 at 1:29 PM
Updated February 17, 2025 at 3:24 PM
TestRail: Cases
TestRail: Runs