Describe the bug
When "Use default front matter" in unticked, and the template used omits the fields id, type, and dataSource (the properties labelled "property cannot be remapped"), these fields are appended to the newly-created entry's frontmatter anyway.
To Reproduce
- Untick "Use default front matter" in plugin settings
- Create a new Media DB entry using a template that has frontmatter excluding
id, type, and dataSource
- The entry's frontmatter has those properties added anyway, despite the template omitting them
Expected behavior
When "Use default front matter" ("If disabled, the front matter from the template will be used") is disabled, the template's frontmatter is replicated exactly, without the additions of these extra unwanted fields.
Occurs on
Plugin version
0.8.0-canary.202060406T152718
Extra context
It seems that "property cannot be remapped" properties have something preventing them from being remapped at all, which also prevents them being remapped to 'remove', which the "Use default front matter" toggle may do behind the scenes. (Just my logical best guess, not sure)
Describe the bug
When "Use default front matter" in unticked, and the template used omits the fields
id,type, anddataSource(the properties labelled "property cannot be remapped"), these fields are appended to the newly-created entry's frontmatter anyway.To Reproduce
id,type, anddataSourceExpected behavior
When "Use default front matter" ("If disabled, the front matter from the template will be used") is disabled, the template's frontmatter is replicated exactly, without the additions of these extra unwanted fields.
Occurs on
Plugin version
0.8.0-canary.202060406T152718
Extra context
It seems that "property cannot be remapped" properties have something preventing them from being remapped at all, which also prevents them being remapped to 'remove', which the "Use default front matter" toggle may do behind the scenes. (Just my logical best guess, not sure)