- Issue created by @narendraR
- Status changed to Needs review
8 months ago 9:37am 25 April 2024 - Status changed to Needs work
8 months ago 2:59pm 28 April 2024 - ๐บ๐ธUnited States smustgrave
Looking great! Exciting for all these. Can the MR be updated for 11.x though
- Status changed to Needs review
8 months ago 8:00am 29 April 2024 - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Wim Leers โ made their first commit to this issueโs fork.
- Status changed to Needs work
8 months ago 10:21am 29 April 2024 - ๐ฎ๐ณIndia narendraR Jaipur, India
- Status changed to Needs review
8 months ago 2:15pm 29 April 2024 - Status changed to RTBC
8 months ago 2:25pm 29 April 2024 - Status changed to Needs work
8 months ago 4:39pm 29 April 2024 - ๐ฌ๐งUnited Kingdom catch
This needs the same upgrade path approach as ๐ Add validation constraints to core.menu.schema.yml Needs work - install profiles routinely ship with this file, and if they only specify the front end theme, I would expect that to fail validation? So we need to auto-fix it when config is saved, but also trigger a deprecation when that happens outside of the upgrade path.
- ๐ฎ๐ณIndia omkar.podey
omkar.podey โ made their first commit to this issueโs fork.
- ๐ฎ๐ณIndia omkar.podey
Right now
\Drupal\FunctionalTests\Core\Recipe\StandardRecipeInstallTest::testStandard
is failing and I think it is because of the changes incore/modules/system/config/schema/system.schema.yml
as we have a empty profile in the test and stark theme isn't installed.So what should we do here ?, just install stark at the start (which seems difficult without the container) and i was wondering would we encounter a similar problem while using recipes on a real site using the empty profile.
- First commit to issue fork.
- ๐ฎ๐ณIndia kunal.sachdev
kunal.sachdev โ made their first commit to this issueโs fork.
- ๐ฎ๐ณIndia kunal.sachdev
The test is failing because in
RecipeRunner::installTheme()
we do\Drupal::service('theme_installer')->install([$theme]);
and in
ThemeInstaller
we have$extension_config ->set("theme.$key", 0) ->save(TRUE);
which also tries to validate the config and it breaks for
ExtensionExistsContraint
with error message 'Theme stark is not installed', which is true. - ๐บ๐ธUnited States phenaproxima Massachusetts
That's why I wonder if ExtensionExists really makes sense in the context of core.extension.
The core.extension config is the source of truth about what extensions are installed. ExtensionExists is basically validating against that, at the end of the day, and therefore it doesn't make a ton of sense for core.extension to have that constraint, does it?
- ๐ฎ๐ณIndia kunal.sachdev
@phenaproxima I think this comment ( #18 ๐ Add validation constraints to system.theme Needs work ) was meant for ๐ Add validation constraints to core.extension Needs review .
- ๐ฎ๐ณIndia yash.rode pune
yash.rode โ made their first commit to this issueโs fork.
- Status changed to Needs review
5 months ago 6:25am 16 July 2024 - ๐ฎ๐ณIndia yash.rode pune
In this commit I have added fix from ๐ Add validation constraints to core.extension Needs review . We do not need to block this issue on it as whichever gets merged first is fine.
- Status changed to Needs work
5 months ago 3:58pm 16 July 2024 - ๐บ๐ธUnited States phenaproxima Massachusetts
Coming along, but I think we can tighten it up a bit.
- Status changed to Needs review
5 months ago 10:55am 17 July 2024 - Status changed to Needs work
5 months ago 2:13pm 17 July 2024 - ๐บ๐ธUnited States phenaproxima Massachusetts
Looking pretty good; a few more suggestions. I think we also need test coverage of the changes to ExtensionExistsConstraintValidator.
- Status changed to Needs review
5 months ago 1:18pm 18 July 2024 - ๐ฎ๐ณIndia kunal.sachdev
Added test coverage for the changes to
ExtensionExistsConstraintValidator
. Also we have update path and its test so removing the related issue tags. - Status changed to Needs work
5 months ago 3:16pm 19 July 2024 - ๐บ๐ธUnited States phenaproxima Massachusetts
I have very few remaining complaints here! And frankly, they're pretty minor.
- Status changed to Needs review
5 months ago 7:25am 22 July 2024 - Status changed to RTBC
5 months ago 12:47pm 22 July 2024 - Status changed to Needs work
5 months ago 6:26am 1 August 2024 - ๐ณ๐ฟNew Zealand quietone
I left suggestions and some questions in the MR and I tried to resolve many of the threads.
I would accept some of the comment suggestions but I have to leave. So, setting to needs work for comments.
- Status changed to RTBC
5 months ago 2:34pm 1 August 2024 - ๐บ๐ธUnited States phenaproxima Massachusetts
Addressed @quietone's feedback. Everything was comment changes, but I decided to also make the event subscriber
final
, merely to be explicit about the intention. Since that's not a substantive change, I'm going to tentatively restore RTBC here in the hopes that tests will pass. - Status changed to Needs work
4 months ago 3:23am 12 August 2024