[Koha-bugs] [Bug 31497] Quick add: mandatory fields save as empty when not filled in before first save attempt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Sep 11 16:08:20 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31497

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|20.11                       |master
            Summary|When you forget to fill in  |Quick add: mandatory fields
                   |a mandatory field of the    |save as empty when not
                   |patron quick_add_form       |filled in before first save
                   |during a 1st validation     |attempt
                   |test, the field, even if    |
                   |completed, is no longer     |
                   |saved                       |
           Severity|normal                      |major

--- Comment #1 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
This bug is also present in current master (development branch).

To test:
* Go to patrons module 
* Click on Quick add new patron (I chose Patron as category)
* On sample database these fields are marked as mandatory:
  * Surname
  * Cardnumber
  * Library
  * Category
* Fill in Surname, leave cardnumber empty
* Save - mandatory message is shown
* Fill in cardnumber - save
* The patron is saved
* BUT: cardnumber is empty!

Updating to major for data loss.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list