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

(-)a/C4/Context.pm (-1 / +1 lines)
Lines 777-783 sub triplestore { Link Here
777
    my $triplestore = ( $context->{triplestore} && $context->{triplestore}->{$name} ) ? $context->{triplestore}->{$name} : undef;
777
    my $triplestore = ( $context->{triplestore} && $context->{triplestore}->{$name} ) ? $context->{triplestore}->{$name} : undef;
778
    if ( ! $triplestore ){
778
    if ( ! $triplestore ){
779
        my $config_file = $context->config('triplestore_config');
779
        my $config_file = $context->config('triplestore_config');
780
        if ( -f $config_file ){
780
        if ( $config_file && -f $config_file ){
781
            my $config = YAML::LoadFile($config_file);
781
            my $config = YAML::LoadFile($config_file);
782
            if ($config && $name){
782
            if ($config && $name){
783
                my $new_triplestore = $self->_new_triplestore($config,$name);
783
                my $new_triplestore = $self->_new_triplestore($config,$name);
(-)a/Koha/OAI/Harvester/Import/Record.pm (-1 / +2 lines)
Lines 319-325 sub import_record { Link Here
319
                rdf_type => $rdf_type, #NOTE: RDF
319
                rdf_type => $rdf_type, #NOTE: RDF
320
            });
320
            });
321
321
322
            if ($import_record->isa('Koha::Import::MARCXML')){
322
            #FIXME: This is too hard-coded...
323
            if ($import_record->isa('Koha::OAI::Harvester::Import::MARCXML')){
323
                if ($linked_id){
324
                if ($linked_id){
324
                    #Link Koha record ID to OAI-PMH details for this record type,
325
                    #Link Koha record ID to OAI-PMH details for this record type,
325
                    #if linkage doesn't already exist.
326
                    #if linkage doesn't already exist.
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/oai-pmh-harvester/dashboard.tt (-4 / +3 lines)
Lines 141-147 Link Here
141
                            </li>
141
                            </li>
142
                        </ul>
142
                        </ul>
143
                        <div id="submitted_requests">
143
                        <div id="submitted_requests">
144
                            [% IF ( result.start.defined ) %]
144
                            [% IF ( result.defined("start") ) %]
145
                                <div class="alert">
145
                                <div class="alert">
146
                                    [% IF ( result.start ) %]
146
                                    [% IF ( result.start ) %]
147
                                        <span>Start succeeded</span>
147
                                        <span>Start succeeded</span>
Lines 149-155 Link Here
149
                                        <span>Start failed</span>
149
                                        <span>Start failed</span>
150
                                    [% END %]
150
                                    [% END %]
151
                                </div>
151
                                </div>
152
                            [% ELSIF ( result.stop.defined ) %]
152
                            [% ELSIF ( result.defined("stop") ) %]
153
                                 <div class="alert">
153
                                 <div class="alert">
154
                                    [% IF ( result.stop ) %]
154
                                    [% IF ( result.stop ) %]
155
                                        <span>Stop succeeded</span>
155
                                        <span>Stop succeeded</span>
Lines 157-163 Link Here
157
                                        <span>Stop failed</span>
157
                                        <span>Stop failed</span>
158
                                    [% END %]
158
                                    [% END %]
159
                                </div>
159
                                </div>
160
                            [% ELSIF ( result.delete.defined ) %]
160
                            [% ELSIF ( result.defined("delete") ) %]
161
                                 <div class="alert">
161
                                 <div class="alert">
162
                                    [% IF ( result.delete ) %]
162
                                    [% IF ( result.delete ) %]
163
                                        <span>Delete succeeded</span>
163
                                        <span>Delete succeeded</span>
164
- 

Return to bug 10662