Logo etsi

ETSI's Bug Tracker

Notice: information submitted on the ETSI issue Tracker may be incorporated in ETSI publication(s) and therefore subject to the ETSI IPR policy.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007723Part 11: Using JSON with TTCN-3[TTCN-3 Change Requests] Editorialpublic25-10-2017 11:3205-01-2018 09:23
Reporternikolajev 
Assigned ToGyorgy Rethy 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionV4.7.1 (published 2017-06) 
Target VersionV4.8.1 (published 2020-05)Fixed in VersionV4.8.1 (published 2020-05) 
Summary0007723: "Part 11: Using JSON with TTCN-3":"7.2.8 Record and set" invalid JSON syntax in example
DescriptionIn "7.2.8 Record and set" example 1 and 2, JSON encoded value is shown as:
Example 1:
{ "MyRecExample1.MyRecord" : { "int":5 , { "myset" : { "value_":5.5, "case_":true }}}}

Example 2:
{ "int":5 , { "myset" : { "value_":5.5, "case":true }}}

in both cases JSON object key value pairs are invalid because "myset" is enclosed in {}, which breaks the structure of parent JSON object.

Corrected example 1:
{ "MyRecExample1.MyRecord" : { "int":5 , "myset" : { "value_":5.5, "case_":true }}}

Corrected example 2:
{ "int":5 , "myset" : { "value_":5.5, "case":true }}

TagsNo tags attached.
Attached Filesdocx file icon CR7723.docx [^] (144,319 bytes) 26-10-2017 10:27

- Relationships

-  Notes
(0014883)
Kristóf Szabados (reporter)
26-10-2017 10:28

please check
(0014915)
Tomas Urban (developer)
27-10-2017 12:42

No problems found, the resolution is ready to be included in the next version of the "Unsing JSON with TTCN-3" specification.
(0015000)
Gyorgy Rethy (reporter)
05-01-2018 09:23

Corrected in draft V4.7.2.

- Issue History
Date Modified Username Field Change
25-10-2017 11:32 nikolajev New Issue
26-10-2017 10:25 Kristóf Szabados Assigned To => Kristóf Szabados
26-10-2017 10:25 Kristóf Szabados Status new => assigned
26-10-2017 10:27 Kristóf Szabados File Added: CR7723.docx
26-10-2017 10:28 Kristóf Szabados Note Added: 0014883
26-10-2017 10:28 Kristóf Szabados Assigned To Kristóf Szabados => Tomas Urban
26-10-2017 10:28 Kristóf Szabados Status assigned => confirmed
27-10-2017 12:42 Tomas Urban Note Added: 0014915
27-10-2017 12:42 Tomas Urban Status confirmed => resolved
27-10-2017 12:42 Tomas Urban Resolution open => fixed
27-10-2017 12:42 Tomas Urban Assigned To Tomas Urban => Gyorgy Rethy
04-01-2018 17:01 Gyorgy Rethy Project TTCN-3 Change Requests => Part 11: Using JSON with TTCN-3
05-01-2018 09:23 Gyorgy Rethy Note Added: 0015000
05-01-2018 09:23 Gyorgy Rethy Status resolved => closed
05-01-2018 09:23 Gyorgy Rethy Product Version => V4.7.1 (published 2017-06)
05-01-2018 09:23 Gyorgy Rethy Fixed in Version => V4.8.1 (published 2020-05)
05-01-2018 09:23 Gyorgy Rethy Target Version => V4.8.1 (published 2020-05)


MantisBT 1.2.14 [^]
Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker