[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 23:25:28 CEST 2016


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

Aleisha Amohia <aleishaamohia at hotmail.com> changed:

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

--- Comment #16 from Aleisha Amohia <aleishaamohia at hotmail.com> ---
Created attachment 50668
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50668&action=edit
[SIGNED-OFF] 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

Signed-off-by: Aleisha <aleishaamohia at hotmail.com>

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


More information about the Koha-bugs mailing list