View Issue Details

IDProjectCategoryView StatusLast Update
0037836FPCFCLpublic2020-11-08 18:10
ReporterBenito van der Zander Assigned ToMichael Van Canneyt  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformamd64OSlinux 
Product Version3.3.1 
Fixed in Version3.3.1 
Summary0037836: json parser line numbers
DescriptionThe line numbering of the json parser has been changed recently.

It used to say "Error at line 1"... when there was an error in the first line, but now it says "Error at line 0"..., which is not good

Steps To Reproduceprogram Project1;

{$mode objfpc}{$H+}

uses
  fpjson,jsonparser
  { you can add units after this };

begin
  GetJSON('[{""x"": 123},"||||"{d}]');

end.
TagsNo tags attached.
Fixed in Revision47344
FPCOldBugId
FPCTarget3.2.2
Attached Files

Activities

Michael Van Canneyt

2020-11-08 18:10

administrator   ~0126800

Fixed, thanks for reporting!

Issue History

Date Modified Username Field Change
2020-09-29 12:41 Benito van der Zander New Issue
2020-09-29 15:39 Michael Van Canneyt Assigned To => Michael Van Canneyt
2020-09-29 15:39 Michael Van Canneyt Status new => assigned
2020-11-08 18:10 Michael Van Canneyt Status assigned => resolved
2020-11-08 18:10 Michael Van Canneyt Resolution open => fixed
2020-11-08 18:10 Michael Van Canneyt Fixed in Version => 3.3.1
2020-11-08 18:10 Michael Van Canneyt Fixed in Revision => 47344
2020-11-08 18:10 Michael Van Canneyt FPCTarget => 3.2.2
2020-11-08 18:10 Michael Van Canneyt Note Added: 0126800