Do not override existing config on install

Created on 20 February 2025, 4 months ago

Problem/Motivation

A little bit like 📌 Include fixes from core robots.txt in default robots.txt in module Active , due to the fact that this file is not up-to-date, I realized that hook robotstxt_install is overwriting existing robotstxt.settings config provided by my installation profile.

So when not in the context of an installation from existing config. The robots.txt from the module takes precedence over the one which is provided by the installation profile (which is up-to-date with Core one's)

So either delete the robotstxt_install and/or do not edit settings if content is not empty.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇫🇷France Grimreaper France 🇫🇷

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024