[Bug 1202147] New: tukit D-Bus API can't parse fields with comma
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202147 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: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202147 Ignaz Forster <iforster@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|kubic-bugs@opensuse.org |iforster@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202147 http://bugzilla.opensuse.org/show_bug.cgi?id=1202147#c1 Ignaz Forster <iforster@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Ignaz Forster <iforster@suse.com> --- Redesigned interface to return an array per snapshot with maps of key/value pairs: https://github.com/laenion/transactional-update/commit/2a77e450b7349d4e0fd42... -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1202147 http://bugzilla.opensuse.org/show_bug.cgi?id=1202147#c3 --- Comment #3 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1202147) was mentioned in https://build.opensuse.org/request/show/993808 Factory / transactional-update -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com