How to reproduce:
* Create a rules component that eats an arbitrary entity
* ...with some action that does the same
* VBO-execute it

Result: Something like

Recoverable fatal error: Argument 1 passed to foo_action() must be an instance of EntityDrupalWrapper, instance of stdClass given in foo_action().

Debugging shows that rules is pased a naked entity with no type info where it should get a wrapper.

Comments

geek-merlin’s picture

Status: Active » Needs review
StatusFileSize
new1.02 KB

Patch flying in that fixes the issue for me.

bojanz’s picture

Status: Needs review » Fixed

I guess Rules has become more strict over what it accepts. Committed, thanks.

  • bojanz committed 082a27a on authored by axel.rutz
    Issue #2427381 by axel.rutz: Rules component lacks entity type
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.