Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-29528

Eventing error messages inconsistency

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 6.0.0
    • 5.5.0
    • eventing
    • Security Level: Public
    • None

    Description

      Background

      When there is an error from the Eventing Service REST API it sends a JSON response which has more informations about the error.

      Problem

      Some of the response messages are not consistence:

      1. When deleting a function that is deployed

        App hasn't been undeployed
        

      2. When deleting a function that does not exist

        Application not deployed
        

      Expectations

      The error message should say function and not Application. IF application is correct for it not to be shorten to app. In the second case the error to say the function does not exist.

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-29528
          # Subject Branch Project Status CR V

          Activity

            People

              asingh Abhishek Singh (Inactive)
              pvarley Patrick Varley (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty