Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3645

Classes not defined if custom promise fails early

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.18.0
    • Component/s: Promise types: custom
    • Labels:
      None

      Description

      In case of early failure in custom promise evaluation, for example when the custom promise module specification is wrong or the module cannot be started, the code just returns PROMISE_RESULT_FAIL and never calls cfPS(). Among other things, this means classes reflecting the promise repair failure are not defined.

        Attachments

          Activity

            People

            Assignee:
            vpodzime Vratislav Podzimek
            Reporter:
            vpodzime Vratislav Podzimek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: