πŸ‡ΊπŸ‡ΈUnited States @eswiderski

Account created on 23 October 2005, about 19 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States eswiderski

Looks great on my end too! Boom!

πŸ‡ΊπŸ‡ΈUnited States eswiderski

Same here, will try to test asap. Thanks again @jurgenhaas

πŸ‡ΊπŸ‡ΈUnited States eswiderski

@jurgenhaas as always, appreciate your tips, which helped to hack something up!
I stripped out all of the references to cache backend and keys in CacheActionBase.php and CacheInvalidate.php. So they basically only operate with tags now. Then I switched the tags processor to a string:
from:

  protected function getCacheTags(): array {
    $tags = [];
    if ($this->configuration['tags'] !== '') {
      $tags = array_values(DataTransferObject::buildArrayFromUserInput($this->configuration['tags']));
    }
    return $tags;
  }

to:

  protected function getCacheTags(): ?string {
    $tags = ($this->configuration['tags']);
    $tags = trim($this->tokenService->replaceClear($this->configuration['tags'] ?? ''));
    return $tags;
  }

I'm sure there's probably a better practice approach, but it's working for me. Thanks again!

πŸ‡ΊπŸ‡ΈUnited States eswiderski

@jurgenhaas I was wondering about the key and backend too, agree they seem unnecessary.

πŸ‡ΊπŸ‡ΈUnited States eswiderski

I ended up just creating an html button that links to a an ECA Endpoint Response Event url. Works great, no need for other modules.

πŸ‡ΊπŸ‡ΈUnited States eswiderski

@jurgenhaas I've actually tried with a fixed tag (without tokens, e.g. "node:77695") too, still no effect. Is there something else I'm doing wrong?

πŸ‡ΊπŸ‡ΈUnited States eswiderski

@ugintl try both, you'll very easily understand the differences.

πŸ‡ΊπŸ‡ΈUnited States eswiderski

Weird...now both ways are working for me today.

Even weirder....if I enable "Aggregate JavaScript files" in Performance, neither method works for me. Probably something janky with my config.

Either way, this feature is a huge efficiency booster, thanks again!

πŸ‡ΊπŸ‡ΈUnited States eswiderski

@jurgenhaas Actually it did pull the updated script and confirmed this is working, just a bit of nuance to the behavior.

Initially, I did the following, which pasted nothing:
1. selected the objects I wanted to copy
2. Ctrl + C
3. Clicked on the canvas
4. Ctrl + V

Not clicking on the canvas after Ctrl + C actually pasted it correctly:
1. selected the objects I wanted to copy
2. Ctrl + C
3. Ctrl + V

THANKS AGAIN!!!

πŸ‡ΊπŸ‡ΈUnited States eswiderski

@jurgenhaas I just pulled the latest 2.1.x-dev, updated db, cleared cache, but the behavior doesn't appear to be implemented for me. Using Mac/Chrome.

πŸ‡ΊπŸ‡ΈUnited States eswiderski

@mxh This also feels like a bug to me, given it only occurs with Storage entities (action = Presave Content Entity Type -> Storage). If I create a similar process based on action Presave Content Entity with type Content, no error appears for me.

@jurgenhaas Confirmed, I'm not storing them, so looping through them on my process does work. I mainly just wanted to display it for debugging it.

This is certainly not critical and my process works, so should probably be very low priority.

Thank you!

πŸ‡ΊπŸ‡ΈUnited States eswiderski

Thanks @jurgenhaas.

Do you have a better suggestion to simply store a list of entity ID's from a reference field (to enable a loop action on each of the referenced entities)?

πŸ‡ΊπŸ‡ΈUnited States eswiderski

@dqd yes, it still applies to 2.0-dev

πŸ‡ΊπŸ‡ΈUnited States eswiderski

eswiderski β†’ created an issue.

πŸ‡ΊπŸ‡ΈUnited States eswiderski

Ahh, ok thank you! I was still using 1.2.x-dev.

πŸ‡ΊπŸ‡ΈUnited States eswiderski

Ok, was it merged into 1.1.x-dev and 1.2.x-dev? I'm not seeing any difference behavior in 1.1.x-dev.

πŸ‡ΊπŸ‡ΈUnited States eswiderski

Can we merge this into one of the newer dev branches?

πŸ‡ΊπŸ‡ΈUnited States eswiderski

@jurgenhaas you rule!

πŸ‡ΊπŸ‡ΈUnited States eswiderski

This module destroyed a bunch of my custom menus. STAY AWAY.

πŸ‡ΊπŸ‡ΈUnited States eswiderski

Agree @jurgenhaas.

@mxh It seems like we'd be limiting ECA's scope just for this use case. If a vision for ECA is to indeed empower non-developers and alleviate custom development, then this would be extremely powerful. Personally, ECA has already allowed me to eliminate 30-40 modules. But also realize the project needs some guardrails.

That stated, ECA is life-changing without this capability...and completely respect both of your pov's. Just my $0.02.

Production build 0.71.5 2024