[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 13:50:36 CEST 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12740
M. Tompsett <mtompset at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #31788|0 |1
is obsolete| |
--- Comment #4 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 31789
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31789&action=edit
[SIGNED OFF] Bug 12740 - It should not be possible to store empty news
This patch marks the title field as 'required' and it is not
longer possible to store a news without having at least a title.
To test:
Got to Tools->News
Create news or edit existing news
Field "Title" should have a red label and should be marked as "required"
It should not be possible to save with empty field "Title"
Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
NOTE: Only keeps the user from doing it.
Fails to handle the fake the url call case.
https://demo.library-admin.kohasystem.ca/cgi-bin/koha/tools/koha-news.pl?op=add&lang=&branch=&title=&from=&to=&number=&new=
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list