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 NextJS: Unable to Verify the First Certificate

NextJS: Unable to Verify the First Certificate

> UNABLE_TO_VERIFY_LEAF_SIGNATURE

Cover Image for Script: Boost SIF Certificate Expiry Days

Script: Boost SIF Certificate Expiry Days

> One simple script that definitely won't delete your system32 folder

Cover Image for NextJS: Access has been blocked by CORS policy

NextJS: Access has been blocked by CORS policy

> CORS is almost as much of a nuisance as GDPR popups