[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 18:02:35 CET 2017


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #58717|0                           |1
        is obsolete|                            |

--- Comment #6 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 58768
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58768&action=edit
[SIGNED-OFF] 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.

Signed-off-by: Owen Leonard <oleonard at myacpl.org>

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


More information about the Koha-bugs mailing list