[augeas-devel] [Augeas] #249: JSON lens regression

Augeas trac at fedorahosted.org
Mon Jan 9 20:47:06 UTC 2012


#249: JSON lens regression
----------------------+---------------------
 Reporter:  jeckersb  |       Owner:  lutter
     Type:  defect    |      Status:  new
 Priority:  major     |   Milestone:  next
Component:  Augeas    |     Version:  devel
 Keywords:            |  Blocked By:
 Blocking:            |
----------------------+---------------------
 (Note given terms refer to the terms used in the Json lens header)

 When given a JSON document containing an Object, such that:
 1. The final Member Pair has a Value of type Number
 2. There exists one or more whitespace characters between the Number and
 the closing rbrace

 The document does not load correctly.

 As an example, this parses correctly:

 {{{
 {"foo": 0}
 }}}

 However, this does not parse correctly:
 {{{
 {"foo": 0 }
 }}}
 nor does
 {{{
 {"foo": 0
 }
 }}}

 The behavior is correct in 0.9.0.  It looks like the only lens change
 between 0.9.0 and 0.10.0 is this commit so it probably introduces the
 regression:

 http://git.fedorahosted.org/git/?p=augeas.git;a=commitdiff;h=99d5a38861d4ad585d7883b80d634ac0642e10dd

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/249>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list