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 Early Returns in React Components

Early Returns in React Components

> When and how should you return early in a React component?

Cover Image for Year in Review: 2022

Year in Review: 2022

> Full steam ahead

Cover Image for Azure PaaS Cache Optimization

Azure PaaS Cache Optimization

> App Services benefit greatly from proper configuration

Cover Image for Critical Security Bulletin SC2024-001-619349 Announced

Critical Security Bulletin SC2024-001-619349 Announced

> And other scintillating commentary