hello
thanks for the module.
i read the instructions to change a nodereference but it only works with the first node on the reference field.
i have a content type called magazine that has a nodereference field, with articles.
i have workflow states: working, finish and public .
i want that when the magazine gets public, all the magazines on the nodereference get public too.
but only the first magazine on the nodereference gets changed.
what i have done in the rule:
ON event Workflow state has changed
IF
condition Updated content is Magazine
AND
conditionCheck if content workflow state is Público
DO
action Promote Updated content to front page
action Load a referenced node
action Change workflow state articles to new state
actionPublish Referenced content
any help, please?
it is the first time i use rules with nodereference and maybe it is not a bug, it is me :)
if it is not a bug, then change the classification or i do it :)
thanks
Comments
Comment #1
candelas CreditAttribution: candelas commentedsorry, i mistake: where i say:
i want that when the magazine gets public, all the magazines on the nodereference get public too.
i mean:
i want that when the magazine gets public, all the articles on the nodereference get public too.
too many hours in front of the computer... sorry
Comment #2
candelas CreditAttribution: candelas commentedthat night i was too tired and my brain was not able to go farther.
sorry for puting the issue.
it clearly says that it is not possible, that only loads the first item.
i have put here the solution that i have found, just in case someone needs it, i put it.
Comment #3
TR CreditAttribution: TR commentedDrupal 6 end of life was 24 Feb 2016. Drupal 6 and Rules 6.x-1.x are no longer supported as of that date, and no bugs with those versions will be investigated or fixed.
If this issue is still a problem in the Drupal 7 or Drupal 8 version of Rules, please open a new issue with complete details of how to reproduce the bug.