[Koha-bugs] [Bug 30517] New: Translation breaks editing parent type circulation rule
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 12 21:27:24 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30517
Bug ID: 30517
Summary: Translation breaks editing parent type circulation
rule
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: I18N/L10N
Assignee: koha-bugs at lists.koha-community.org
Reporter: caroline.cyr-la-rose at inlibro.com
QA Contact: testopia at bugs.koha-community.org
CC: frederic at tamil.fr
If using Koha in a language other than English, and using parent item types,
you can't easily edit a rule for the parent type. When you click on "Edit" next
to the rule, the line at the bottom keeps "All" as the item type and if you're
not careful, it doesn't modify the parent type rule, but the All rule.
I can't explain it well, but here's how to replicate this problem:
1. Install another language in the staff interface
1. ./translate install xx-XX
2. Check the box of the language in the 'language' system preference
3. Refresh
2. Create an item type with a parent
1. Go to Administration > Item types
2. Create a new item type or modify an existing one, assigning a parent type
(I created a 'Children's books' type and assigned 'Books' as its parent)
3. Create a circulation rule for the parent type (I created All/Books, with 10
checkouts allowed)
4. Create a circulation rule for All/All (I created All/All with 30 checkouts
allowed)
5. In English, click on "Edit" next to the parent type rule (All/Books)
--> Note that the item type in the bottom row (the modifiable row) is changed
to 'Books (All)'
6. Modify the number of checkouts allowed (e.g. 99)
--> The All/Books rule is modified
7. Switch the interface to the other language
8. Click on "Edit" next to the parent type rule (All/Books)
--> Note that the item type in the bottom row stays on 'All'
9. Modify the number of checkouts allowed (e.g. 88)
--> The All/All rule is modified
I hope my steps are clear...
I tried this in fr-CA and de-DE, and the behaviour is the same.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list