[Koha-bugs] [Bug 28487] New: Overdue_notices does not fall back to default language

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 28 17:18:14 CEST 2021


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

            Bug ID: 28487
           Summary: Overdue_notices does not fall back to default language
 Change sponsored?: ---
           Product: Koha
           Version: 20.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Notices
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: andreas.jonsson at kreablo.se
        QA Contact: testopia at bugs.koha-community.org

Previously overdue_notices use exclusively the default language but bug 26420
changed this to the opposite, which is to use exclusively the language chosen
by the user.

But if no translation have been provided for the chosen language, no message is
sent.

I would expect the behavior to be the same as in GetPreparedLetter:

        $letter = getletter( $module, $letter_code, $branchcode, $mtt, $lang );

        unless ( $letter ) {
            $letter = getletter( $module, $letter_code, $branchcode, $mtt,
'default' )
                or warn( "No $module $letter_code letter transported by " .
$mtt ),
                    return;
        }

-- 
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