Add check if "services.yml" file exists

Created on 24 June 2024, 5 months ago

Problem/Motivation

In the file web/sites/default/default.settings.php services file included

$settings['container_yamls'][] = $app_root . '/'. $site_path . '/services.yml';

but a check is not added to see whether this file exists or not.

Steps to reproduce

Download Drupal 10.3.0 and navigate to web/sites/default/default.settings.php
See line no 716 or check directly on git repo https://git.drupalcode.org/project/drupal/-/blob/10.3.x/sites/default/de...

Proposed resolution

Add a check using

file_exists()

Remaining tasks

Add the check.

User interface changes

NA

API changes

NA

Data model changes

NA

Release notes snippet

Thanks

📌 Task
Status

Needs work

Version

11.0 🔥

Component
Base 

Last updated about 5 hours ago

Created by

🇮🇳India prashant.c Dharamshala

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024