U4-9118 - UmbracoExamine.DataServices.UmbracoLogService - Field "template" is listed multiple times in the index set "InternalIndexSet". Please ensure all names are unique, Provider=InternalIndexer

Created by Jeffrey Schoemaker 26 Oct 2016, 07:18:13 Updated by Jeffrey Schoemaker 13 Mar 2018, 15:57:09

Relates to: U4-5050

Relates to: U4-8807

We've always seen a lot of these info-messages filling up in our logs and we always thought it was an Umbraco error but today we've found the issue. But I will try to break the issue down first.

'''What works''' If you add a new datatype with a alias of 'id' you will get an error "The alias id is a reserved term and cannot be used" (see attachment). This works for most attributes on a doctype like 'level', 'creatorId', etcetera.

'''What doesn't work''' The check doesn't include the fields

  • isDoc
  • parentID
  • nodeTypeAlias
  • key
  • template

And if you add one of these fields to your doctype you won't get an error but you log will fill up with message like

UmbracoExamine.DataServices.UmbracoLogService - Field "template" is listed multiple times in the index set "InternalIndexSet". Please ensure all names are unique, Provider=InternalIndexer

The easy fix is to add these five fields to the check.

'''Look after implemented''' Our PerplexMail-package has a doctype with a property with an alias "template" on it. I don't think the package importer will check for this and you will still get the errors if you import the package. We will change the package asap, but worth noting that this could happen with older packages.

1 Attachments

Comments

Chris Van Oort 12 Mar 2018, 15:02:12

@jeffrey.schoemaker@perplex.nl I'm digging into another XML issue and stumbled across this. Did PerplexMail ever update to resolve this issue? I have a ton of these errors but I'm not sure if it's related or unrelated.

 2018-03-12 09:05:04,235 [P15328/D3/T34] INFO  UmbracoExamine.DataServices.UmbracoLogService - Field "template" is listed multiple times in the index set "InternalIndexSet". Please ensure all names are unique, Provider=InternalIndexer, NodeId=1063
 2018-03-12 09:05:04,322 [P15328/D3/T34] INFO  UmbracoExamine.DataServices.UmbracoLogService - Field "template" is listed multiple times in the index set "InternalIndexSet". Please ensure all names are unique, Provider=InternalIndexer, NodeId=1065
 2018-03-12 09:05:04,325 [P15328/D3/T34] INFO  UmbracoExamine.DataServices.UmbracoLogService - Field "template" is listed multiple times in the index set "InternalIndexSet". Please ensure all names are unique, Provider=InternalIndexer, NodeId=1068
 2018-03-12 09:05:04,340 [P15328/D3/T34] INFO  UmbracoExamine.DataServices.UmbracoLogService - Field "template" is listed multiple times in the index set "InternalIndexSet". Please ensure all names are unique, Provider=InternalIndexer, NodeId=1082
 2018-03-12 09:05:04,341 [P15328/D3/T34] INFO  UmbracoExamine.DataServices.UmbracoLogService - Field "template" is listed multiple times in the index set "InternalIndexSet". Please ensure all names are unique, Provider=InternalIndexer, NodeId=1084
 2018-03-12 09:05:04,342 [P15328/D3/T34] INFO  UmbracoExamine.DataServices.UmbracoLogService - Field "template" is listed multiple times in the index set "InternalIndexSet". Please ensure all names are unique, Provider=InternalIndexer, NodeId=1085
 2018-03-12 09:05:04,343 [P15328/D3/T34] INFO  UmbracoExamine.DataServices.UmbracoLogService - Field "template" is listed multiple times in the index set "InternalIndexSet". Please ensure all names are unique, Provider=InternalIndexer, NodeId=1093
 2018-03-12 09:05:04,344 [P15328/D3/T34] INFO  UmbracoExamine.DataServices.UmbracoLogService - Field "template" is listed multiple times in the index set "InternalIndexSet". Please ensure all names are unique, Provider=InternalIndexer, NodeId=1094
 2018-03-12 09:05:04,345 [P15328/D3/T34] INFO  UmbracoExamine.DataServices.UmbracoLogService - Field "template" is listed multiple times in the index set "InternalIndexSet". Please ensure all names are unique, Provider=InternalIndexer, NodeId=1095
 2018-03-12 09:05:04,516 [P15328/D3/T34] INFO  UmbracoExamine.DataServices.UmbracoLogService - Field "template" is listed multiple times in the index set "InternalIndexSet". Please ensure all names are unique, Provider=InternalIndexer, NodeId=1096
 2018-03-12 09:05:04,520 [P15328/D3/T34] INFO  UmbracoExamine.DataServices.UmbracoLogService - Field "template" is listed multiple times in the index set "InternalIndexSet". Please ensure all names are unique, Provider=InternalIndexer, NodeId=1118
 2018-03-12 09:05:04,523 [P15328/D3/T34] INFO  UmbracoExamine.DataServices.UmbracoLogService - Field "template" is listed multiple times in the index set "InternalIndexSet". Please ensure all names are unique, Provider=InternalIndexer, NodeId=1139
 2018-03-12 09:05:04,525 [P15328/D3/T34] INFO  UmbracoExamine.DataServices.UmbracoLogService - Field "template" is listed multiple times in the index set "InternalIndexSet". Please ensure all names are unique, Provider=InternalIndexer, NodeId=1163
 2018-03-12 09:05:04,526 [P15328/D3/T34] INFO  UmbracoExamine.DataServices.UmbracoLogService - Field "template" is listed multiple times in the index set "InternalIndexSet". Please ensure all names are unique, Provider=InternalIndexer, NodeId=1252
 2018-03-12 09:05:04,527 [P15328/D3/T34] INFO  UmbracoExamine.DataServices.UmbracoLogService - Field "template" is listed multiple times in the index set "InternalIndexSet". Please ensure all names are unique, Provider=InternalIndexer, NodeId=1256


Jeffrey Schoemaker 13 Mar 2018, 15:57:09

Hi @cvocvo,

in the latest version of our PerplexMail-package we use the alias 'emailTemplate' and that fixes this issue. Unfortunately there's no easy upgrade path for an old version available.

My recommended approach would be to download the package / dll and put it into your installation. Probably you'll get some errors because the alias of the doctype is different (your install uses 'template' instead of 'emailTemplate'). If you then go to the document type 'Email base' you can simply rename the alias to 'emailTemplate' and then everything will work hopefully again.

Sorry for that,

Jeffrey


Priority: Normal

Type: Bug

State: Submitted

Assignee:

Difficulty: Easy

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.4.0, 7.3.1, 7.5.0, 7.3.2, 7.3.3, 7.3.4, 7.4.1, 7.3.5, 7.3.6, 7.3.7, 7.3.8, 7.4.2, 7.4.3, 7.5.1, 7.5.2, 7.5.3, 7.5.4

Due in version:

Sprint:

Story Points:

Cycle: