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

            Bug ID: 41405
           Summary: Patron categories noissuescharge values default to 0
                    when not set
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Patrons
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

To recreate:
1 - In a new KTD, check the values for a category:
    SELECT * FROM categories WHERE categorycode ='B'\G
2 - By default these three columns are null:
                        noissuescharge: NULL
              noissueschargeguarantees: NULL
noissueschargeguarantorswithguarantees: NULL
3 - If they are not, set them so:
    UPDATE categories SET noissuescharge=NULL, noissueschargeguarantees=NULL,
noissueschargeguarantorswithguarantees=NULL;
4 - Open the category in staff interface:
    More->Administration->Patron categories->Edit
5 - Note the three inputs are set to 0
    Checkout charge limit
    Guarantees checkout charge limit
    Guarantors with guarantees checkout charge limit
6 - Save the entry without making changes
7 - Check the DB as in Step 1
8 - Note all values are 0
9 - Edit and black the inputs and save
10 - Check the DB
11 - Note all value are now undef

We should not have to edit the form to prevent changes

-- 
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]
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