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

            Bug ID: 43563
           Summary: Course reserves can set an item homebranch and
                    holdingbranch to NULL
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Course reserves
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

When adding an item to a course in the course reserves module, one can set the
item's homebranch and/or holdingbranch to NULL. This causes numerous problems
for as long as the item is connected to the course and the course is open --
the holdings table won't load on the bib record, build_holds_queue will die if
there are holds on the record, etc.

to recreate:
- Have an item with both homebranch and holdingbranch values
- create an active course
- add your item to the course, in the form to do so check the boxes for
homebranch and holdingbranch but leave the dropdowns for each set to blank,
click save
- open the bib your item is from
- get error "something went wrong when loading your table"
- holdings table never loads
- use a SQL report to confirm homebranch and holdingbranch are null for your
item

We should not allow users to set a null homebranch or holdingbranch when adding
to a course.

One could set a null itype in this same fashion if the bib to which one's item
is attached didn't have a 942$c

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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