Comments

dasjo’s picture

dasjo’s picture

Status: Active » Needs work

work on this has started, but needs work
https://github.com/fago/rules/pull/95

dermario’s picture

Status: Needs work » Needs review
Issue tags: +SprintWeekend2015

I worked on it and created a new pull request: https://github.com/fago/rules/pull/121

fago’s picture

Status: Needs review » Needs work

Added some comments at the PR. We'll have to do some more things to get it ported though - maybe as a start we should add @todo for all not-yet ported action callbacks from d7, i.e. in particular info alter and options stuff.

dermario’s picture

Status: Needs work » Needs review

https://github.com/fago/rules/pull/121 is already merged. Can we close that issue or are there still open tasks here?

fubhy’s picture

Status: Needs review » Fixed
Issue tags: -SprintWeekend2015

Sorry, forgot to close this indeed.

  • fubhy committed f42e1e5 on 8.x-3.x
    Merge pull request #121 from scuts/variable_add
    
    #2409049 Variable add...
fago’s picture

Status: Fixed » Needs work

That implemenation is not complete as it does not take care of properly passing through metadata depending on the given context. -> it misses porting of the info_alter() logic.

tassilogroeper’s picture

Assigned: Unassigned » tassilogroeper

working on it today at Milano Drupal Sprint.

tassilogroeper’s picture

Assigned: tassilogroeper » Unassigned
Status: Needs work » Postponed

can't be done right now

fago’s picture

We need #2456829: Context definition needs to be updated before execution solved for being able to update override getContextDefinitions() accordingly.

fago’s picture

#2456829: Context definition needs to be updated before execution is done - see EntityFetchByField as example.

dasjo’s picture

Status: Postponed » Needs work

I guess this is unblocked again?

dasjo’s picture

Issue tags: +Contributor
TR’s picture

Assigned: Unassigned » fago
Status: Needs work » Postponed (maintainer needs more info)
Issue tags: +beta blocker

I think this was finished. Am I missing something? Is there still something left to do here?

#2456829: Context definition needs to be updated before execution added the ability to refine context definitions.

#2658960: Create the loop action expression plugin update the VariableAdd action to use the refineContextDefinitions() method.

We have tests for this action.

So what is missing, if anything?

TR’s picture

Status: Postponed (maintainer needs more info) » Fixed
TR’s picture

Status: Fixed » Closed (fixed)