Red Hat Bugzilla – Bug 232139
ccs_get on /foo/child::* doesn't work if foo's child is an empty tag
Last modified: 2009-04-16 16:22:16 EDT
Description of problem:
If we have the following xml, and we issue the query "/foo/child::*" to ccs:
It does not work - and returns -ENODATA. If we change the XML to have some sort
of child - even a text node, i.e.:
ccs_get /foo/child::* works correctly (returns "bar=hello, world").
This fix is required for #212121 to be completed correctly; with the attached
patch, ccs returns "bar=" as the result of querying the first example instead
The patch also fixes ccs_set_state (which doesn't work at all).
Created attachment 149999 [details]
Can't be in both rhel 4.5 and cluster 4.5. This is a cluster product fix, so
removing the rhel4.5 tag. This one is good to go if we have a fix. Do we have
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.