For Tridion Sites 9.0, error "Keyword with title 'TCMID' does not exist in Category 'CATEGORY_NAME' [TCMID]." when attempting to publish page
000013750|11/3/2020 3:03 PM
SDL Tridion Sites 9.0
- Customer using Tridion Sites 9.0 - Content editor attempts to publish page with regions and metadata fields. - Some of the metadata fields are based on keywords in a category. - When trying to publish page, error seen in failed publish transaction and Windows Event Viewer is "Keyword with title 'TCMID' does not exist in Category 'CATEGORY_NAME' [TCMID]." Example of error is
Keyword with title 'TCM_ID' does not exist in Category 'Themes' [TCM_ID].
Component: Tridion.ContentManager.CoreService Errorcode: 810 User: NT AUTHORITY\NETWORK SERVICE StackTrace Information Details:
at Tridion.ContentManager.ContentManagement.Category.GetKeywordDataByTitle(String title)
at Tridion.ContentManager.ContentManagement.Category.GetKeywordByTitle(String title)
at Tridion.ContentManager.ContentManagement.Fields.ItemField.ReadFromElement(XmlNodeList fieldNodes)
at Tridion.ContentManager.ContentManagement.Fields.ItemFields.InitializeFields(XmlElement schemaFieldsElement, XmlElement contentContainer, Nullable`1 synchronizeFlags, LoadFlags loadFlags)
at Tridion.ContentManager.ContentManagement.Fields.ItemFields..ctor(XmlElement rootElement, Schema schema, Nullable`1 synchronizeFlags, LoadFlags loadFlags)
- The error is incorrect, as there is no keyword with a title of TCMID. - Page items do not have a source tab, so administrator is not able to analyze the error. - ECL is used for one of the regions of the page.
- Issue resolved after developer changed the keyword in one of the regions from the current value to another, and then saved the page. - After saving page, page can either be previewed or published. This corrects the metadata and allows the page to be published without error.
Likely issue will not resurface when upgrading to Tridion 9.1.