Bug 39054 - a need to distinguish between manual bibliographic record modifications and those being a consequence of authority modification
Summary: a need to distinguish between manual bibliographic record modifications and t...
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Transaction logs (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Janusz Kaczmarek
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-06 14:33 UTC by Janusz Kaczmarek
Modified: 2025-06-24 08:15 UTC (History)
2 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 39054: a need to distinguish between manual bibliographic record modifications and those being a consequence of authority modification (6.45 KB, patch)
2025-06-23 21:15 UTC, Janusz Kaczmarek
Details | Diff | Splinter Review
Bug 39054: Unit tests (3.45 KB, patch)
2025-06-23 21:15 UTC, Janusz Kaczmarek
Details | Diff | Splinter Review
Bug 39054: Unit tests (3.02 KB, patch)
2025-06-23 21:19 UTC, Janusz Kaczmarek
Details | Diff | Splinter Review
Bug 39054: a need to distinguish between manual bibliographic record modifications and those being a consequence of authority modification (6.51 KB, patch)
2025-06-24 08:15 UTC, Roman Dolny
Details | Diff | Splinter Review
Bug 39054: Unit tests (3.07 KB, patch)
2025-06-24 08:15 UTC, Roman Dolny
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Janusz Kaczmarek 2025-02-06 14:33:42 UTC
Now in action_logs, Koha does not distinguish between manual bibliographic record modifications and those being a consequence of authority modification. Both are logged in the same way: module: CATALOGUING ; operation: MODIFY ; interface: intranet.

IMO it would be helpful to be able to distinguish this two cases. (For instance to be able to evaluate a librarian's 'koha' in the cataloguing process: a single  action of modification of one authority record launching a modification of, say, 100 bibliographic records does not equal to manual modification of 100 bibliographic records. Also, if we trace issues in bibliographic records after modification being performed and want librarians to correct themselves, a biblio modification being a consequence of an authority modification should not be taken into account. Etc.)

Comment are welcome.
Comment 1 Janusz Kaczmarek 2025-06-23 21:15:37 UTC
Created attachment 183425 [details] [review]
Bug 39054: a need to distinguish between manual bibliographic record modifications and those being a consequence of authority modification

Now, in action_logs, Koha does not distinguish between
manual bibliographic record modifications and those being
a consequence of authority modification. Both are logged
in the same way: module: CATALOGUING ; operation: MODIFY
; interface: intranet.

It will be helpful to be able to distinguish this two
cases (for instance to be able to evaluate a librarian's
'koha' in the cataloguing process: a single  action of
modification of one authority record launching a
modification of, say, 100 bibliographic records does not
equal to manual modification of 100 bibliographic
records. Also, if we trace issues in bibliographic
records after modification being performed and want
librarians to correct themselves, a biblio modification
being a consequence of an authority modification should
not be taken into account, etc.).

Test plan:
==========
1. Have CataloguingLog system preference set to Log.
2. Find any bibliographic record linked with a authority
   record (e.g. sn:1 linked to Heylin, Clinton).
3. Modify the bibliographic record (Edit > Edit record >
   [make an edit] > Save).
3. In a separate tab, open the authority record and
   modify the heading.
4. Go back to the bibliographic record tab and chose
   Modification log. You will see the two recent operations
   marked as 'Modify'. You are not able to distinguish
   between the 'real' manual modification from the second
   being the result of an authority record modification.
5. Apply the patch ; restart all.
6. Repeat p. 3 and 4. You should now see the last action
   (resulting from authority modification) marked as
   'Merge', which allows you to distinguish the two
   different actions.
Comment 2 Janusz Kaczmarek 2025-06-23 21:15:39 UTC
Created attachment 183426 [details] [review]
Bug 39054: Unit tests
Comment 3 Janusz Kaczmarek 2025-06-23 21:19:22 UTC
Created attachment 183427 [details] [review]
Bug 39054: Unit tests
Comment 4 Roman Dolny 2025-06-24 08:15:13 UTC
Created attachment 183428 [details] [review]
Bug 39054: a need to distinguish between manual bibliographic record modifications and those being a consequence of authority modification

Now, in action_logs, Koha does not distinguish between
manual bibliographic record modifications and those being
a consequence of authority modification. Both are logged
in the same way: module: CATALOGUING ; operation: MODIFY
; interface: intranet.

It will be helpful to be able to distinguish this two
cases (for instance to be able to evaluate a librarian's
'koha' in the cataloguing process: a single  action of
modification of one authority record launching a
modification of, say, 100 bibliographic records does not
equal to manual modification of 100 bibliographic
records. Also, if we trace issues in bibliographic
records after modification being performed and want
librarians to correct themselves, a biblio modification
being a consequence of an authority modification should
not be taken into account, etc.).

Test plan:
==========
1. Have CataloguingLog system preference set to Log.
2. Find any bibliographic record linked with a authority
   record (e.g. sn:1 linked to Heylin, Clinton).
3. Modify the bibliographic record (Edit > Edit record >
   [make an edit] > Save).
3. In a separate tab, open the authority record and
   modify the heading.
4. Go back to the bibliographic record tab and chose
   Modification log. You will see the two recent operations
   marked as 'Modify'. You are not able to distinguish
   between the 'real' manual modification from the second
   being the result of an authority record modification.
5. Apply the patch ; restart all.
6. Repeat p. 3 and 4. You should now see the last action
   (resulting from authority modification) marked as
   'Merge', which allows you to distinguish the two
   different actions.

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Comment 5 Roman Dolny 2025-06-24 08:15:15 UTC
Created attachment 183429 [details] [review]
Bug 39054: Unit tests

Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>