View | Details | Raw Unified | Return to bug 28854
Collapse All | Expand All

(-)a/Koha/Item.pm (-1 / +1 lines)
Lines 1571-1577 sub add_to_bundle { Link Here
1571
    }
1571
    }
1572
    catch {
1572
    catch {
1573
1573
1574
        # FIXME: See if we can move the below copy/paste from Koha::Object::store into it's own class and catch at a lower level in the Schema instantiation.. take inspiration fro DBIx::Error
1574
        # FIXME: See if we can move the below copy/paste from Koha::Object::store into it's own class and catch at a lower level in the Schema instantiation, take inspiration from DBIx::Error
1575
        if ( ref($_) eq 'DBIx::Class::Exception' ) {
1575
        if ( ref($_) eq 'DBIx::Class::Exception' ) {
1576
            warn $_->{msg};
1576
            warn $_->{msg};
1577
            if ( $_->{msg} =~ /Cannot add or update a child row: a foreign key constraint fails/ ) {
1577
            if ( $_->{msg} =~ /Cannot add or update a child row: a foreign key constraint fails/ ) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-2 / +1 lines)
Lines 1438-1444 Note that permanent location is a code, and location may be an authval. Link Here
1438
1438
1439
        [% IF bundlesEnabled %]
1439
        [% IF bundlesEnabled %]
1440
        var bundle_settings = [% TablesSettings.GetTableSettings('catalogue', 'detail','bundle_tables','json') | $raw %];
1440
        var bundle_settings = [% TablesSettings.GetTableSettings('catalogue', 'detail','bundle_tables','json') | $raw %];
1441
        var bundle_lost_value = [% Koha.Preference('BundleLostValue') %];
1441
        var bundle_lost_value = [% Koha.Preference('BundleLostValue') | html %];
1442
        [% END %]
1442
        [% END %]
1443
        $(document).ready(function() {
1443
        $(document).ready(function() {
1444
1444
1445
- 

Return to bug 28854