http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11413
Bug ID: 11413
Summary: Marc modification template has not the expected
behavior if the condition and source fields are on the
same field
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Tools
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
If you want to do an action (delete/update/move/...) on a multivalued field and
if a condition is defined on the same field, it is highly probable the resulted
record will not be what you expected.
For example:
Deleting All (or the first) fields 650 if 245$a="Bad title" works with the
current code.
BUT if you want to delete All (or the first) fields 650 with a condition on
650$9=42, and if at least one field matches the condition :
- if you have selected all, all fields 650 will be deleted, even the ones who
do not match the condition.
- if you have selected first, the first 650 field will be deleted, even if it
does not match the condition.
The expected behavior is to delete the fields matching the condition (and not
all the 650 fields).
Maybe this bug is a major one, lose or corrupt data is probable!
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/