Follow-up from #1653026: [META] Use properly typed values in module configuration.

Problem/Motivation

All integers, Booleans, and even octal numbers in config object files are converted to strings.

Proposed resolution

#1653026: [META] Use properly typed values in module configuration has fixed core, so no need to convert all data types to string anymore.

Remaining tasks

Fix and issue patch for below config files:
locale.settings.yml
locale.config.de.locale_test.translation.yml
locale_test.no_translation.yml
locale_test.translation.yml
locale_test_translate.info.yml

User interface changes

NO

API changes

NO

Parent: #1653026: [META] Use properly typed values in module configuration

Files: 
CommentFileSizeAuthor
#5 2105969-config-update-5.patch873 bytesvijaycs85
PASSED: [[SimpleTest]]: [MySQL] 59,467 pass(es).
[ View ]
#5 2105969-diff-3-5.txt871 bytesvijaycs85
#5 2105969-diff-3-5.txt871 bytesvijaycs85
#3 2105969-3.patch393 bytessidharthap
PASSED: [[SimpleTest]]: [MySQL] 59,368 pass(es).
[ View ]
#1 2105969-1.patch1.51 KBsidharthap
PASSED: [[SimpleTest]]: [MySQL] 59,373 pass(es).
[ View ]

Comments

Status:Active» Needs review
StatusFileSize
new1.51 KB
PASSED: [[SimpleTest]]: [MySQL] 59,373 pass(es).
[ View ]

initial patch

Status:Needs review» Needs work

+++ b/core/modules/locale/config/locale.settings.yml
@@ -1,14 +1,14 @@
-cache_strings: true
-translate_english: false
+cache_strings: TRUE
+translate_english: FALSE
...
-  check_disabled_modules: false
+  check_disabled_modules: FALSE
...
-  overwrite_customized: false
-  overwrite_not_customized: true
+  overwrite_customized: FALSE
+  overwrite_not_customized: TRUE
...
-  import_enabled: '1'
+  import_enabled: 1

All boolean true/false.

Status:Needs work» Needs review
StatusFileSize
new393 bytes
PASSED: [[SimpleTest]]: [MySQL] 59,368 pass(es).
[ View ]

Thank you @Vijaycs85

Issue summary:View changes
Status:Needs review» Needs work

one more small fix needed,

import_enabled: 1
should be
import_enabled: true

Title:Make sure all YML files in Locale module has no type-casting to string.Make sure all YML files in Locale module has no type-casting to string + update schema
Status:Needs work» Needs review
StatusFileSize
new871 bytes
new871 bytes
new873 bytes
PASSED: [[SimpleTest]]: [MySQL] 59,467 pass(es).
[ View ]

Re-rolling with settings and schema update...

Status:Needs review» Closed (duplicate)
Related issues:+#2167623: Add test for all default configuration to ensure schema exists and is correct

The patch on this issue has been updated as part of #2167623: Add test for all default configuration to ensure schema exists and is correct. As this issue doesn't have any test to confirm/validate the schema, making this change and closing this issue as duplicate of #2167623: Add test for all default configuration to ensure schema exists and is correct. The contributors of this issue (in commit message) is copied to #2167623: Add test for all default configuration to ensure schema exists and is correct.