[Koha-bugs] [Bug 12740] It should not be possible to store empty news

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Sep 20 14:06:34 CEST 2014


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

--- Comment #5 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 31790
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31790&action=edit
Bug 12740 - Data Validation followup

Added server-side validation and feedback to Koha news.

TEST PLAN
---------
1) Log in to staff client as someone who can add news
2) Paste a variation of the ugly following URL into your
   address bar:

https://demo.library-admin.kohasystem.ca/cgi-bin/koha/tools/koha-news.pl?op=add&lang=&branch=&title=&from=&to=&number=&new=

   -- A blank news item is added without warning!
3) Apply patch
4) Repeat step 2
   -- "ERROR: Required news title missing!" is displayed
      and no blank news is added
5) run koha qa test tools

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


More information about the Koha-bugs mailing list