[rt-users] AssetTracker Custom Field Select Date problem

Gary McRae gary.m at bitek.com.au
Tue May 28 21:57:11 EDT 2013


Thanks Don.
Problem solved with your help.

Kind regards,
Gary

On 29/05/2013, at 10:32 AM, Don Gourley <donald.gourley at gmail.com> wrote:

> Gary,
> 
> There is also a google group called at-users that has been very
> helpful for us, but right now I can't get into it to point you to the
> solution. Did they kill google groups as I had heard threatened?
> 
> But we had the same problem and I nice guy named Rolf provided a
> solution. AFAIK he is the most active supporter of the AssetTracker
> module. He has his own fork on github but there was some talk on
> at-users at googlegroups.com of folding his fixes into the main branch.
> 
> Anyway, here is the fix he provided:
> 
>> Rolf Grossmann <rolf.grossmann at gmail.com>Tue, Apr 2, 2013 at 2:29 PM
>> Reply-To: at-users at googlegroups.com
>> To: at-users at googlegroups.com
>> Hi Stewart,
>> 
>> On 29.03.2013 16:20, studogg1 at gmail.com wrote:
>> 
>>> We created an Asset Tracker custom field for a calendar showing an
>>> inventory date. When we create a date entry it works fine. But if we
>>> modify the asset, the date field gets cleared and the date is gone. We
>>> need to re-enter the original date (which is a pain) or we have to
>>> change the field to a standard text field. Changing to a standard field
>>> will cause problems with human error and searching.
>>> 
>>> Is there a way to ensure the date field doesn't get cleared?
>> 
>> I've found the cause (code duplicated from rt) and fixed this problem in
>> my fork of asset tracker. See
>> https://github.com/rg1/rt-extension-assettracker/commit/1b2cb79c43e8d21ea8b3fad18b25987c6391ac16
>> 
>> A proper fix should probably remove all that duplicated code entirely :/
>> 
>> Best regards, Rolf.
> __________________
> 
>> Date: Tue, 28 May 2013 05:56:45 +0000
>> From: "Brumm, Torsten / Kuehne + Nagel / Ham GI-ID"
>>        <torsten.brumm at Kuehne-Nagel.com>
>> To: "gary.m at bitek.com.au" <gary.m at bitek.com.au>,
>>        "rt-users at lists.bestpractical.com" <rt-users at lists.bestpractical.com>
>> Subject: Re: [rt-users] AssetTracker Custom Field Select Date problem
>> Message-ID:
>>        <524815224EA2F649982D6A7BCD53BDFE2158F87B at DCEEXMBX04.ger.win.int.kn>
>> Content-Type: text/plain; charset="us-ascii"
>> 
>> Hi Gary,
>> for issues with AT you should consult : https://github.com/chakatodd/rt-extension-assettracker and open an issue there.
>> 
>> Torsten
>> 
>> Von: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von Gary McRae
>> Gesendet: Montag, 27. Mai 2013 01:35
>> An: rt-users at lists.bestpractical.com
>> Betreff: [rt-users] AssetTracker Custom Field Select Date problem
>> 
>> I am having a problem with a custom field using a 'Select Date' type. Creation is no problem nor is entering data.
>> If you open an asset and select 'Fields'  then all the values previously entered are correctly reloaded from the db.
>> The Date field though is empty and it shows the value in brackets beside the date field.
>> If you then update any other field ie. 'Change Comment' and then 'Save Changes' the value of the date field is removed as below.
>> Results
>>    2013-05-27 is no longer a value for custom field Purchase Date
>> 
>> This can easily remove data from the database.
>> Can someone confirm this please?
>> 
>> K?hne + Nagel (AG & Co.) KG, Gesch?ftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius, Reiner Heiken, Holger Ketz (Stellv.), Jan-Hendrik K?stergarten (Stellv.), Bruno Mang, Christian Marnett?, Jens Wollesen, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Pers?nlich haftende Gesellschaft: K?hne & Nagel A.G., Sitz: Contern/Luxemburg Gesch?ftsf?hrender Verwaltungsrat: Karl Gernandt
> 
> 
> -- 
> RT Training in Seattle, June 19-20: http://bestpractical.com/training




More information about the rt-users mailing list