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

            Bug ID: 41808
           Summary: Don't trigger value builder plugins in batch item
                    modification
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Cataloging
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

Value builder plugins such as e.g. stocknumberam123.pl can be triggered while
in batch item modification. This is a problem because it will cause the batch
of items to take the new value, overwriting previously saved values in the
items.
We should try to not trigger value builder plugins while in batch item
modification, only in normal item modification / item creation.

To reproduce:
1. Find an example biblio and note which framework it was catalogued in (Edit
-> Edit Record -> Check which framework is selected in the "Settings" dropdown
at the top of the editing page)
2. Go to Administration -> MARC bibliographic framework -> on that framework,
"Actions -> MARC Structure"
3. Find MARC fields 952$ -> "Actions -> Edit subfields"
4. Edit subfield 952$i
5. Select the value builder plugin stocknumberam123.pl
6. save
7. Go back to your example biblio, add an item, add a new stock number to field
952$i, save
8. Find barcodes of other items of biblios from your chosen framework and add
them to a batch item modification
9. in the batch item modification template, click into the "Inventory number"
field and then click somewhere else - the field will be incremented. At this
point, there is no way to stop the field from incrementing. Even if you delete
the value from the field, if you save the modification, it will still save the
incremented value for all items in the batch.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to