In the case of authors, this enrichment is necessary for the proper parsing of ArchieML content, so this fails visibly. In other cases, it probably fails more silently.
Currently, this blocks the creation of authors, but we should also evaluate how this affects other types.
When creating a new author, createGdocAndInsertIntoDb calls loadGdocFromGdocBase with an actual class instance. This means Object.assign(gdoc, obj) overrides
_enrichSubclassContent
with the base class default implementation, which fails to run the subcalss enrichment.In the case of authors, this enrichment is necessary for the proper parsing of ArchieML content, so this fails visibly. In other cases, it probably fails more silently.
Currently, this blocks the creation of authors, but we should also evaluate how this affects other types.