CPH-SE
Posts: 36
Joined: Tue Mar 01, 2011 12:37 am
Location: Denmark

Small Bug in DeviceReader.GetByApplication()

Fri Dec 07, 2012 2:10 pm

Hi,
I’m using the DeviceReader class (located in GpsGate.Online.dll, version 3.0.0.3575), and found a small bug in deviceReader.GetByApplication(WebContext.Application.ID).

It return all devices twice in the collection. My code below:

List<DeviceBag> result = new List<DeviceBag>();
DeviceReader deviceReader = new DeviceReader();
IEnumerable<DeviceBag> devices =
deviceReader.GetByApplication(WebContext.Application.ID);

It’s easy to work around - I just wanted to let you know.

User avatar
johan
GpsGate
Posts: 14987
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: Small Bug in DeviceReader.GetByApplication()

Fri Dec 07, 2012 2:15 pm

Thanks for your report. It is recommended that you use GpsGate Server v3.1, this issue is most likely fixed.

Regards,
Johan

GpsGate Support

CPH-SE
Posts: 36
Joined: Tue Mar 01, 2011 12:37 am
Location: Denmark

RE: Small Bug in DeviceReader.GetByApplication()

Fri Dec 07, 2012 10:24 pm

Just upgraded the Core to current version.
FYI, Bug still present in Gpsgate.Online.dll version 3.1.0.3840.

Originally posted by johan

Thanks for your report. It is recommended that you use GpsGate Server v3.1, this issue is most likely fixed.

Regards,
Johan

GpsGate Support

User avatar
johan
GpsGate
Posts: 14987
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: Small Bug in DeviceReader.GetByApplication()

Sat Dec 08, 2012 2:48 am

Please also install Patch.3840

Regards,
Johan

GpsGate Support

CPH-SE
Posts: 36
Joined: Tue Mar 01, 2011 12:37 am
Location: Denmark

RE: Small Bug in DeviceReader.GetByApplication()

Sat Dec 08, 2012 9:26 pm

I did install the patch.3840 also.

User avatar
Mattias
GpsGate
Posts: 135
Joined: Wed Dec 16, 2009 3:59 pm
Location: Sweden

RE: Small Bug in DeviceReader.GetByApplication()

Mon Dec 10, 2012 1:13 pm

There was just another release of Patch.3840 on update.gpsgate.com, v3.1.0.3976. It should fix this issue.

Regards,
Mattias

CPH-SE
Posts: 36
Joined: Tue Mar 01, 2011 12:37 am
Location: Denmark

RE: Small Bug in DeviceReader.GetByApplication()

Wed Dec 19, 2012 2:37 pm

I have updated the Patch.3840, and the bug is still there.
Furthermore, the DeviceBag’s returned by deviceReader.GetByApplication allways have the 'OwnerUsername' empty. The 'OwnerID' works fine.


Regards,


Originally posted by Mattias

There was just another release of Patch.3840 on update.gpsgate.com, v3.1.0.3976. It should fix this issue.

Regards,
Mattias

Return to “GpsGate for Developers”