[Koha-bugs] [Bug 12721] Prevent software error if incorrect fieldnames given in sypref StatisticsFields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 25 11:44:47 CEST 2016


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

Marc Véron <veron at veron.ch> changed:

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

--- Comment #15 from Marc Véron <veron at veron.ch> ---
Created attachment 50622
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50622&action=edit
Bug 12721 - Syspref StatisticsFields: Warning on About page and text change in
System preferences

This patch adds a warning to the about page if the syspref 'StatisticsFields'
is misconfigured.
Additionally, the text on Home > Administration > SystemPreferences for
'Statistics Fields'
is changed.

To test:
- Apply patch
- Edit syspref 'StatisticsFields'. Verify that the explanation makes sense.
- Leave field empty
  => verify that no message appears on About page, tab System information
- Insert valid field names, e.g. location|itype
  => verify that no message appears on the About page
- Add trailing char
  => verify that the warning message appears on the About page
- Fill in some garbage or misspell a field name
  => verify that the warning message appears on the About page

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


More information about the Koha-bugs mailing list