[Koha-bugs] [Bug 13161] Report name should be mandatory when editing saved reports

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 29 18:57:50 CET 2014


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

Nick Clemens <nick at quecheelibrary.org> changed:

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

--- Comment #2 from Nick Clemens <nick at quecheelibrary.org> ---
Created attachment 32934
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32934&action=edit
[SIGNED OFF] Bug 13161 - Report name should be mandatory when editing saved
reports

When Bug 2969 made report name required for SQL reports, it did so only
for new reports. This patch makes the same requirement true when editing
existing reports.

Other changes:

- Removed unused "type" setting from edit screen (already removed from
  creation form).
- Added form field size attribute to report name field to match creation
  form.
- Moved SQL textarea into its own fieldset and marked it as required,
  matching the report creation form.

To test, apply the patch and edit an existing saved SQL report. You
should be prevented from saving your report with either the report name
or SQL field blank. Test with JavaScript enable and disabled.

Confirm that after entering valid data your report runs correctly.
Compare the new SQL report form with the update SQL report form. They
should be structured the same.

Signed-off-by: Nick Clemens <nick at quecheelibrary.org>

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


More information about the Koha-bugs mailing list