I can import attached yaml export. My pattern shows up on the patterns page. But when I 'run' it I get the following errors three times on the confirm page:

Undefined index: name in _field_patterns_prepare_instance() (line 307 of >cut</patterns/patterns_components/components/field.inc).
Notice: Undefined index: name in _field_patterns_prepare_instance() (line 309 of >cut</patterns/patterns_components/components/field.inc).

Followed by a single:
Notice: Undefined index: node_options in node_patterns_prepare() (line 114 of >cut</patterns/patterns_components/components/node.inc).

After stubbornly pressing the 'confirm' button anyway (yes I made a DB backup ;-) ) I get an ajax error:

ResponseText: EntityFieldQueryException: Field storage engine not found. in EntityFieldQuery->queryCallback() (line 1180 of /includes/entity.inc).
- Updated field field settings.
- Section "field" of pattern "Persbericht CT" ran successfully.

Any ideas what might be going wrong?

Comments

shakty’s picture

Hi Firfin,

Thanks for reporting this. What is your exact Drupal version?

Cheers

firfin’s picture

Hi shakty,
Thank you for your time. I am using the latest drupal version. I also have the modules listed below installed:
Administration menu (admin_menu) 7.x-3.0-rc3
Drupal 7.18
CKEditor (ckeditor) 7.x-1.11
Chaos tools (ctools) 7.x-1.2
Devel (devel) 7.x-1.3
Entity API (entity) 7.x-1.0-rc3
Libraries (libraries) 7.x-2.0
Link (link) 7.x-1.0
Macro (macro) 7.x-1.0-alpha2
MailChimp (mailchimp) 7.x-2.7
MailChimp campaigns (mcc) 7.x-1.0-unstable1
Pathauto (pathauto) 7.x-1.2
Patterns (patterns) 7.x-1.0-rc2
Redirect (redirect) 7.x-1.0-rc1
Rules (rules) 7.x-2.2
Token (token) 7.x-1.4
Views (views) 7.x-3.5

shakty’s picture

Status: Active » Patch (to be ported)
StatusFileSize
new1.93 KB

Hi, sorry that it took long.
This patch should solve the problem

firfin’s picture

No problem, I expect you have a life besides this issue(queue) ;-)
I gave up trying patterns a couple of weeks ago. But I think I have a VM snapshot of the problem site. I will check this afternoon. Else I will try to reproduce the problem. Thanks for your effort!

firfin’s picture

Same error was still occurring in RC2, but the patch seems to have fixed it.
No more errors like the original post and as far as I can tell the import went well.

Unfortunately the dev site I tried it on is heavily modified and under construction. That is probably why I got this error:
EntityMalformedException: Missing bundle property on entity of type node. in entity_extract_ids() (line 7562 of >cut< /includes/common.inc).

I will try again on a fresh install tomorrow. It is very promising that the original errors have been fixed.

firfin’s picture

Status: Patch (to be ported) » Reviewed & tested by the community

Patch seems to solve the problem on a clean install. Seeing as this post has only two followers I guess I was the only one experiencing this issue? RTBC I think?

Thanks again.

shakty’s picture

thanks for the followup firfin!
we are actually working on major update with a couple of surprises. So the next release will take a bit more. Stay tuned!

drozas’s picture

Status: Reviewed & tested by the community » Closed (fixed)

This is now solved in the new release 7.x-2.0-rc2: http://drupal.org/node/1927958
Thanks a lot for your feedback!

I'll mark this as closed and fixed.