Summary: | Follow-up to bug 25728 - Don't prefill av's code | ||
---|---|---|---|
Product: | Koha | Reporter: | Fridolin Somers <fridolin.somers> |
Component: | Cataloging | Assignee: | Fridolin Somers <fridolin.somers> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | andrew, jonathan.druart, m.de.rooy |
Version: | Main | ||
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: |
21.05.00,20.11.01
|
|
Circulation function: | |||
Bug Depends on: | 25728 | ||
Bug Blocks: | |||
Attachments: |
Bug 27128: Follow-up to bug 25728 - Don't prefill av's code
Bug 27128: Follow-up to bug 25728 - Don't prefill av's code Bug 27128: (bug 25728 follow-up) Don't prefill av's code |
Description
Fridolin Somers
2020-12-01 15:17:54 UTC
Created attachment 114076 [details] [review] Bug 27128: Follow-up to bug 25728 - Don't prefill av's code Bug 25728 patch "Don't prefill av's code" does not work. Calling empty val() retruns the attribut. Should be val(''). Test plan : 1) Without patch 2) Edit a record 3) Edit a subfield with AV 4) Enter a new value to create it 5) You see the modal popup, edit and save 6) Enter another new value to create it 7) You see the modal popup => value is prefilled 8) Re-do test plan with patch => value is empty Created attachment 114077 [details] [review] Bug 27128: Follow-up to bug 25728 - Don't prefill av's code Bug 25728 patch "Don't prefill av's code" does not work. Calling empty val() retruns the attribut. Should be val(''). Test plan : 1) Without patch 2) Edit a record 3) Edit a subfield with AV 4) Enter a new value to create it 5) You see the modal popup, edit and save 6) Enter another new value to create it 7) You see the modal popup => value is prefilled 8) Re-do test plan with patch (+ clear JS cache) => value is empty Created attachment 114078 [details] [review] Bug 27128: (bug 25728 follow-up) Don't prefill av's code Bug 25728 patch "Don't prefill av's code" does not work. Calling empty val() retruns the attribut. Should be val(''). Test plan : 1) Without patch 2) Edit a record 3) Edit a subfield with AV 4) Enter a new value to create it 5) You see the modal popup, edit and save 6) Enter another new value to create it 7) You see the modal popup => value is prefilled 8) Re-do test plan with patch (+ clear JS cache) => value is empty Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Pushed to master for 20.05, thanks to everybody involved! Pushed to 20.11.x for 20.11.01 Pushed to master for 21.05, thanks to everybody involved! Missing dependency, not backported to 20.05 |