• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7875: GET returns error if value of a key in JSON path is 0

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension SetGetPlugin Normal Waiting for Release   patch 6.1.1

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

This bug was reported on TWiki:Support.SID-02422

SetGetPlugin GET returns ERROR: Invalid JSON path, syntax or range if a value of a key in JSON path is 0.

Test cases:

SET GET Returns Expected
%SET{ summary={ "key1": 1, "key2": 2} }% %GET{ "summary.key1" }% 1 1
%SET{ summary={ "key1": 0, "key2": 2} }% %GET{ "summary.key1" }% 0 0

-- TWiki:Main/PeterThoeny - 2019-12-22

ItemTemplate
Summary GET returns error if value of a key in JSON path is 0
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4, 6.1.0
SVN Range TWiki-6.0.2-trunk, Sat, 07 Jul 2018, build 30509
AppliesTo Extension
Component SetGetPlugin
Priority Normal
CurrentState Waiting for Release
WaitingFor

Checkins TWikirev:30696 TWikirev:30697 TWikirev:30698
TargetRelease patch
ReleasedIn 6.1.1
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2019-12-23 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback