From d1987dc7a094b423cba4da52aa8251356f79e650 Mon Sep 17 00:00:00 2001 From: Adam Patterson Date: Tue, 3 Jun 2025 19:06:54 -0600 Subject: [PATCH] Updates conflict fields, Adds Assets, Navs and Trees to reserved list Adding `content` as a file driver disk to assets causes conflicts. Adding `structure` as an entry field name causes conflicts with the field, as well as accessing that data in a Nav Tree --- content/collections/tips/reserved-words.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/content/collections/tips/reserved-words.md b/content/collections/tips/reserved-words.md index d54fc5937..5cd9be7fb 100644 --- a/content/collections/tips/reserved-words.md +++ b/content/collections/tips/reserved-words.md @@ -24,6 +24,7 @@ This is the list of reserved words you shouldn't use as field names, in addition - `save` - `site` - `status` +- `structure` - `path` - `private` - `publish` @@ -44,6 +45,10 @@ Some of these _may_ work as field names in some circumstances, but can have unin - `global` with any datatype storing data as an array when there is _also_ a global field of the same name. - `type` inside a Replicator set. The type is the handle of the set. +### Assets + +- `content` as a file driver name in `config/filesystem.php` + ### Entries - `order` @@ -56,6 +61,10 @@ Some of these _may_ work as field names in some circumstances, but can have unin - `message` - `messages` +### Navigation and Trees + +- `structure` + ## Taxonomy Handles - `register`