[Koha-devel] Error when importing file

Mengu Yazicioglu mengu at devinim.com.tr
Fri May 5 21:49:03 CEST 2023


Hi

Changing line 93 to $overlay_framework = undef if ($overlay_framework == 
'_USE_ORIG');

will solve the issue

Mengü Yazıcıoğlu
Devinim

On 5.05.2023 22:35, Mengu Yazicioglu wrote:
>
> Hi,
>
> We've also hit the same problem and trying to solve the issue.
>
> If we can, I'll share here.
>
> Mengü Yazıcıoğlu
> Devinim
> On 5.05.2023 19:36, Michael Hafen wrote:
>> Looks like a bug in v22.11.05 to me.  Here's line 93 of 
>> tools/manage-marc-import.pl <http://manage-marc-import.pl>:
>>
>>     $overlay_framework = undef if $overlay_framework = '_USE_ORIG';
>>
>> I think the second '=' should be 'eq'.
>> Same file in the master branch looks the same too.
>>
>>
>> On Fri, May 5, 2023 at 5:56 AM Tiago Murakami <trmurakami at gmail.com 
>> <mailto:trmurakami at gmail.com>> wrote:
>>
>>     Hi,
>>
>>     I try to import an MARC file in koha and job failed.
>>
>>     I search the log file intranet-error.log and found this error:
>>
>>     [Fri May 05 08:50:43.696999 2023] [cgi:error] [pid 7720] [client
>>     ::1:42966] AH01215: Found = in conditional, should be == at
>>     /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl
>>     <http://manage-marc-import.pl> line 93.:
>>     /usr/share/koha/intranet/cgi-bin/tools/manage-marc-import.pl
>>     <http://manage-marc-import.pl>, referer:
>>     http://localhost:8080/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=1
>>
>>     Can you please let me know if this is a configuration error or a
>>     system error?
>>
>>     Thanks
>>
>>     -- 
>>     Tiago Rodrigo Marçal Murakami
>>     Bibliotecário
>>     _______________________________________________
>>     Koha-devel mailing list
>>     Koha-devel at lists.koha-community.org
>>     <mailto:Koha-devel at lists.koha-community.org>
>>     https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>>     website : https://www.koha-community.org/
>>     git : https://git.koha-community.org/
>>     bugs : https://bugs.koha-community.org/
>>
>>
>>
>> -- 
>> Michael Hafen
>> Washington County School District Technology Department
>> Systems Analyst
>>
>>
>> _______________________________________________
>> Koha-devel mailing list
>> Koha-devel at lists.koha-community.org
>> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>> website :https://www.koha-community.org/
>> git :https://git.koha-community.org/
>> bugs :https://bugs.koha-community.org/
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : https://www.koha-community.org/
> git : https://git.koha-community.org/
> bugs : https://bugs.koha-community.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20230505/5c4dfa7b/attachment.htm>


More information about the Koha-devel mailing list