Project

General

Profile

Actions

Bug #55189

closed

[common] encode_json automatically encode bool into a string

Added by CONGMIN YIN about 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
common
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

https://github.com/ceph/ceph/blob/57c2ae079b42cde0e8f3deedc760183af81503b2/src/common/ceph_json.cc#L532
It cause an issue. while the value is bool when encoding, but it is string when decoding.

Actions #1

Updated by Kefu Chai about 2 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Kefu Chai
  • Pull request ID set to 45835
Actions #2

Updated by Kefu Chai almost 2 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF