Summary: | Regression: subfield code editable in MARC framework editor | ||
---|---|---|---|
Product: | Koha | Reporter: | Joonas Kylmälä <joonas.kylmala> |
Component: | System Administration | Assignee: | Joonas Kylmälä <joonas.kylmala> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | minor | ||
Priority: | P5 - low | CC: | gmcharlt |
Version: | master | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
22.11.00
|
|
Bug Depends on: | 5917 | ||
Bug Blocks: | |||
Attachments: |
Bug 31214: Make subfield code non-editable in MARC framework editor
Bug 31214: Make subfield code non-editable in MARC framework editor Bug 31214: Make subfield code non-editable in MARC framework editor |
Description
Joonas Kylmälä
2022-07-21 18:22:04 UTC
Commit causing the regression: Bug 5917 : Swapping templates over (5884fb100071e973daf671a4ada6b32724376768) We noticed this too and were torn between bug or feature, but it doesn't work right and isn't really useful. Created attachment 138743 [details] [review] Bug 31214: Make subfield code non-editable in MARC framework editor The subfield code field became editable in framework editor due to a regression that happened during the switch from a previous template framework koha used to the new Template toolkit framework currently in use: Bug 5917 : Swapping templates over (5884fb100071e973daf671a4ada6b32724376768) The regression happened due to the template syntax not being updated to the new one in this particular case. Note: The subfield code field doesn't align with the other fields anymore after this patch. However, this alignment issue is in every other Koha form in intranet and should be fixed in the global CSS rules. 1) Apply patch 2) Browse to /cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=995&frameworkcode=AR 3) Notice the subfield code is non-editable 4) Notice the subfield code is still editable in the New tab. Created attachment 138744 [details] [review] Bug 31214: Make subfield code non-editable in MARC framework editor The subfield code field became editable in framework editor due to a regression that happened during the switch from a previous template framework koha used to the new Template toolkit framework currently in use: Bug 5917 : Swapping templates over (5884fb100071e973daf671a4ada6b32724376768) The regression happened due to the template syntax not being updated to the new one in this particular case. Note: The subfield code field doesn't align with the other fields anymore after this patch. However, this alignment issue is in every other Koha form in intranet and should be fixed in the global CSS rules. 1) Apply patch 2) Browse to /cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=995&frameworkcode=AR 3) Notice the subfield code is non-editable 4) Notice the subfield code is still editable in the New tab. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Created attachment 138891 [details] [review] Bug 31214: Make subfield code non-editable in MARC framework editor The subfield code field became editable in framework editor due to a regression that happened during the switch from a previous template framework koha used to the new Template toolkit framework currently in use: Bug 5917 : Swapping templates over (5884fb100071e973daf671a4ada6b32724376768) The regression happened due to the template syntax not being updated to the new one in this particular case. Note: The subfield code field doesn't align with the other fields anymore after this patch. However, this alignment issue is in every other Koha form in intranet and should be fixed in the global CSS rules. 1) Apply patch 2) Browse to /cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=995&frameworkcode=AR 3) Notice the subfield code is non-editable 4) Notice the subfield code is still editable in the New tab. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Pushed to master for 22.11. Nice work everyone, thanks! |