SPIKE: Validate that import profile names do not use invalid characters

CSP Rejection Details

None

CSP Request Details

None

CSP Approved

None

Description

Will add new Jira(s) with story info once does this spike

See thread from Slack: https://folio-project.slack.com/archives/C210RP0T1/p1658332058569149

  1. Which characters are invalid in import profile names?

  2. Can we add validation in the UI, so that invalid characters could not be used in profile names? Approximately how much effort?

  3. Can we add validation in the BE, so that invalid characters could not be used in profile names? Approximately how much effort?

  4. Do we need to consider special characters only in the names of the profiles or also in the data fields of the field mapping profiles (and maybe match profiles)?

  5. Would Export have the same invalid characters? If so, could we do the work in such a way that it can be consumed by both import and export?

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Ann-Marie Breaux June 2, 2023 at 9:16 AM

Hi Thank you for reviewing this. Per , users working with BE APIs should already know to escape special characters in names of things, so no additional documentation needed.

Oleksandr Hladchenko May 25, 2023 at 2:19 PM

Created profiles with all the special characters using UI and everything works well. Maybe when create a profile using API we should be more careful with escaping the characters.
cc:

Ann-Marie Breaux April 11, 2023 at 3:23 PM

Hi Looked at this today - this Jira will be a spike, and after this, we'll have real story or stories with the work to be done. Any TestRails will be on the story, not on this spike. Thank you!

Mariia Aloshyna February 22, 2023 at 1:43 PM

Hi We can add validation in the UI (or both - in the UI and BE). To say how much effort we need to know the size of the work - which characters are invalid?

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Folijet

Release

Poppy (R2 2023)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created July 25, 2022 at 8:21 AM
Updated October 10, 2023 at 7:52 PM
Resolved June 2, 2023 at 9:16 AM
TestRail: Cases
TestRail: Runs