[Koha-bugs] [Bug 14070] Notice not saved when mandatory fields are not filled

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 15 21:27:02 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14070

M. Tompsett <mtompset at hotmail.com> changed:

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

--- Comment #3 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 39224
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39224&action=edit
Bug 14070 Improved handling of Notice saving

Addresses the issue of losing already entered data when an user
attempts to save a new or existing letter / notice. Happened if
the used template's (i.e. email, phone, print or sms) mandatory
field(s) i.e. subject or content were left empty.

Revised Test plan
=================

1) Set the SMSSendDriver system preference to *anything*
   in order to enable entry of SMS notices.
   (Home -> Koha administration -> Global system preferences -> Patrons)
2) Set the TalkingTechItivaPhoneNotification system preference
   to Enable in order to enable entry of Phone notices.
   (Home -> Koha administration -> Global system preferences -> Patrons)
3) Home -> Tools -> Notices & slips -> + New notice
4) For each of the four types (Email, Phone, Print, SMS):
   a) Enter a code and description.
      (e.g. TST, testing)
   b) type 'test' into the letter box.
   c) Click 'Submit'
      -- You should get a warning, but it will force you back to the
         Notices & Slips page! This is WRONG!
5) Apply this patch
6) Repeat steps 4a-c for each type, but also.
   -- when you click Submit, you will get a warning, but not
      be redirected
   d) After the warning, clear out the letter box before
      attempting the next type. The warning gets caught for the
      first problem section, not all of them. Fixing that is beyond
      the scope of this bug.
7) run koha qa test tools

Signed-off-by: Mark Tompsett <mtompset at hotmail.com>

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


More information about the Koha-bugs mailing list