Saving patron notes with only a title or with a space in the note field

Bug #1831739 reported by Steve Callender on 2019-06-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

When creating a patron note with a title only, the system will tell you that the value field is required.

However, if you put a space in the value field in order to save a note with a title only, the server accepts it but yet the back end will not save the note.

I suspect in the code it may be trimming out the space resulting in the database not saving due to a "not null" on the value field.

Reporting this as a bug since the screen should let you know that it will not save.

I should add, I was testing this on 3.1 and 3.2.

Jeremiah Miller (jeremym-t) wrote :

FWIW, the XUL client does accept notes with titles only.
When it does, it puts an empty string in the value field.

We actually use that quite heavily in our workflow... so it would be preferable to us for that same behavior we get in the XUL client to be there in the web client. (Don't prevent submitting the form with that field blank, and if it is blank, put an empty string in the db field.)

But aside from that, yes... if it going to discard any data entry, it should at the very least not do it silently.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers