bugGPSD - Bugs: bug #42371, Typo in JSON output for AIS navaids

 
 

bug #42371: Typo in JSON output for AIS navaids

Submitter:  Iván Sánchez Ortega <ivansanchez>
Submitted:  Thu 15 May 2014 01:51:53 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 15 May 2014 01:51:53 PM UTC, original submission:  

The JSON output for AIS navaids (message type 21) is invalid when the scaled option is on.

I've traced down the bug to line 3203 of gpsd_json.c, which reads:

    "\"epfd\"%u,\"epfd_text\":\"%s\","

Note the missing colon just after \"epfd\". The right way for this is:

    "\"epfd\":%u,\"epfd_text\":\"%s\","

Iván Sánchez Ortega <ivansanchez>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by esr (Updated the item)
  • -email is unavailable- added by ivansanchez (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-08-23 esr Open/ClosedOpen Closed
    2014-05-17 esr StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code