Bug ID 1202147
Summary tukit D-Bus API can't parse fields with comma
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component MicroOS
Assignee kubic-bugs@opensuse.org
Reporter iforster@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Using the Snapshot.List D-Bus API call from the prerelease version of
transactional-update (4.0.0~rc4) reveals that the interface is designed
improperly: The queried fields must not contain any comma, otherwise the
returned string can't be parsed correctly any more.

Example:
busctl call org.opensuse.tukit /org/opensuse/tukit/Snapshot
org.opensuse.tukit.Snapshot List "s" "number,description,default"

would return a list such as

"2334,Hello, this is a test!,no"


You are receiving this mail because: