Only 1 error message shown even though there are 2 on "Site options"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Lisa Seeto |
Bug Description
Seen on MyPortfolio.
You have activated virus checking, but have not set a "Path to ClamAV" value. Virus checking will not take effect until you configure the path to ClamAV by adding a $cfg->pathtoclam value to your config.php file.
Precondition:
- turn on ClamAV but misconfigure it in the config.php
- turn on Elasticsearch and configure it. Then turn the Elasticsearch server off so it's not reachable.
Test steps:
1. Go to Admin menu -> Configure site -> Site options.
2. Click the "Update site options" button as you may not see the error message directly.
3. You see an error message that Elasticsearch is not turned on.
Expected result: You also see the ClamAV message
Actual result: Only the Elasticsearch message is shown until it is resolved and then the ClamAV error message is displayed.
Changed in mahara: | |
status: | Confirmed → In Progress |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Hi Lisa
Can you look in the code in master to see why this may be the case