Breadcrumbs broken in classic theme upgrading from Moodle 3.10.3 to 4.1.3

Breadcrumbs broken in classic theme upgrading from Moodle 3.10.3 to 4.1.3

ved Oliver Tran -
Antal besvarelser: 7
Hi All,

I've done an upgrade from Moodle 3.10.3 to 4.1.3 and the breadcrumbs for the classic theme has been behaving strangely.



When you're logged in as a user - the user profile, grades and preferences pages have breadcrumb issues.

User profile page has no breadcrumbs.



Grades and Preferences have duplications of the home page.



This was working on 3.10.3. The breadcrumbs for our courses seems to be okay.

Any ideas on how to fix this?

Cheers,

Oliver


Gennemsnitsbedømmelse: -
I svar til Oliver Tran

Re: Breadcrumbs broken in classic theme upgrading from Moodle 3.10.3 to 4.1.3

ved Gareth Barnard -
Billede af Core developers Billede af Particularly helpful Moodlers Billede af Plugin developers
Can't replicate.  Have you got some custom code / theme / mismanaged upgrade (i.e. code files not properly replaced)?

Bilag Screenshot 2023-05-22 172002.png
I svar til Gareth Barnard

Re: Breadcrumbs broken in classic theme upgrading from Moodle 3.10.3 to 4.1.3

ved Oliver Tran -
Hi Gareth,

All I've done is extracted the 4.1.3 files into a new folder, pointed the production site onto it and then allowed moodle to perform the database upgrade. I've not added any custom code or plugins at this point.


Is there something I can check? Could it be an issue in our database \ moodledata folder?
I svar til Oliver Tran

Re: Breadcrumbs broken in classic theme upgrading from Moodle 3.10.3 to 4.1.3

ved Gareth Barnard -
Billede af Core developers Billede af Particularly helpful Moodlers Billede af Plugin developers
Maybe you have some custom CSS in a setting?
I svar til Gareth Barnard

Re: Breadcrumbs broken in classic theme upgrading from Moodle 3.10.3 to 4.1.3

ved Oliver Tran -
No custom css. Dont think it's a css issue since when inspecting the html on the page on the profile screen, the breadcrumb section is just empty.


I svar til Oliver Tran

Re: Breadcrumbs broken in classic theme upgrading from Moodle 3.10.3 to 4.1.3

ved Gareth Barnard -
Billede af Core developers Billede af Particularly helpful Moodlers Billede af Plugin developers
In that case I don't know why its empty given:

Bilag Screenshot 2023-05-24 190202.png
I svar til Gareth Barnard

Re: Breadcrumbs broken in classic theme upgrading from Moodle 3.10.3 to 4.1.3

ved Gareth Barnard -
Billede af Core developers Billede af Particularly helpful Moodlers Billede af Plugin developers
I svar til Gareth Barnard

Re: Breadcrumbs broken in classic theme upgrading from Moodle 3.10.3 to 4.1.3

ved Oliver Tran -
Our code is identical - no idea what's wrong with our site!

For now, I've hid the duplicated Home breadcrumb using css on the broken pages. Can't do anything about the missing breadcrumb in the profile screen though.