To reproduce:
- Create an iframe entity browser that has auto_open option enabled
- Configure it to be used on a field and enable "Replace" option on the field widget configuration.
- Create an entity and make sure the field that we created is populated.
- Edit the entity and hit "Replace"
- Expected behaviour: One entity browser opens
- Actual behaviour: Two entity browsers open
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2997731_2.patch | 1.04 KB | slashrsm |
Comments
Comment #2
slashrsm commentedFix attached.
Comment #5
slashrsm commentedCommitted. Thanks!
Comment #6
berdirHi!
> Committed. Thanks!
Talking to yourself? Should I be worried? ;)
Unfortunately, this caused a regression for us. See #2998317: Improve replace selector to make sure it matches the element with a data-uuid attribute.
I guess you tested this with an iframe display that doesn't have the path field?