Hi Nico,

das stimmt, die sind unterschiedlich, weil das Verzeichnis cpan-lib kein
direkter Bestandteil des OTRS-Kerns ist, sondern lediglich
"vorinstallierte" cpan-Module enthält. Aber: System/JSON.pm nutzt direkt
die Funktionen von cpan-lib/JSON.pm.

Aber gut, dass das Problem jetzt behoben ist.

Viele Grüße
Rene


On 06/29/2011 04:35 PM, Frobenius Nico wrote:
> Hi Rene,
> 
> Cpan-lib::JSON.pm und System::JSON.pm sind unterschiedliche module - siehe
> CVS:
> 
> http://source.otrs.org/viewvc.cgi/otrs/Kernel/System/JSON.pm?revision=1.7&v
> iew=co
> http://source.otrs.org/viewvc.cgi/otrs/Kernel/cpan-lib/JSON.pm?revision=1.5
> &view=co
> 
> Peinlich ist mir allerdings, dass ich obwohl ich mehrfach die
> System::JSON.pm überprüft habe und aus dem CVS geholt habe, nun doch eine
> alte Version im System war.
> Wo auch immer sie her kommt - ich weis es nicht. In sofern:
> 
> Thema gegessen, danke für deine Mithilfe.
> 
> Gruss,
> Nico
> 
> 
> 
> 
> 
> On 6/29/11 11:20 AM, "Rene Böhm" <[email protected]> wrote:
> 
>> Hi Nico,
>>
>> was hat es denn mit der .save File in Kernel/cpan-lib auf sich ? .save
>> Files werden von OTRS angelegt, wenn ein OTRS-Paket eine Datei ersetzt.
>>
>> System/JSON.pm greift bei Aufruf von False() direkt auf cpan-lib/JSON.pm
>> zu. Und wenn es dort u.U. keine False-Methode gibt geht's schief.
>>
>> Viele Grüße
>> Rene
>>
>>
>> On 06/29/2011 11:04 AM, Frobenius Nico wrote:
>>> Hi Rene,
>>>
>>> Leider nein:
>>>
>>> [root@xxx /]# find . -path './net' -prune -o -print | grep JSON.pm
>>> ./opt/otrs/Kernel/System/JSON.pm
>>> ./opt/otrs/Kernel/cpan-lib/JSON.pm.save
>>> ./opt/otrs/Kernel/cpan-lib/JSON.pm
>>>
>>>
>>> Noch jemand eine Idee?
>>>
>>> Danke und Gruss,
>>> Nico
>>>  
>>>
>>>
>>>
>>>
>>> On 6/28/11 11:53 AM, "Rene Böhm" <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> gibt es irgendwo in deinem Perl-Lib-Pfad noch eine alte JSON.pm aus dem
>>>> 2.4er OTRS ?
>>>>
>>>> Viele Grüße
>>>> Rene
>>>>
>>>>
>>>> On 06/28/2011 11:31 AM, Frobenius Nico wrote:
>>>>> Hallo zusammen,
>>>>>
>>>>> ich hatte bereits in der englischen Liste gefragt, dort aber leider
>>>>> keine Antwort bekommen. Leider bin ich momentan mit meinem Latein am
>>>>> Ende.
>>>>>
>>>>> Nach dem Umzug von 2.x auf 3.8 bekomme ich beim Versuch, einen Owner
>>>>> bzw. eine QUeue zu ändern eine Ajax-Fehlermeldung, siehe
>>>>> /var/log/messages:
>>>>>
>>>>>
>>>>> [Mon Jun 27 12:12:15 2011] [error] [Mon Jun 27 12:12:15 2011] -e:
>>>>> Undefined subroutine &Kernel::System::JSON::False called at
>>>>> /opt/otrs//Kernel/Output/HTML/LayoutAJAX.pm line 91.\n
>>>>>
>>>>> Ich habe die LayoutAJAX.pm überprüft (latest version nach dem CVS),
>>>>> ich
>>>>> habe ebenfalls JSON.PM überprüft (auch latest version) und die routine
>>>>> sub False existiert. Meine installation läuft bis auf diesen Fehler
>>>>> einwandfrei - in meiner testmigration trat der Fehler nicht auf .
>>>>>
>>>>> Hat jemand eine Idee?
>>>>>
>>>>> Besten Dank,
>>>>> Nico
>>>>>
>>>>>
>>>>> -------------
>>>>> Department of Biosystems
>>>>> ETH Zürich / Swiss Federal Institute of Technology
>>>>>
>>>>> Nico Frobenius
>>>>> IT System Technik
>>>>> Mattenstrasse 26
>>>>> 4058 Basel, Switzerland
>>>>>
>>>>> phone:    +41 61 387 31 85
>>>>> email:      [email protected]
>>>>> web:        http://www.bsse.ethz.ch/
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> OTRS mailing list: otrs-de - Webpage: http://otrs.org/
>>>>> Archive: http://lists.otrs.org/pipermail/otrs-de
>>>>> To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de
>>>>>
>>>>
>>>>
>>>> -- 
>>>> Dipl.-Ing. Rene Böhm
>>>> c.a.p.e. IT GmbH
>>>> Annaberger Str. 240
>>>> 09125 Chemnitz
>>>> Tel.: +49 371 5347-624
>>>> Fax.: +49 371 5347-625
>>>> Mobil: +49 176 66680681
>>>> http://www.cape-it.de
>>>>
>>>> Geschäftsführung Rico Barth, Thomas Maier
>>>> AG Chemnitz, HRB 23192
>>>> ---------------------------------------------------------------------
>>>> OTRS mailing list: otrs-de - Webpage: http://otrs.org/
>>>> Archive: http://lists.otrs.org/pipermail/otrs-de
>>>> To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de
>>>
>>> ---------------------------------------------------------------------
>>> OTRS mailing list: otrs-de - Webpage: http://otrs.org/
>>> Archive: http://lists.otrs.org/pipermail/otrs-de
>>> To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de
>>>
>>
>>
>> -- 
>> Dipl.-Ing. Rene Böhm
>> c.a.p.e. IT GmbH
>> Annaberger Str. 240
>> 09125 Chemnitz
>> Tel.: +49 371 5347-624
>> Fax.: +49 371 5347-625
>> Mobil: +49 176 66680681
>> http://www.cape-it.de
>>
>> Geschäftsführung Rico Barth, Thomas Maier
>> AG Chemnitz, HRB 23192
>> ---------------------------------------------------------------------
>> OTRS mailing list: otrs-de - Webpage: http://otrs.org/
>> Archive: http://lists.otrs.org/pipermail/otrs-de
>> To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de
> 
> ---------------------------------------------------------------------
> OTRS mailing list: otrs-de - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs-de
> To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de
> 


-- 
Dipl.-Ing. Rene Böhm
c.a.p.e. IT GmbH
Annaberger Str. 240
09125 Chemnitz
Tel.: +49 371 5347-624
Fax.: +49 371 5347-625
Mobil: +49 176 66680681
http://www.cape-it.de

Geschäftsführung Rico Barth, Thomas Maier
AG Chemnitz, HRB 23192
---------------------------------------------------------------------
OTRS mailing list: otrs-de - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs-de
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de

Antwort per Email an