Do not allow only space characters in the notice template body

Description

Purpose: Avoid that users can saved a notice body that contains only space characters.

User story statement(s):

As a FOLIO staff user,
I want to be warned if my notice body only has space characters,
so that I don't save what looks like an empty notice body.

Scenarios:

  1. Scenario:

    • Given that I am in Settings >> Circulation >> Patron notice templates >> + New >> I am in the new template

    • When I enter a space character in the field "Body"

    • Then show the error message "Please fill this in to continue" and the corresponding formatting of the field, as per the attached screenshot.
      The template cannot be saved while there are only space characters.

Environment

None

Potential Workaround

None

Attachments

1
  • 28 Apr 2022, 05:00 PM

Checklist

hide

TestRail: Results

Activity

Show:

julie.bickleSeptember 8, 2022 at 5:53 AM

I confirm that this works in Snaphsot.

Priyanka TeralaSeptember 7, 2022 at 2:09 PM

Thank you  
I have assigned the ticket to you. The PR is merged few minutes ago.

I am sorry I am not sure of the snapshot build schedules. Hence please check it tomorrow!

julie.bickleSeptember 7, 2022 at 2:05 PM

Sure! I'll take a look today or tomorrow thumbs up

Priyanka TeralaSeptember 7, 2022 at 1:54 PM

Hi  
Do you want me to assign this ticket to you for review?

cc  

julie.bickleMay 6, 2022 at 12:51 PM

This story contains work from https://folio-org.atlassian.net/browse/UICIRC-782 that is not a bug but new work.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Volaris

Fix versions

Release

Nolana (R3 2022)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created April 28, 2022 at 5:04 PM
Updated October 20, 2022 at 1:35 PM
Resolved September 8, 2022 at 5:53 AM
TestRail: Cases
TestRail: Runs

Flag notifications