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

Martin Renvoize (ashimema) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Signed Off

--- Comment #76 from Martin Renvoize (ashimema) 
<[email protected]> ---
Thanks Lucas, good catch, I can reproduce it.

The cause: when saving, the columns of the tabs not shown were refilled from
the saved rule, replacing what had been entered on a tab since left. Also,
clicking Edit only filled the columns of the tab shown, so the other tabs
showed empty inputs.

The new follow-up patch fixes both:
* Clicking Edit now fills every column, then goes back to the tab shown.
* Saving a rule being edited no longer repopulates any column.
* When entering the patron category and item type of an existing rule again,
only the hidden columns that were not changed are repopulated.

I added Cypress tests for your steps, for editing then switching tabs, and for
the same-rule-entered-again case. They fail without the patch.

All the patches are re-attached, rebased on current main, signed-off-by lines
kept. Setting back to Signed Off for another look.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to