[Koha-bugs] [Bug 21640] New: Itivia outbound script doesn't print to STDOUT

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 24 03:17:24 CEST 2018


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

            Bug ID: 21640
           Summary: Itivia outbound script doesn't print to STDOUT
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: robin at catalyst.net.nz

This line doesn't seem to work:
open( $OUT, '>', "&STDOUT" ) || die("Couldn't duplicate STDOUT: $!");

To recreate:
 1 - Enable the TalkingTechItivaPhoneNotification
 2 - Copy 'HOLD' notice 'email' transport to the phone section
 3 - Enable EnhancedMessagingPreferences
 4 - Find a patron and enable 'phone' for the 'Hold filled' notice
    Note: You might not be able to do this straightaway, bug 21639
    If the phone box has a '-' and not a checkbox:
    sudo koha-mysql kohadev
    INSERT INTO message_transports
(message_attribute_id,message_transport_type,is_digest,letter_module,letter_code)
VALUES (4,'phone',0,'reserves','HOLD');
 5 - Place a hold for the patron
 6 - Check it in and confirm the hold to set it waiting
 7 - sudo koha-shell kohadev
 8 - perl misc/cronjobs/thirdparty/TalkingTech_itiva_outbound.pl --type=RESERVE
-w 0 -v
 9 - Note the Output says it will be on STDOUT, but nothing is output

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


More information about the Koha-bugs mailing list