- Issue created by @pdureau
- First commit to issue fork.
- 🇫🇷France pdureau Paris
Discussed with Mikael Meulle.
BlockSource: Settings changes are saved but not loaded
The issue was met with with
system_branding_block
andviews_block:content_recent-block_1
BlockSource: The source data structure is weird
It is normal, it is like that when a source as "dynamic items". We will add an Interface in an other ticket to make this more clear and organized.
- 🇫🇷France just_like_good_vibes PARIS
The issue seems to be like that : the config options in
system_branding_block
are booleans, managed by checkboxes.
the code fromsystem_branding_block
only support boolean values at render : if 0 instead of false it is not working well.
unfortunately, our code is saving 0 for unchecked in the config, where the code fromsystem_branding_block
stores 0 in from state values, but false in the config.At this moment, i was unable to locate the code portion which is responsible to convert the 0 from form state values to false in the config..
- 🇫🇷France just_like_good_vibes PARIS
ok now i found, this conversion is done in "StorableConfigBase", i continue investigations
- 🇫🇷France just_like_good_vibes PARIS
ok i found the solution, i will post it now
- 🇫🇷France pdureau Paris
Hi Mikael,
The issue seems to be like that : the config options in system_branding_block are booleans, managed by checkboxes.
Check also
views_block:*
blocks, they have the same issue with select.ok i found the solution, i will post it now
Great. This issue has other parts by the way.
- Merge request !332Issue #3502079 by just_like_good_vibes: ComponentBlock & BlockSource storage issues → (Merged) created by just_like_good_vibes
- 🇫🇷France pdureau Paris
views_block:* blocks
andsystem_branding_block
are now working well. thanks.menu blocks are still working OK
There is still tasks to do:
- ComponentBlock: Provider is missing
- Wording in code comments
I can move "BlockSource: We need to decide what we render" to another RC3 issue.
- 🇫🇷France just_like_good_vibes PARIS
i addressed the comments.
To to decide what we render, yes please create another RC3 issue. - 🇫🇷France pdureau Paris
To to decide what we render, yes please create another RC3 issue.
Done: 📌 [2.0.0-rc3] About Drupal template wrappers Active
- 🇫🇷France pdureau Paris
Reviewed, it is OK. But we need to have a short talk about our use of
#after_build
before you merge. -
pdureau →
committed b6937ecb on 2.0.x authored by
just_like_good_vibes →
Issue #3502079 by just_like_good_vibes, pdureau: ComponentBlock...
-
pdureau →
committed b6937ecb on 2.0.x authored by
just_like_good_vibes →