[Koha-bugs] [Bug 30224] Wrong important field shown in cataloguing validation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 4 01:54:42 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30224

--- Comment #1 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
Created attachment 131367
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131367&action=edit
Bug 30224: Show correct important field in cataloguing validation

This patch fxes the cataloguing validation messages to show the correct tag,
when the whole field is important (not just a subfield).

Note: Look at Bug 30159 to fix the formatting of the validation popup.

1. Go to Administration -> MARC bibliographic frameworks
2. Click Actions next to a framework, view MARC structure
3. Edit multiple tags (at least 2) and check the Important checkbox.
4. Go to cataloguing and create a new record using the framework you just
edited
5. Don't fill any of the important fields. Click Save to force the validation
for the important tags
6. Notice that the error message shows that an important field isn't filled,
but the tag number shown is repeated for each message. The 'Go to field' link
goes to the right tag, but the tag number shown is incorrect.
7. Apply patch and refresh page
8. Click Save to force validation again.
9. Confirm the correct tag number is now showing for each error message.

Sponsored-by: Education Services Australia SCIS

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list