[Bug 39560] New: For authorities, hidded fields (but present in the record) will be lost when editing and saving such a record
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39560 Bug ID: 39560 Summary: For authorities, hidded fields (but present in the record) will be lost when editing and saving such a record Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: MARC Authority data support Assignee: januszop@gmail.com Reporter: januszop@gmail.com QA Contact: testopia@bugs.koha-community.org If a subfield is present in the authority record, but this subfield is marked as 'Hide all', then if you edit and save such a record, the data from hidden fields wil be lost forever. This behavior differs from bibliographic records editor, when even if a subfield is hidden (not active) in the editor it will be activated and present in the editor if present in the record. The problem affect above all records imported from external agencies. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39560 Janusz Kaczmarek <januszop@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39560 --- Comment #1 from Janusz Kaczmarek <januszop@gmail.com> --- Created attachment 180619 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180619&action=edit Bug 39560: For authorities, hidded fields (but present in the record) will be lost when editing and saving such a record If a subfield is present in the authority record, but this subfield is marked as 'Hide all', then if you edit and save such a record, the data from hidden fields wil be lost forever. This behavior differs from bibliographic records editor, when even if a subfield is hidden (not active) in the editor it will be activated and present in the editor if present in the record. The problem affect above all records imported from external agencies. Test plan: ========== 1. Have any authority record. Note one present subfield (e.g. 100 $d). 2. Modify the record framework for this type of record (/cgi-bin/koha/admin/authtypes.pl), marking the subfield 'Hide all'. 3. Open the record in the editor and save. 4. Re-enable the subfield in the framework, marking it as 'Show all' now. 5. Reopen the record in the editor. Note that the previous content of the subfield you played with is gone. Enter any new value and save. 6. Apply the patch ; restart all. 7. Repeat p. 2, i.e. hide the subfield again. Open the record in the editor. You should see the content of the hidden field as you would for a bibliographic record with a subfield hidden in the editor but present in a record. (Note also that the content of this subfield is visible in record view). 8. Open the editor with an empty record (New authority) of the type in question. Control that the subfield is hidden (not accessible) for a new record. BTW Note that the "hidden" but present subfields are visible in OPAC, but not in the staff interface *before* applying the patch. The patch changes nothing for OPAC. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39560 Magnus Enger <magnus@libriotech.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39560 Magnus Enger <magnus@libriotech.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180619|0 |1 is obsolete| | --- Comment #2 from Magnus Enger <magnus@libriotech.no> --- Created attachment 180668 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180668&action=edit Bug 39560: For authorities, hidded fields (but present in the record) will be lost when editing and saving such a record If a subfield is present in the authority record, but this subfield is marked as 'Hide all', then if you edit and save such a record, the data from hidden fields wil be lost forever. This behavior differs from bibliographic records editor, when even if a subfield is hidden (not active) in the editor it will be activated and present in the editor if present in the record. The problem affect above all records imported from external agencies. Test plan: ========== 1. Have any authority record. Note one present subfield (e.g. 100 $d). 2. Modify the record framework for this type of record (/cgi-bin/koha/admin/authtypes.pl), marking the subfield 'Hide all'. 3. Open the record in the editor and save. 4. Re-enable the subfield in the framework, marking it as 'Show all' now. 5. Reopen the record in the editor. Note that the previous content of the subfield you played with is gone. Enter any new value and save. 6. Apply the patch ; restart all. 7. Repeat p. 2, i.e. hide the subfield again. Open the record in the editor. You should see the content of the hidden field as you would for a bibliographic record with a subfield hidden in the editor but present in a record. (Note also that the content of this subfield is visible in record view). 8. Open the editor with an empty record (New authority) of the type in question. Control that the subfield is hidden (not accessible) for a new record. BTW Note that the "hidden" but present subfields are visible in OPAC, but not in the staff interface *before* applying the patch. The patch changes nothing for OPAC. Signed-off-by: Magnus Enger <magnus@libriotech.no> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39560 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@openfifth.c | |o.uk See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=27730 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39560 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180668|0 |1 is obsolete| | --- Comment #3 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 182189 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182189&action=edit Bug 39560: For authorities, hidded fields (but present in the record) will be lost when editing and saving such a record If a subfield is present in the authority record, but this subfield is marked as 'Hide all', then if you edit and save such a record, the data from hidden fields wil be lost forever. This behavior differs from bibliographic records editor, when even if a subfield is hidden (not active) in the editor it will be activated and present in the editor if present in the record. The problem affect above all records imported from external agencies. Test plan: ========== 1. Have any authority record. Note one present subfield (e.g. 100 $d). 2. Modify the record framework for this type of record (/cgi-bin/koha/admin/authtypes.pl), marking the subfield 'Hide all'. 3. Open the record in the editor and save. 4. Re-enable the subfield in the framework, marking it as 'Show all' now. 5. Reopen the record in the editor. Note that the previous content of the subfield you played with is gone. Enter any new value and save. 6. Apply the patch ; restart all. 7. Repeat p. 2, i.e. hide the subfield again. Open the record in the editor. You should see the content of the hidden field as you would for a bibliographic record with a subfield hidden in the editor but present in a record. (Note also that the content of this subfield is visible in record view). 8. Open the editor with an empty record (New authority) of the type in question. Control that the subfield is hidden (not accessible) for a new record. BTW Note that the "hidden" but present subfields are visible in OPAC, but not in the staff interface *before* applying the patch. The patch changes nothing for OPAC. Signed-off-by: Magnus Enger <magnus@libriotech.no> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39560 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major Status|Signed Off |Passed QA QA Contact|testopia@bugs.koha-communit |martin.renvoize@openfifth.c |y.org |o.uk -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39560 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|For authorities, hidded |For authorities, hidden |fields (but present in the |fields (but present in the |record) will be lost when |record) will be lost when |editing and saving such a |editing and saving such a |record |record -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39560 Michelle Spinney <mspinney@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mspinney@clamsnet.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39560 Esther Melander <esther.melander@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |esther.melander@bywatersolu | |tions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39560 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|For authorities, hidden |For authorities, hidden |fields (but present in the |fields in the record will |record) will be lost when |be lost when editing and |editing and saving such a |saving |record | Keywords| |release-notes-needed Version|unspecified |Main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39560 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |25.05.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39560 --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Pushed for 25.05! Well done everyone, thank you! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39560 Lisette Scheer <lisette@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lisette@bywatersolutions.co | |m Text to go in the| |This bug fixes an issue release notes| |where data would be deleted | |from authorities if the | |field was filled out but | |hidden in the authority | |type. This patch updates | |the authority editor to | |show the data if present, | |even if the field is | |edited, matching the | |bibliographic editor | |behavior. Keywords|release-notes-needed | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39560 Koha collecto <koha@collecto.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |koha@collecto.ca -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39560 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Needs documenting CC| |fridolin.somers@biblibre.co | |m --- Comment #5 from Fridolin Somers <fridolin.somers@biblibre.com> --- I understand the bug but I prefer not impact behavior of 24.11.x for stability of LTS version -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org