[Koha-bugs] [Bug 11413] New: Marc modification template has not the expected behavior if the condition and source fields are on the same field

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 18 11:47:26 CET 2013


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: gmcharlt at gmail.com
          Reporter: jonathan.druart at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

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.


More information about the Koha-bugs mailing list