| Summary: | `sip_cli_emulator.pl` warnings | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Tomás Cohen Arazi (tcohen) <tomascohen> |
| Component: | Command-line Utilities | Assignee: | Tomás Cohen Arazi (tcohen) <tomascohen> |
| Status: | Pushed to oldstable --- | QA Contact: | Marcel de Rooy <m.de.rooy> |
| Severity: | minor | ||
| Priority: | P5 - low | CC: | david, fridolin.somers, lucas, m.de.rooy, robin, tomascohen |
| Version: | Main | Keywords: | release-notes-needed |
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39911 | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | Trivial patch |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: |
25.11.00,25.05.02,24.11.08
|
|
| Circulation function: | |||
| Attachments: |
Bug 40144: Get rid of `sip_cli_emulator.pl` warnings
Bug 40144: Get rid of `sip_cli_emulator.pl` warnings Bug 40144: Get rid of `sip_cli_emulator.pl` warnings |
||
|
Description
Tomás Cohen Arazi (tcohen)
2025-06-13 18:17:04 UTC
Created attachment 183248 [details] [review] Bug 40144: Get rid of `sip_cli_emulator.pl` warnings Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Created attachment 183253 [details] [review] Bug 40144: Get rid of `sip_cli_emulator.pl` warnings Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: David Nind <david@davidnind.com> Testing notes (using KTD):
1. Run ./misc/sip_cli_emulator.pl -a 127.0.0.1 -p 6001 -su tcohen -sp tomasito -l MPL --patron tcohen -m patron_information
2. Notice the "Use of unitialized value in...." in the output:
Attempting socket connection to 127.0.0.1:6001...connected!
Use of uninitialized value $hold_mode in string eq at ./misc/
sip_cli_emulator.pl line 127.
SEND: 9300CNtcohen|COtomasito|CPMPL|
READ: 940
Login Failed!
3. Apply the patch.
4. Repeat step 1.
5. Notice that there is now no "Use of unitialized value in...." in the output:
Attempting socket connection to 127.0.0.1:6001...connected!
SEND: 9300CNtcohen|COtomasito|CPMPL|
READ: 940
Login Failed!
Created attachment 183462 [details] [review] Bug 40144: Get rid of `sip_cli_emulator.pl` warnings Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Nice work everyone! Pushed to main for 25.11 Nice work everyone! Pushed to 25.05.x for 25.05.01 Pushed to 24.11.x for 24.11.08 |