Sitecore Item Version Count Mismatch

Cover Image for Sitecore Item Version Count Mismatch

I recently came across an issue in an upstream environment where an item showed as having 2 versions, but only one appeared in the dropdown.

Bad Versions

To replicate the issue, I packaged the item up and installed it on my local. Voila. The 1st version appeared in the dropdown list.

Good Versions

Issues like this can arise due to index corruption.

The quick fix is to run a reindex in the affected environment (master and web).

To put the issue to bed once and for all, check your Sitecore and Solr logs to find the root cause.

Keep on BUIDLing.

-MG


More Posts

Cover Image for New Reconnaissance Signature: Sitecore.Services.GraphQL.NetFxHost/site

New Reconnaissance Signature: Sitecore.Services.GraphQL.NetFxHost/site

> A public action method 'site' was not found on controller 'Sitecore.Services.GraphQL.Hosting.Mvc.GraphQLController'

Cover Image for Handy PowerShell Script When Working With Text Fields

Handy PowerShell Script When Working With Text Fields

> Quickly analyze freeform text field inputs

Cover Image for How to Exclude Paths in Sitecore Content Serialization

How to Exclude Paths in Sitecore Content Serialization

> And how to exclude unnecessary media items generated by SXA