Node::Attribute is surprising


#1

Hi,

It appears (0.9.8) you can use dot notation to retrieve an attribute
from an attribute once and only once. The second and subsequent times,
you may get one of several surprising error messages:

Is this expected behaviour? If not I’ll raise a ticket.

Cheers,
Dave


#2

Hi Dave,

On Thu, Sep 16, 2010 at 1:54 PM, David Nolan dave@textgoeshere.org.uk wrote:

It appears (0.9.8) you can use dot notation to retrieve an attribute
from an attribute once and only once. The second and subsequent times,
you may get one of several surprising error messages:
http://gist.github.com/582266

Is this expected behaviour? If not I’ll raise a ticket.

No, that doesn’t sound like expected behavior. It looks like you did
file a ticket, so thanks for that.
I wasn’t able to reproduce the issue when I tried on my laptop. I’ll
update the ticket and let any further discussion be tracked there.

Cheers,

  • seth

#3

Except to add a link to the ticket for anyone else following along:
http://tickets.opscode.com/browse/CHEF-1680


#4

Hi, just to close the loop the ticket is here
http://tickets.opscode.com/browse/CHEF-1680
Cheers,
Dave

On Mon, Sep 27, 2010 at 4:14 AM, Seth Falcon seth@opscode.com wrote:

Hi Dave,

On Thu, Sep 16, 2010 at 1:54 PM, David Nolan dave@textgoeshere.org.uk
wrote:

It appears (0.9.8) you can use dot notation to retrieve an attribute
from an attribute once and only once. The second and subsequent times,
you may get one of several surprising error messages:
http://gist.github.com/582266

Is this expected behaviour? If not I’ll raise a ticket.

No, that doesn’t sound like expected behavior. It looks like you did
file a ticket, so thanks for that.
I wasn’t able to reproduce the issue when I tried on my laptop. I’ll
update the ticket and let any further discussion be tracked there.

Cheers,

  • seth