#1334 Exceptions being ignored during installation
Closed: migrated 3 years ago by dmoluguw. Opened 9 years ago by edewata.

Some operations may not run during installation (pre-op mode) since the configuration is not complete yet, and so they may generate exceptions. Currently the CMS.isPreOpMode() is used to conditionally ignore those exceptions if they happen in the pre-op mode, for example:

try {
    ... operation ...
} catch (EBaseException e) {
    if (CMS.isPreOpMode())
        return;
}

However, such code may inadvertently hide actual installation errors that should have been reported to the user. So, rather than ignoring the errors, the code should have avoided executing operations that cannot run in the pre-op mode in the first place, for example:

if (!CMS.isPreOpMode()) {
    ... operation ...
}

Proposed milestone: 10.3.x


Per CS/DS Meeting of 04/13/2015: 10.3

Metadata Update from @edewata:
- Issue set to the milestone: UNTRIAGED

7 years ago

Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new
issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.

This issue has been cloned to GitHub and is available here:
https://github.com/dogtagpki/pki/issues/1896

If you want to receive further updates on the issue, please navigate to the
GitHub issue and click on Subscribe button.

Thank you for understanding, and we apologize for any inconvenience.

Metadata Update from @dmoluguw:
- Issue close_status updated to: migrated
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata