Closed (fixed)
Project:
Read More Extra Field
Version:
3.1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2019 at 17:36 UTC
Updated:
9 Sep 2022 at 13:09 UTC
Jump to comment: Most recent
Comments
Comment #2
anybodyPostponed on #3069731: 3.x settings form doesn't work in layout builder. Clear upstream bug, I'll leave this open just for information.
After the issue is fixed, the 3.x settings form should also work in layout_builder. Furthermore modules like "Fences" should show the settings form for the field attributes also in layout_builder.
Comment #4
gurrmag commentedI'm facing the same issue where I need the settings form in layout builder. Can you please confirm what the upstream bug is - the link here seems to be back to this ticket? I assume its https://www.drupal.org/project/extra_field_plus/issues/3069861 from the main module page?
I can work around it by embedding a different display with the needed settings set outside of layout builder, but then I cannot edit the layout again. This error is in the logs:
This is the same error as in https://www.drupal.org/project/readmore_extrafield/issues/3132472, which was closed in favour of https://www.drupal.org/project/readmore_extrafield/issues/3183520 which is closed. The fix there was to change the twig file, but it is not clear how to do that for 3.x or if that would fix this.
Comment #5
grevil commentedComment #6
grevil commentedOnce implemented, the layout builder js test can be activated for 3.0.x!
Comment #7
anybody@Grevil: parent issue is fixed, so this can be tested! :)
Comment #8
anybody@Grevil I didn't find such tests in 3.0.x. Thought they were commented out, but they were not added yet?
Comment #10
grevil commented@Anybody, last test in 3.0.x javascript test! It's not really commented out, you just have to remove "todo" in "todoTestFieldInLayoutBuilder"
Comment #11
anybodyThank you, cool pattern @Grevil :)
Let's see what the tests return!
Comment #12
anybody2 Fail - can you check that please @Grevil?
The test finds two read more's... perhaps that's correct?
Comment #13
anybodyTests with layout builder settings will start working in 3.1.x as of #3305929: [PP-1][3.1.x] Require extra_field_plus 3.x and lock 3.0.x on extra_field_plus:^2
We have to rename the functions for extra_fields_plus 3.x! With 2.x it can't work.
Comment #14
grevil commentedThe tests are incorrect, but this issue's fork fix does not work, the settings still do not appear in layout builder.
Comment #15
anybodyComment #16
anybodyComment #17
anybodyComment #18
anybodyTrying to retrigger tests...
Comment #19
grevil commentedOK, nice the settings are displayed in layout builder! I can overhaul the tests once again now :)
Comment #20
grevil commentedAll tests run locally, let's see if they turn green here!
Comment #21
anybodyComment #22
grevil commentedUnclear why these tests fail... They run with no problem locally, and we use similar tests in https://www.drupal.org/project/extra_field_plus.
Let's test if it's the issue branches fault!