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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-2 / +2 lines)
Lines 107-118 Link Here
107
               <h1>Errors found</h1>
107
               <h1>Errors found</h1>
108
               [% IF decoding_error %]
108
               [% IF decoding_error %]
109
                   <h2>Encoding errors</h2>
109
                   <h2>Encoding errors</h2>
110
                   <p>There is at least one encoding error with this bibliographic record, the view may be degraded.</p>
110
                   <p class="biberror">There is at least one encoding error with this bibliographic record, the view may be degraded.</p>
111
                   <pre class="error">[% decoding_error | html %]</pre>
111
                   <pre class="error">[% decoding_error | html %]</pre>
112
               [% END %]
112
               [% END %]
113
               [% IF analytics_error %]
113
               [% IF analytics_error %]
114
                   <h2>Analytics errors</h2>
114
                   <h2>Analytics errors</h2>
115
                   <p>There was an error searching for analytic records, please see the logs for details.</p>
115
                   <p class="analytics_error">There was an error searching for analytic records, please see the logs for details.</p>
116
               [% END %]
116
               [% END %]
117
            </div>
117
            </div>
118
        [% END %]
118
        [% END %]
(-)a/t/db_dependent/selenium/regressions.t (-3 / +2 lines)
Lines 124-131 subtest 'Bibliographic record detail page must not explode even with invalid met Link Here
124
124
125
    $driver->get( $base_url . "/catalogue/detail.pl?biblionumber=$biblionumber" );
125
    $driver->get( $base_url . "/catalogue/detail.pl?biblionumber=$biblionumber" );
126
126
127
    my $biberror = $driver->find_element('//span[@class="biberror"]')->get_text();
127
    my $biberror = $driver->find_element('//p[@class="biberror"]')->get_text();
128
    is( $biberror, "There is an error with this bibliographic record, the view may be degraded.");
128
    is( $biberror, "There is at least one encoding error with this bibliographic record, the view may be degraded.");
129
    push @cleanup, $biblio;
129
    push @cleanup, $biblio;
130
};
130
};
131
131
132
- 

Return to bug 35119