[Koha-bugs] [Bug 21633] New: Did finesMode = test ever send email?

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 23 11:00:46 CEST 2018


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

            Bug ID: 21633
           Summary: Did finesMode = test ever send email?
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Documentation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: magnus at libriotech.no
        QA Contact: testopia at bugs.koha-community.org

In the 18.05 documentation, finesMode is described thus:

Default: Calculate (but only for mailing to the admin)
Asks: ___ fines
Values:
- Calculate (but only for mailing to the admin) [test]
- Calculate and charge [production]
- Don’t calculate [off]
https://koha-community.org/manual/18.05/en/html/systempreferences.html?highlight=finesmode#finesmode

I have interpreted this as "If fines.pl is run and finesMode is set to 'test',
fines will be generated in a CSV(ish) file and the file will be emailed to the
address in KohaAdminEmailAddress".

I have tested this a bit now, and no email with the file seems to be sent.
Reading the code, I can not see any signs of an email being sent either.

The 3.0 docs has this to say about finesMode:

Description: This preference establishes how Koha will handle fines being
accrued by patrons. There are three values to choose from: “Off”, Test, and
Production. If the “Off” value is put into effect no fines will be calculated.
The Test value prompts Koha to email fine notifications. The Production value
is selected to allow Koha to start calculating overdue fines. It is important
to know that extra programming will be involved to make this preference
functional and a cronjob will need to be put into effect. A cronjob is a
programming function that issues commands at specific dates and times.
https://koha-community.org/files/2010/02/wayne-state-university-koha-3.0-reference-manual.pdf

So: "The Test value prompts Koha to email fine notifications." But: "It is
important to know that extra programming will be involved to make this
preference functional."

I am starting to believe that the emailing of the file was never really
implemented. Maybe we should just remove references to emailing from the docs,
the comments in the fines.pl script etc? 

Or was the intended meaning that fines.pl produces a file that could somehow be
sent to the admin, but the "somehow" is left to the reader to implement? 

Or am I missing something?

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


More information about the Koha-bugs mailing list