Closed (fixed)
Project:
Entity Embed
Version:
8.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2018 at 16:06 UTC
Updated:
2 May 2019 at 13:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
oknateComment #3
oknateComment #4
oknateAdding test coverage.
Comment #5
oknateAdding a patch for testing only, should fail. This should show an error "Error: [] operator not supported for strings in entity_embed_test_entity_embed_alter".
Comment #6
oknatePlease review patch #4
Comment #7
oknateComment #8
oknateComment #9
oknateComment #10
amme commentedi confirm that `$build['#attributes']['class']` is array again
and my custom alter hook works again
thanks @oknate
Comment #11
amme commentedComment #12
ygannett commentedWe found entity-embed-3021505-4.patch doesn't apply to 8.x-1.0-beta2. I took the work of the patch from comment #4 and rerolled it. It works with beta2. Please review and test it.
Comment #13
amme commentedPatch must be applied to dev branch, not to release branch @ygannett
Comment #14
oknateIf the patch is working for you, please mark issue as RTBC. It speed up the process of the maintainers adding to dev branch.
Comment #15
chris burge commented#4 corrects the regression that was introduced in #2917132: EntityEmbedBuilder removes data- attributes set by other text filter plugins. It applies to the dev branch. Setting back to RTBC.
Comment #16
wim leersCommitting #4, because it contains tests, and #5 proved that those tests are adequate (also tested locally). 👍
Comment #17
wim leersOne nit to fix.
Comment #18
wim leers🥳