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

macOS UI can no longer create or import functions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.0.0
    • 6.5.1, Cheshire-Cat
    • installer
    • Mojave 10.14.6
      Enterprise Edition 7.0.0 build 1375
    • 3
    • Yes
    • Build Team 2020 Sprint 4

    Description

      When creating a new Eventing function via the UI in macOS a problem is preventing Eventing functions from being created or imported.

      New function made in the UI Case 1 (no edit to Javascript)

      Accepting the "default" Javascript code for the function (no edits) somehow the function doesn't actually get saved,

      After returning to the Eventing page we see a status '...' indicating unknown

      And then eventually due to the new resyncing logic between UI's CLI and REST commands in 10 "status" updates it is removed from the UI (since it was not saved in the 'backend')

      Note the functionality in Linux works fine.

      +New function made in the UI Case 2 (edit to JavaScript)+

      Modifying the "default" Javascript code for the function (just add a space) the function does get saved.

      After returning to the Eventing page we see a status 'undeployed'

      In this case the resyncing logic allows it to stay in the UI.  

      However it can not be deployed via the UI's "deploy" button (refer to case-2_issues.png)

      Note the functionality in Linux works fine.

      +Importing a function via the UI Case 3+

      Similar behavior to case 1 above. 

      Note the functionality in Linux works fine.

      Other

      I have added all the log files and attached via "logs.tar.gz"

       

       

       

       

      Attachments

        1. case_1_issues.png
          case_1_issues.png
          290 kB
        2. case_2_issues.png
          case_2_issues.png
          388 kB
        3. case_3_issues.png
          case_3_issues.png
          273 kB
        4. logs.tar.gz
          754 kB
        5. Screen Shot 2021-01-14 at 4.24.33 PM.png
          Screen Shot 2021-01-14 at 4.24.33 PM.png
          35 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              jon.strabala Jon Strabala
              jon.strabala Jon Strabala
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty