Problem/Motivation
We are using this module in our thunder distribution. When we are executing our JS tests, the config checker complains that there is a missing key in the multi_step_display schema.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #21 | interdiff.txt | 950 bytes | slashrsm |
| #21 | 2812901_21.patch | 540 bytes | slashrsm |
| #20 | 2812901-20.patch | 627 bytes | samuel.mortenson |
| #15 | interdiff.txt | 1.18 KB | slashrsm |
| #15 | 2812901_15.patch | 4.77 KB | slashrsm |
Comments
Comment #2
chr.fritschHere is a patch. I'am currently not sure if this is the proper way to fix ist. We are using rendered_entity as display in the multi_step selection_display
Comment #3
slashrsm commentedArbitrary plugin can be used here and each plugin can have arbitrary config.
I think that we need to create schema for each plugin separately and relate to it from here.
We have the same problem in field widget schema definitions. Should fix that too.
Comment #4
chr.fritschLets give this a try.
I've added a rendered_entity section to multi_step and field_widget_display_settings. For label is no need, because its empty.
Additionally i removed field_widget_display and field_widget_display_settings from the file browser schema because its unset in FileBrowserWidget::defaultSettings()
Comment #5
chr.fritschI've removed some schema properties for display.standalone and display.iframe, because they are not used in the displays.
Comment #8
chr.fritschtestStandaloneDisplay used a wrong configuration. Fixed that
Comment #9
slashrsm commentedMulti step display re-uses field widget display plugins. I propose that we do the same with config schema.
Comment #12
slashrsm commentedAnother proof why having incomplete schema is a really bad idea. I committed this few moments ago...
Comment #15
slashrsm commentedHopefully I fixed all of them.
Comment #16
slashrsm commentedFinally green. @chr.fritsch I'll wait for your feedback before committing.
Comment #17
chr.fritschLooks fine for me. Our thunder tests are working with that changes, too.
Comment #18
slashrsm commentedCommitted. Thanks!
Comment #20
samuel.mortensonLooks like the ImageThumbnail plugin was missed from the schema changes, which broke File Browser installs. Here's a quick follow-up patch that addresses that.
Comment #21
slashrsm commentedThis partly went in in #2809659: Make field widget display plugins implement ConfigurablePluginInterface, but it is far from perfect.
Comment #22
slashrsm commentedCommitted. Thanks!