I follow the instruction from https://www.drupal.org/project/business_rules/issues/2903729#comment-123...
It works very well for beta 4 and beta 5 but after update to beta 6, the rule not works anymore.
The rule didn't update the node but create a new node instead.

My Drupal verson is 8.6.4.

Comments

thachakrit created an issue. See original summary.

c.e.a’s picture

Priority: Normal » Critical
steveoriol’s picture

For me, I have started with ver 1.0.0-beta6 and the "Fetch entity variable by id" not works.
by getting ver 1.0.0-beta5, it is working...

And I also need to use the patch of jwkovell to make works well my "Business Rules" because of the php error "Call to a member function getFieldDefinition() on null"

colan’s picture

Status: Active » Postponed (maintainer needs more info)

That issue is fixed. Is this one still a problem in beta8?

Deno’s picture

It's definitely still a problem in beta7. I'll test beta8 ASAP

Deno’s picture

This works in beta8, but i have observed various "features" - will report separately.

colan’s picture

Status: Postponed (maintainer needs more info) » Fixed

Thanks for the update!

Deno’s picture

I just realized that this are two bug reports in one:

1) Looping through a loop variable doesn't work
I haven't experienced this issue in either beta 7 or beta 8. One can easily test this by adding a message in a loop and printing out the variables.

2) storing of values in new nodes in a loop doesn't work (same as https://www.drupal.org/project/business_rules/issues/3043752)
This is still an issue in beta8.

Furthermore, I misunderstood the "looping doesn't work" as "fetching values from existing entities in a loop doesn't work", which is something I experienced in beta 7 and that is fixed in beta 8.

All in all, I think it's OK to close this bug but https://www.drupal.org/project/business_rules/issues/3043752 is still open and IMO quite serious.

colan’s picture

Status: Fixed » Closed (fixed)

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