Hi David,

The error message is the same, but the line number it occurs in has changed 
(was schema.rb:273:in
`to_xml'). After adding extract(model) to it there it works fine. Thanks!

Not sure where to move the "def extract" method declaration to make it 
accessible from both classes. I tried moving it to under "The actual Schema 
class" section but it wasn't accessible from the Hash class. How can I fix that?

Regards,
Dies Koper


> -----Original Message-----
> From: David Lutterkort [mailto:lut...@redhat.com]
> Sent: Thursday, 28 March 2013 6:28 AM
> To: dev@deltacloud.apache.org
> Subject: Re: [PATCH] added Template subcollections to SystemTemplate
> 
> Hi Dies,
> 
> it's a little hard to diagnose what's going on there; it seems to happen
> because the code makes an assumption that an attribute of type hash_map
> is never nil (i.e., will be initialized at some point)
> 
> I think that assumption is nonsense. See if the attached patch fixes
> things for you - if it does, please include it with your patch series.
> 
> David

Reply via email to