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

Bug #1831739 reported by Steve Callender
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Won't Fix
Undecided
Unassigned

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.

Tags: patron
Revision history for this message
Steve Callender (stevecallender) wrote :

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

Revision history for this message
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.

tags: added: patron
Revision history for this message
Terran McCanna (tmccanna) wrote :

This is no longer relevant with the new and improved Notes interface.

Changed in evergreen:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.