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 Stories

Cover Image for Add TypeScript Type Checks to RouteData fields

Add TypeScript Type Checks to RouteData fields

> Inspired by error: Conversion of type may be a mistake because neither type sufficiently overlaps with the other.

Cover Image for How to Run Sitecore 10.3.x in Docker on Windows 10

How to Run Sitecore 10.3.x in Docker on Windows 10

> Configs for loading useful asset images

Cover Image for Super Fast Project Builds with Visual Studio Publish

Super Fast Project Builds with Visual Studio Publish

> For when solution builds take too long