Issue #9851 has been reported by Nigel Kersten.

----------------------------------------
Bug #9851: Unhelpful error message when only one keyattribute is supplied
https://projects.puppetlabs.com/issues/9851

Author: Nigel Kersten
Status: Accepted
Priority: Normal
Assignee: 
Category: error reporting
Target version: 
Affected Puppet version: 
Keywords: ux
Branch: 


Error: 

<pre>
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Could not render to pson: you must specify title patterns when
there are two or more key attributes
</pre>

Stefan's excellent answer:

You see this message because your type does not implement the title
pattern method but you have a type with more than one keyattribute:
1. »id« which you explicitly marked with the isnamevar method
2. »name« which is implicitly always treated as a keyattribute

If the second one is not what you want you have to rename your
parameter.




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to