This is a rather urgent one, so any help GREATLY appreciated.
We are in the middle of doing a major upgrade (migrating to version 3.4.1). At some point in the last few days, the permissions matrix has fallen off the role permissions, and we can no longer change what permissions each role has. Example screenshot below- normally there would be a matrix underneath whereby we can allow roles to do certain things.
This is in version 3.4.1
Thanks in advance,
Assuming you're logged in as admin already - could be a theme problem. Try switching to the clean theme and see if it shows up?
Any errors showing up with debugging turned on?
(Also check the source code of the web page incase there are errors not being shown)
The HTML stops dead in it's tracks just before outputting <table class="rolecap" id="defineroletable">
Essentially it's appearing like the page just stops loading before it starts to draw out this table which is very odd.
Defintely an error. MAke sure you have the highest level of debugging turned on, error messages displayed, html errors on etc...
Thanks will do- our support team have got their engineers on it now, and are also trying to work through the issue. no luck as yet, but hoping for a resolution soon.
We have a fix! i'm going to pop this in to a new forum post so it doesnt get lost, but in essence, we had installed the plugin for Grade Export Checklist and this is what caused the error. Thanks all for your suggestions.
Thanks! I had the same problem after upgrade to 3.4. Now it works after removal of the gradeexport_checklist. I wrote a comment about this on the plugin-page: https://moodle.org/plugins/gradeexport_checklist. Hopefully they can find a solution so we can use the plugin again.
Thanks Peter for commenting on the plugin page - now I'm aware of the issue it has been fixed and a new version has been released (unfortunately, whilst I subscribe to a lot of Moodle forums, I don't often read the 'General help' forum, so I missed this discussion).
Apologies for the embarrassing mistake in the code and for the trouble caused.
A test server is really good general advice, but it is unlikely to help you with obscure situations like this whereby most of the pages, including the pages related to the plugin itself, work perfectly, but the infrequently used, vital (when needed) pages like the roles definition page is broken (without an obvious error message).
Most initial testing (and, indeed the reasonably extensive built-in tests within the plugin itself) just wouldn't have caught this one (unless you either run a full suite of behat tests for each release, or you have a very dedicated team of internal testers).
Ultimately, yes, it's really good to mitigate against all possible problems, but, you can never guarantee that everything will always work perfectly, even when you take careful measures.
Not entirely correct.
If you have a test system similar to what you have in production, then you can test any plugins, upgrades, etc.. on it before applying it to production to minimize surprises. After updates are applied, then the users can test on the test platform and finally, apply them in production.
Yes, absolutely, but unless someone testing thought to go and reconfigure a role definition (something that doesn't happen very often), this bug would not have been spotted. I don't in any way disagree that a test server is a good idea before releasing code to a live server, I was simply pointing out that in this case, such precautions would, almost certainly, have missed the issue.
did you also do a platform upgrade to say, php, o/s, etc.?
We moved to a new server, but it was showing up until two weeks ago and at some point has dropped off. It's just the 'advanced permissions' that arent showing.
The nav drawer hamburger is also not working on this page, but it's the only place in the site where this is occuring.