Need a hint for navigation change

Silverstripe version: 5.3
Creating own subsection under vendor

To be a little more precise, I am trying to understand how my customisation of ModelAdmin impacts upon the Breadcrumbs function.

How do I set up the relationships so that Breadcrumbs functions as intended when I am using a nested stack of DataObjects?


In our own little vendor subsection, we have a navigation trail at the top in the CMS. Most of it works, I am having difficulty with the last bit.I am upgrading versions of PHP and Silverstripe

So we are creating software release section, and we have a list of Software, and each software has releases, and each release has changes.

At the top of the CMS we have a breadcrumb that shows where you are and it is clickable.

So we have Softwares in the CMS which shows the list of various softwares (I’m creating a fictional example) Word, LibreOfffice Writer, WordPerfect)

Click on one of those and the CMS changes to show the various releases, 1, 2 and 3.

Up the top of the CMS we have a breadcrumb navigation Softwares/Word. Softwares is clickable and goes to the right location.

Then clicking a release, eg, Release 1. goes to a CMS page about that release and up the top is a navigation breadcrumb that looks like: Softwares/Word/ Release 1. Software and Word is clickable and goes to the right place,

Now releases have changes, either bugfixes or features.

Click on Changes and it shows a list of changes for that release, Click on one of the changes and the navigation breadcrumb looks like: Softwares/Word/Release 1/ Change 5 . Softwares, Word and Release 1 are all links. - however now when any of the items in the trail is clicked on, it goes to a 404.

Where should I be looking to find that error? Is it in an object that inherits from ModelAdmin? Is it in the object that extends DataObject?