WR455936: Group submissions#108
WR455936: Group submissions#108sarahjcotton wants to merge 2 commits intocatalyst:MOODLE_405_STABLEfrom
Conversation
|
Hey @danmarsden, any idea why the checks are falling over? Looks like a config issue at the moment, perhaps? |
|
it's hard to see in the ci output but it's failing to install the plugin - check the output of the install plugin step - it's throwing an error like: |
8a6b12e to
ee05293
Compare
|
Thanks, Dan. You're right, it's a bit difficult to find the output, but I can see where it is now, so hopefully I should be able to find what I need next time! Will work on a fix. |
WR455936: PR fixes
59be446 to
b3fbbfe
Compare
|
haven't had a good look at the patch (haven't got time) - but the change to the new helper::get_config_defaults doesn't look right. it makes a lot of sense for this to be refactored - but the new logic implemented doesn't match the previous logic. |
b2c0700 to
a2dbed9
Compare
a2dbed9 to
21895e1
Compare
The old logic took in one config name and returned the value, but the following settings can be customised in an assignment:
So the new logic returns the full set of plugin config settings with overrides if needed. Get the global config > If global config is enforced, we're done, so return that. If global config is not enforced, see if we have some overrides: If we have an assignment, override the config with the custom assignment config. If all else fails, default to the global config (if the actual connection fails we should get an error explaining why). That said, the logic was off, so I've updated it... thanks for the pointer! We'll be doing full testing next week so will update again then as we're not ready for review yet. |
No description provided.