[Koha-bugs] [Bug 15702] Trim whitespace from patron details upon submission

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 10 01:16:55 CET 2017


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

--- Comment #5 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 58717
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58717&action=edit
Bug 15702: Trim whitespace from fields with non-whitespace data

Since space may be a valid value for something, trimming what has
non-whitespace was done.

TEST PLAN
---------
1) Enter patron with spaces before, after, and both.
2) Apply patch.
3) Attempt to enter another patron with spaces before, after, and both.
   -- attempting to edit after saving will demonstrate the spaces
      were trimmed.
4) Attempt to edit the patron initially entered.
   -- while there may be spaces before, after, and both initially,
      after saving and trying to edit again, there will not be.
5) run koha qa test tools.

-- 
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