Cannot have MORE THAN ONE block loaded with EcaCondition?

Created on 28 January 2025, 2 months ago

Problem/Motivation

As part of the efforts trying to simulate RULES LINKS on Drupal 10, I would like to populate a page like [site]/node/[nid] with blocks, each with a single link that would lead to some diferent ECA models. But these blocks were supposed to show up (or not) according to diferent CONDITIONS... but they seem to INTERFERE WITH EACH OTHER.

Steps to reproduce

Create 2 blocks with an Eca Condition; for each block, create an Eca Model whose trigger is a ECA CONDITION, each one with a different [event:condition_id], as given by the example imagens exhibited on the module's page ( https://www.drupal.org/project/eca_condition ); make some different steps (on the ECA Modeling tool) to achieve a TRUE or FALSE answer for the block-exhibition-criteria, so that at any given moment there might be ONE of the TWO blocks showing. You might see that either they both show up, or none of them.

Proposed resolution

I cant even wonder. Could it be that the code forgets about who's who and overrides the first or last result on both blocks? But who is first or last? Dont know that either.

Hope I could explain myself.
Thank you for your hard work!

💬 Support request
Status

Active

Version

2.0

Component

Miscellaneous

Created by

🇧🇷Brazil marco aurelio rocca

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

Comments & Activities

  • Issue created by @marco aurelio rocca
  • 🇧🇷Brazil marco aurelio rocca

    ADD:

    As I toy around with the ORDER of the many ECA Models (as seen in /admin/config/workflow/eca), it seems that it is the LAST result, among all those models like "ECA Condition ()", that will RULE THEM ALL, making all blocks to "show up" or "not show up"..........

    (worse: sometimes EVEN those blocks whose Models which I have DISABLED happen to show up)...

Production build 0.71.5 2024