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
Comment #2
c.e.a commentedComment #3
steveoriolFor 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"
Comment #4
colanThat issue is fixed. Is this one still a problem in beta8?
Comment #5
Deno commentedIt's definitely still a problem in beta7. I'll test beta8 ASAP
Comment #6
Deno commentedThis works in beta8, but i have observed various "features" - will report separately.
Comment #7
colanThanks for the update!
Comment #8
Deno commentedI 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.
Comment #9
colanRoger that. Using special d.o markup notation, the issue is #3043752: Save entity variable in a Loop through a view result variable saves only 1 entity. (See the second last item at Compose tips.)