Bug 27831 - Object Name Inconsistencies
Summary: Object Name Inconsistencies
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 8976
Blocks:
  Show dependency treegraph
 
Reported: 2021-03-02 10:55 UTC by Martin Renvoize
Modified: 2021-03-02 11:07 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Renvoize 2021-03-02 10:55:49 UTC
During the push of bug 8976 we discovered some inconsistencies in Koha::Object class names which lead to duplication.

We need to clarify the situation and move classes around to be consistent.

Current situation:

Koha::Authority::Subfield(s)
Koha::Authority::Tag(s)
Koha::Authority::Type(s)

Koha::Biblio::Metadata(s)

Koha::MarcSubfieldStructure(s)
Koha::AuthSubfieldStructure(s)

In bug 8976 we made a few suggestions

Koha::Framework::Biblio::Subfield(s)
Koha::Framework::Authority::Subfield(s)
Koha::Framework::Biblio::Tag(s)
Koha::Framework::Authority::Tag(s)

OR

Koha::MARC::Biblio::Subfield(s)
Koha::MARC::Authority::Subfield(s)

OR

Koha::Framework::Subfield::Biblio (inheriting from Koha::Framework::Subfield)
Koha::Framework::Subfield::Authority (inheriting from Koha::Framework::Subfield)

Thougts?