-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[39.1.1 and newer] [Moodle 4.1] admin/filters.php settings link leads nowhere #13
Comments
So you request me to replicate the issue in Moodle 4.1.15? If so, okay, I'll report back. By "Cannot replicate" you mean you couldn't replicate the bug in the newest Moodle release and the newest plugin version? |
By "Cannot replicate" is means that I can't replicate on Moodle 4.1.14+ (Build: 20241011), with V39.1.2 and that before raising issues that you kindly ensure that you are running "the current version for your release of Moodle" before I spend time looking at an issue that may have already been addressed. |
Okay. I've checked out moodle/moodle@f1fbfdf (weekly 4.1.15+) and the plugin version https://github.com/gjbarnard/moodle-filter_synhi/releases/tag/V39.1.2 and tested again. admin/filters.php still shows the following link: Which leads to the error page. |
This fix should do it: #14 (at least it fixes my Moodle 4.1 settings link) |
@danowar2k I can now replicate, thanks for the information and patch. With the latter I have implemented a better solution that is in line with the M4.3+ version - though possibly won't work on M4.0-. |
Ah you use Boost's tab function so that you can let the admin/filters.php link be a link to the whole tab group. I think I understand. |
What's your preferred process in issues? Do you close them yourselves or do you want me to check out the solution and close the ticket if I agree? |
@danowar2k I manage everything and will ask accordingly given the individual circumstances. |
Describe the bug
On the admin/filters.php page, if a filter has settings, a link to the filter plugin settings is generated. filter_synhi declares settings. The generated link leads to admin/settings.php?section=filtersettingsynhi .
This link leads nowhere, because there is no such section.
The section means a settings page. This here
moodle-filter_synhi/settings.php
Line 59 in d0c4eac
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
The link should lead to the settings page of filter_synhi.
Versions (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: