Koha-clms/Koha/ILL
Tomas Cohen Arazi ff42535f96
Bug 34838: Use ->set to avoid method redefinition warnings
This patch silences more warnings. To test

1. Be on 23.11.x
2. Apply the patches before this one
3. Run:
   $ ktd --shell
  k$ prove t/db_dependent/Illrequests.t
=> FAIL: Lots of warnings like this:
Subroutine Koha::Illrequest::SUPER::status redefined at /kohadevbox/koha/Koha/Object.pm line 955.
Subroutine Koha::Illrequest::SUPER::status_alias redefined at /kohadevbox/koha/Koha/Object.pm line 955.
illrequestattributes is DEPRECATED in favor of extended_attributes at t/db_dependent/Illrequests.t line 1071.
4. Apply this patch
5. Repeat 3
=> SUCCESS: No more warnings!
6. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2024-06-11 13:28:16 +01:00
..
Batch Bug 35581: Koha::Illrequest::Logger -> Koha::ILL::Request::Logger 2024-04-22 08:57:44 +02:00
Request Bug 35581: Koha::Illrequest -> Koha::ILL::Request 2024-04-22 08:57:45 +02:00
Backend.pm Bug 34838: Only call strings_map if status_alias is not undef in status_alias cycle 2024-06-10 12:01:05 +01:00
Batch.pm Bug 35581: Koha::Illrequest -> Koha::ILL::Request 2024-04-22 08:57:45 +02:00
Batches.pm Bug 35581: Koha::*Illbatch* -> Koha::*ILL::*Batch* 2024-04-22 08:57:41 +02:00
Comment.pm Bug 35581: Koha::Illcomment* -> Koha::ILL::Comment* 2024-04-22 08:57:42 +02:00
Comments.pm Bug 35581: Koha::Illcomment* -> Koha::ILL::Comment* 2024-04-22 08:57:42 +02:00
Request.pm Bug 34838: Use ->set to avoid method redefinition warnings 2024-06-11 13:28:16 +01:00
Requests.pm Bug 35581: Koha::Illrequest -> Koha::ILL::Request 2024-04-22 08:57:45 +02:00