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

            Bug ID: 40655
           Summary: Transport cost matrix doesn't save changes
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: System Administration
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

When editing transport-cost-matrix, it will save the numbers but not if you've
enabled transfers.

It also doesn't reflect disabled/enabled correctly from the database, so if you
go in and make changes it re-disables them. 

To recreate:

1. Turn on the UseTransportCostMatrix system preference
2. Got to Administration/transport cost matrix
3. Edit a number of boxes to add numbers and uncheck the 'disabled' box
4. save
5. Observe that all (or most?) of the boxes are still disabled.
6. Run a report: select * from transport_cost where cost !='0.00' 
7. Observe that they are disabled. 
8. in koha-mysql: update transport_cost set disable_transfer = 0 where cost
!=0.00;
9. Repeat step 6, they should have 0 instead of 1 for disable_transfer
10. Navigate to the transport cost matrix (don't refresh the page!)
11. Observe that the boxes are still disabled
12. Save (no changes needed)
13. Repeat step 6
14. Observe they are once again marked as disable_transfer 1

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