Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is a sub-issue of #1938580: [META] Make active config save format match the default yml file (order and quotes). Check meta issue for Steps to reproduce and Coding standards
Files need to be fixed
system.authorize.yml
system.date.yml
system.file.yml
system.mail.yml
system.maintenance.yml
system.menu.yml
Files fixed already
system.cron.yml
system.filter.yml
system.logging.yml
system.module.yml
system.performance.yml
system.rss.yml
system.site.yml
system.theme.yml
system.timezone.yml
Comment | File | Size | Author |
---|---|---|---|
#2 | 1942168-system-config-fix-1.patch | 2.02 KB | vijaycs85 |
Comments
Comment #1
vijaycs85Comment #2
vijaycs85system.date.yml - using single quotes for escaping and double codes for string - Replace singlequotes with "\".
system.file.yml - active storage has no comment in it.
Comment #3
sidharthapThanks @Vijaycs85, It looks good for system.authorize.yml, system.mail.yml, system.maintenance.yml, system.menu.yml and for other files i found some issues.
1 - Some places it is removing single quotes (system.date.yml)
2 - Escapeing the escape charater (Ex: T) in date format. (system.date.yml)
3 - Comments line removes in active config. (system.file.yml)
Comment #4
sidharthapChangeing status to needs work as per #3.
Comment #5
vijaycs85Thanks @sidharthap. here some updates on individual points
#3.1 - Yes, Yaml does that, but for consistency we use single quotes for data that can get space or ':'.
#3.2 - Created a new issue #1944636: PECL Intl extension usage in DateTimePlus class broken and untested
#3.3 - Guess, we are fine with comments.
Setting it to needs review as we don't have anything to fix in this issue for #3.
Comment #6
vijaycs85#2: 1942168-system-config-fix-1.patch queued for re-testing.
Comment #8
vijaycs85Part of the fixes went in with other patches(#1947814: New config entities often save as langcode: und incorrectly) and remaining part is in #1944636: PECL Intl extension usage in DateTimePlus class broken and untested. Just keeping it postponed until [#1944636]get committed. Can be closed, if nothing left to fix.
Comment #9
vijaycs85Comment #10
vijaycs85As per #8 marking this fixed.
Comment #11.0
(not verified) CreditAttribution: commentedUpdated issue summary.