View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0033012 | mantisbt | administration | public | 2023-10-10 10:59 | 2024-10-27 12:22 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
Target Version | 2.28.0 | ||||
Summary | 0033012: Don't abort Admin Checks after first failure unless it's critical | ||||
Description | Currently the Admin Checks' execution stops at the end of a given section (e.g. database, email) if any test within it fails. They were implemented this way, because some of the tests are critical, and must be executed in a given sequence and pass otherwise it is not possible to continue running the Checks. However, only a small number of these tests are truly critical and require the process to abort if they fail. It would be better if by default the whole Checks suite was always executed, and only aborted if a critical test fails. This requires
| ||||
Additional Information | Follows up on discussion in issue 0032787, starting with note 0032787:0068167. | ||||
Tags | No tags attached. | ||||
related to | 0032787 | closed | dregad | Facilitate identification of user accounts sharing the same email |
related to | 0034915 | assigned | dregad | Reduce code duplication in Admin Checks |
related to | 0024615 | closed | dregad | admin/check : writability check for absolute_path_default_upload_folder with FAIL may be too restrictive |
@atrol your temporary workaround preventing the Admin Checks from aborting after failure in email checks has been committed MantisBT master 7ffc863d |
|
MantisBT: master 7ffc863d 2023-10-14 14:38 Committer: dregad Details Diff |
Continue admin checks after failed email checks Issue 0032787 introduces a new check for email addresses that can be hard and time-consuming to fix when failing. This change allows to run the remaining tests even if the email check failed. Signed-off-by: Damien Regad <dregad@mantisbt.org> This is a temporary workaround that should be reverted when implementing the fix for Issue 0033012. A @TODO comment was added in the code as a reminder to do it when implementing a proper fix. Initially submitted in PR https://github.com/mantisbt/mantisbt/pull/1928 (original commit message modified). |
Affected Issues 0032787, 0033012 |
|
mod - admin/check/index.php | Diff File |