ECA Render: how to prevent output of render action when token name defined for later use

Created on 18 April 2024, 10 months ago
Updated 3 May 2024, 10 months ago

Problem/Motivation

All render actions have an optional Token Name field with this description:

Optionally define a token name of this render element. It will be made available under that token name for later usage. Please provide the token name only, without brackets.

My assumption has been, that if an action defines a token name, the result will be stored in the token but not actually added to the render array as well. This is because the description says "... for later usage".

Questions:

  • Is there a use case where a render element should be rendered now AND later?
  • If yes, then we need an extra flag to change that default behaviour to not output, but only set it to a token.
  • If no, then this is a bug and we should fix that.
📌 Task
Status

Fixed

Version

2.0

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @jurgenhaas
  • First commit to issue fork.
  • Status changed to Needs review 10 months ago
  • 🇩🇪Germany mxh Offenburg

    Probably the easiest fix is to add another option to the build mode, which does nothing on the current renderable array in scope.

  • Pipeline finished with Success
    10 months ago
    Total: 426s
    #150948
  • Pipeline finished with Skipped
    10 months ago
    #150973
    • mxh committed 528a6821 on 2.0.x
      Issue #3441884: ECA Render: how to prevent output of render action when...
  • Status changed to Fixed 10 months ago
  • 🇩🇪Germany jurgenhaas Gottmadingen

    I think that makes sense. Almost too simple to be true.

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

  • Pipeline finished with Success
    9 months ago
    Total: 211s
    #175761
  • Pipeline finished with Failed
    5 months ago
    Total: 2283s
    #281149
  • Pipeline finished with Success
    5 months ago
    Total: 2277s
    #281158
  • Pipeline finished with Success
    5 months ago
    Total: 2386s
    #281191
  • Pipeline finished with Skipped
    about 1 month ago
    #399652
  • Pipeline finished with Failed
    about 1 month ago
    Total: 247s
    #401722
  • Pipeline finished with Failed
    13 days ago
    Total: 217s
    #420083
  • Pipeline finished with Failed
    13 days ago
    Total: 197s
    #420088
  • Pipeline finished with Failed
    13 days ago
    Total: 213s
    #420110
  • Pipeline finished with Success
    13 days ago
    Total: 220s
    #420120
  • Pipeline finished with Success
    12 days ago
    Total: 198s
    #420800
  • Pipeline finished with Canceled
    12 days ago
    Total: 346s
    #420970
  • Pipeline finished with Success
    12 days ago
    #420977
  • Pipeline finished with Success
    12 days ago
    Total: 204s
    #421811
Production build 0.71.5 2024