Error-Message when element is missing in elements.yml #225

Closed
masche842 opened this Issue Apr 23, 2012 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

masche842 commented Apr 23, 2012

Situation: an element is mentioned in page_layout (as autogenerated element), but missing in elements.yml.
When I try to create that page it throws:
+++++++++ Error: undefined method `except' for nil:NilClass +++++++++++++

/ruby-1.9.3-p0@rails32/bundler/gems/alchemy_cms-2a97875c751b/app/models/alchemy/element.rb:136:in `new_from_scratch'

Especially for designers working with alchemy it would be great to have something like "Element missing in elements.yml, please create it first".

@ghost ghost assigned tvdeyen May 29, 2012

@tvdeyen tvdeyen closed this in 9865a16 May 29, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment