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

(-)a/Koha/OAI/Server/ListBase.pm (+9 lines)
Lines 170-175 sub GetRecords { Link Here
170
                            %params
170
                            %params
171
                        )
171
                        )
172
                    );
172
                    );
173
                } elsif ($marcxml_error) {
174
                    my $record = MARC::Record->new();
175
                    my $marcxml = $record->as_xml_record();
176
                    $self->record(
177
                        Koha::OAI::Server::Record->new(
178
                            $repository, $marcxml, $timestamp, \@setSpecs,
179
                            %params
180
                        )
181
                    );
173
                } else {
182
                } else {
174
                    $self->record(
183
                    $self->record(
175
                        Koha::OAI::Server::DeletedRecord->new(
184
                        Koha::OAI::Server::DeletedRecord->new(
(-)a/koha-tmpl/opac-tmpl/xslt/OAI.xslt (-2 / +1 lines)
Lines 349-355 Link Here
349
                                            <span>
349
                                            <span>
350
                                                <xsl:choose>
350
                                                <xsl:choose>
351
                                                    <xsl:when test="text()='INVALID_METADATA'">
351
                                                    <xsl:when test="text()='INVALID_METADATA'">
352
                                                        There was a problem decoding the metadata for this record, invalid characters were stripped. See system logs for details
352
                                                        There was a problem decoding the metadata for this record, an attempt was made to ignore invalid characters, the metadata view may be degraded. See system logs for details
353
                                                    </xsl:when>
353
                                                    </xsl:when>
354
                                                    <xsl:otherwise>
354
                                                    <xsl:otherwise>
355
                                                        <xsl:value-of select="text()" />
355
                                                        <xsl:value-of select="text()" />
356
- 

Return to bug 33270