[augeas-devel] [Augeas] #285: Type error accessing seq nodes via context
Augeas
trac at fedorahosted.org
Sun Jul 1 09:47:18 UTC 2012
#285: Type error accessing seq nodes via context
----------------------+-----------------------
Reporter: domcleal | Owner: domcleal
Type: defect | Status: new
Priority: major | Milestone: next
Component: Augeas | Version: 0.10.0
Keywords: context | Blocked By:
Blocking: |
----------------------+-----------------------
When setting /augeas/context to the parent of a seq node and then
accessing a relative path that begins with a seq counter, you receive a
type error:
{{{
augtool> set /augeas/context /files/etc/hosts
augtool> get 1/ipaddr
error: Invalid path expression
error: type error
1/ipaddr|=|
augtool> get /files/etc/hosts/1/ipaddr
/files/etc/hosts/1/ipaddr = 127.0.0.1
augtool> set /augeas/context /files/etc
augtool> get hosts/1/ipaddr
hosts/1/ipaddr = 127.0.0.1
}}}
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/285>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list