- Issue created by @tstoeckler
- π©πͺGermany tstoeckler Essen, GermanyNot opening an MR yet before getting some confirmation on the direction here (and also because the workaround is so trivial that I don't need a patch π). 
- π³π±Netherlands bbrala NetherlandsIf we can move to the more generic setRebuildNeeded that would be great. Don't see an issue in your approach. 
- π³π±Netherlands bbrala Netherlandsπ Fix installation error with JSON:API Extra in custom Drupal 11 profiles due to missing synthetic service `kernel` Active isnt that related? 
- π©πͺGermany tstoeckler Essen, GermanyInteresting, hadn't seen that. Yes, they are related in the sense that I am proposing to remove the check that is leading to that error. On the other hand, I could not reproduce that problem so not sure removing the check would not lead to other errors for the person experiencing that. In any case, will open a merge request to remove the check and see what the tests say. (As noted in the issue summary manual tests showed that that is sufficient to solve the issue described here.) 
- @tstoeckler opened merge request.
- Status changed to Needs review4 months ago 1:41pm 9 July 2025
- πΊπΈUnited States mglaman WI, USAI don't think there is any harm in removing `$container->getParameter('kernel.environment') !== 'install'` since we're calling `setRebuildNeeded` instead of `rebuild`. I recently experienced broken routing that may/may not be related.