Bug 41904 - "Use of uninitialized value..." warning in del_message.pl
Summary: "Use of uninitialized value..." warning in del_message.pl
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial
Assignee: Roman Dolny
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-20 19:21 UTC by Roman Dolny
Modified: 2026-02-21 02:55 UTC (History)
2 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: Sponsored
Comma delimited list of Sponsors: Ignatianum University in Cracow
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 41904: "Use of uninitialized value..." warning in del_message.pl (1.41 KB, patch)
2026-02-20 19:34 UTC, Roman Dolny
Details | Diff | Splinter Review
Bug 41904: "Use of uninitialized value..." warning in del_message.pl (1.42 KB, patch)
2026-02-21 02:55 UTC, David Nind
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Dolny 2026-02-20 19:21:41 UTC
The warning
[WARN] Use of uninitialized value in string eq at 
/kohadevbox/koha/circ/del_message.pl line 54.
appears in plack-intranet-error.log

To reproduce in KTD:
1. Observe plack-intranet-error.log
2. Search for any patron and go to "Check out" tab.
3. Add message for patron. Added message is shown in "Message" area
   with "Edit" and "Delete" links.
4. Click "Delete" and confirm modal.
5. Warning appears in plack-intranet-error.log
Comment 1 Roman Dolny 2026-02-20 19:34:18 UTC
Created attachment 193594 [details] [review]
Bug 41904: "Use of uninitialized value..." warning in del_message.pl

The warning
[WARN] Use of uninitialized value in string eq at
/kohadevbox/koha/circ/del_message.pl line 54.
appears in plack-intranet-error.log

Test plan:
==========
1. Observe plack-intranet-error.log
2. Search for any patron and go to "Check out" tab.
3. Add message for patron. Added message is shown in "Message" area
   with "Edit" and "Delete" links.
4. Click "Delete" and confirm modal.
5. Warning appears in plack-intranet-error.log
6. Apply the patch; restart_all
7. Repeat 3-4. No warning appears.

Sponsored-by: Ignatianum University in Cracow
Comment 2 David Nind 2026-02-21 02:55:46 UTC
Created attachment 193595 [details] [review]
Bug 41904: "Use of uninitialized value..." warning in del_message.pl

The warning
[WARN] Use of uninitialized value in string eq at
/kohadevbox/koha/circ/del_message.pl line 54.
appears in plack-intranet-error.log

Test plan:
==========
1. Observe plack-intranet-error.log
2. Search for any patron and go to "Check out" tab.
3. Add message for patron. Added message is shown in "Message" area
   with "Edit" and "Delete" links.
4. Click "Delete" and confirm modal.
5. Warning appears in plack-intranet-error.log
6. Apply the patch; restart_all
7. Repeat 3-4. No warning appears.

Sponsored-by: Ignatianum University in Cracow