Related Items CMS drives me Craczy

The Related Items component is really driving me crazy at this point.

Unfortunately, I’m running into another issue with Related Items in the CMS on one of my sites. Up until a few days ago, the Related Items component was working perfectly.

Then I changed the URL slugs, for example:

  • apple → apple-licence-code
  • microsoft → microsoft-licence-code

After changing the URL slugs and publishing the site, the Related Items no longer work. It simply shows “No item found”.

However, everything still works fine in the local preview. I haven’t changed anything in the Markdown files or elsewhere.

If I change the URL slug back to its original value and then republish all files, the Related Items start working again. I’ve tested this several times and observed the same behavior every time.

@ben I’ll send you two project files by email in the hope that you’ll find the time to look into this issue and come up with a solution.

Could this be a server caching issue perhaps?

That was my first thought as well, but that’s not the cause.

I’m seeing the same issue even when I create a completely new URL structure.