Skip Menu |

This queue is for tickets about the RT-Extension-AssetSQL CPAN distribution.

Report information
The Basics
Id: 124098
Status: open
Priority: 0/
Queue: RT-Extension-AssetSQL

People
Owner: Nobody in particular
Requestors: torsten.brumm [...] Kuehne-Nagel.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.04
Fixed in: (no value)



Subject: Can't use an undefined value as a HASH reference
Date: Tue, 16 Jan 2018 10:33:27 +0000
To: "bug-RT-Extension-AssetSQL [...] rt.cpan.org" <bug-RT-Extension-AssetSQL [...] rt.cpan.org>
From: "Brumm, Torsten / Kuehne + Nagel / Ham GI-ID" <torsten.brumm [...] Kuehne-Nagel.com>
[22298] [Tue Jan 16 10:25:53 2018] [error]: Can't use an undefined value as a HASH reference at /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Asset/Search/Elements/BuildFormatString line 58. Stack: [/opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Asset/Search/Elements/BuildFormatString:58] [/opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Asset/Search/Build.html:213] [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:696] [/opt/rt4/sbin/../lib/RT/Interface/Web.pm:375] [/opt/rt4/share/html/autohandler:53] (/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:208) [root@rtdevwww1 rt-extension-assetsql]# patch -d /opt/rt4 -p1 < patches/rt-4.4.2-later.patch patching file share/html/Elements/CollectionList patching file share/html/Elements/ShowSearch [root@rtdevwww1 rt-extension-assetsql]# perl Makefile.PL Using RT configuration from /opt/rt4/lib/RT.pm: html => /opt/rt4/local/plugins/RT-Extension-AssetSQL/html lib => /opt/rt4/local/plugins/RT-Extension-AssetSQL/lib static => /opt/rt4/local/plugins/RT-Extension-AssetSQL/static Open input '/root/rt442test/rt-extension-assetsql/xt/lib/RT/Extension/AssetSQL/Test.pm.in' file for substitution Open output '/root/rt442test/rt-extension-assetsql/xt/lib/RT/Extension/AssetSQL/Test.pm' file for substitution Checking if your kit is complete... Looks good Writing Makefile for RT::Extension::AssetSQL Writing MYMETA.yml and MYMETA.json [root@rtdevwww1 rt-extension-assetsql]# make cp lib/RT/Extension/AssetSQL/Assets.pm blib/lib/RT/Extension/AssetSQL/Assets.pm cp lib/RT/Extension/AssetSQL.pm blib/lib/RT/Extension/AssetSQL.pm Manifying blib/man3/RT::Extension::AssetSQL::Assets.3pm Manifying blib/man3/RT::Extension::AssetSQL.3pm [root@rtdevwww1 rt-extension-assetsql]# make install Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/lib/RT/Extension/AssetSQL.pm Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/lib/RT/Extension/AssetSQL/Assets.pm Installing /opt/rt4/local/man/man3/RT::Extension::AssetSQL::Assets.3pm Installing /opt/rt4/local/man/man3/RT::Extension::AssetSQL.3pm Appending installation info to /opt/rt4/local/plugins/RT-Extension-AssetSQL/lib/perllocal.pod Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Callbacks/AssetSQL/Elements/Tabs/Privileged Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Callbacks/AssetSQL/Asset/Search/index.html/Initial Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Callbacks/AssetSQL/Widgets/SearchSelection/Default Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Asset/Elements/SelectDateType Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Asset/Elements/SelectAttachmentField Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Asset/Search/Build.html Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Asset/Search/Edit.html Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Asset/Search/Results.tsv Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Asset/Search/Bulk.html Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Asset/Search/Results.html Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Asset/Search/Elements/PickBasics Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Asset/Search/Elements/BuildFormatString Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Asset/Search/Elements/DisplayOptions Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Asset/Search/Elements/PickAssetCFs Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Asset/Search/Elements/SelectLinks Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Asset/Search/Elements/SelectPersonType Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Asset/Search/Elements/PickCriteria Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/html/Asset/Search/Elements/EditSort Installing /opt/rt4/local/plugins/RT-Extension-AssetSQL/static/css/assetsql.css Kühne + Nagel (AG & Co.) KG Rechtsform: Kommanditgesellschaft, Bremen HRA 21928, USt-IdNr.: DE 812773878. Geschäftsleitung Kühne + Nagel (AG & Co.) KG: Dr. Hansjörg Rodi (Vors. ), Martin Brinkmann, Holger Ketz, Jan-Hendrik Köstergarten, Nicholas Minde, Michael Nebel, Lars Wedel, Matthias Weiner. Persönlich haftende Gesellschafterin: Kühne & Nagel A.G., Rechtsform: Aktiengesellschaft nach luxemburgischem Recht, HR-Nr.: B 18745, Geschäftsführendes Verwaltungsratsmitglied: Karl Gernandt. Geschäftsleitung Region Zentral- und Osteuropa: Dr. Hansjörg Rodi (Vors.), Dominic Edmonds, Thierry Held, Uwe Hött, Richard Huhn, Holger Ketz, Jan-Hendrik Köstergarten, Jan Kunze, Michael Nebel, Mustafa Sener. Wir arbeiten ausschließlich auf Grundlage der Allgemeinen Deutschen Spediteurbedingungen 2017 (ADSp 2017). Hinweis: Die ADSp 2017 weichen in Ziffer 23 hinsichtlich des Haftungshöchstbetrages für Güterschäden (§ 431 HGB) vom Gesetz ab, indem sie die Haftung bei multimodalen Transporten unter Einschluss einer Seebeförderung und bei unbekanntem Schadenort auf 2 SZR/kg und im Übrigen die Regelhaftung von 8,33 SZR/kg zusätzlich auf 1,25 Millionen Euro je Schadenfall sowie 2,5 Millionen Euro je Schadenereignis, mindestens aber 2 SZR/kg, beschränken. Die ADSp sind auf unserer Webseite als Download erhältlich. Auf Anfrage senden wir Ihnen diese auch gerne zu.
On Tue Jan 16 05:44:21 2018, torsten.brumm@Kuehne-Nagel.com wrote: Show quoted text
> [22298] [Tue Jan 16 10:25:53 2018] [error]: Can't use an undefined > value as a HASH reference at /opt/rt4/local/plugins/RT-Extension- > AssetSQL/html/Asset/Search/Elements/BuildFormatString line 58. >
Are you seeing this with version 0.04? I thought that had a fix for this issue, but maybe not. Try adding this to your RT_SiteConfig: Set($CustomDateRanges, {});
On Wed Jan 17 14:59:36 2018, BPS wrote: Show quoted text
> On Tue Jan 16 05:44:21 2018, torsten.brumm@Kuehne-Nagel.com wrote:
> > [22298] [Tue Jan 16 10:25:53 2018] [error]: Can't use an undefined > > value as a HASH reference at /opt/rt4/local/plugins/RT-Extension- > > AssetSQL/html/Asset/Search/Elements/BuildFormatString line 58. > >
> > Are you seeing this with version 0.04? I thought that had a fix for > this issue, but maybe not. > > Try adding this to your RT_SiteConfig: > > Set($CustomDateRanges, {});
This bug is still present in 4.4.4. $CustomDateRanges is not defined by default, so it can't be dereferenced.