Bug 36117

Summary: Can svc/bib_profile be removed?
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36094
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Jonathan Druart 2024-02-16 15:55:19 UTC
Is this used?
Comment 1 David Cook 2024-02-18 22:37:04 UTC
(In reply to Jonathan Druart from comment #0)
> Is this used?

I don't think it's used by Koha, but it's tough to know if it's used by anything else. 

I wonder if Galen would know. It seems like he was the person to work on it in any meaningful way (nearly 20 years ago).
Comment 2 David Cook 2025-01-05 23:10:01 UTC
It seems to be broken currently in main (24.12):

Can't call method "prepare_cached" on an undefined value at /kohadevbox/koha/svc/bib_profile line 60

Actually, I get the same error in 23.11 as well. 

So... I'm thinking it can probably be removed.
Comment 3 David Cook 2025-01-05 23:18:49 UTC
That said, I don't know why it's broken. In theory, it should be working...

I know there's been issues in the past with "my" being used at the file level, but in recent years I haven't noticed that as a problem.

Weird...