Opened 20 years ago
Last modified 16 years ago
#776 closed defect
pmConfig fails to detect invalid files — at Initial Version
| Reported by: | Owned by: | Paul Price | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | psModules | Version: | 0.10.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
(release v12_0) The code in pmConfig fails to check the error codes from loadRecipes (and
in fact errors from below are not propagated even as far as loadRecipes).
I have checked in patches to make loadRecipes return false when errors (such as invalid
keys) are detected, but have NOT made pmConfig fail as loadRecipes legitimately fails
when e.g. a file doesn't contain a recipe.
We should revisit this when we start using psErrorCode not bool as our status variable.
Note:
See TracTickets
for help on using tickets.
