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

Cannot create Javascript function in a namespace using the UI

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.1.0
    • 7.1.0
    • query_tools, UI
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      If you create a Javascript function using the UI, you cannot assign it to a namespace.

      The dialog allows you to set the namespace and save the function.

      The library list screen even states that the function is in the correct namespace.

      When you return to edit it, the namespace is fixed as global.

      Running select * from system:functions shows that the function's containing library doesn't have a namespace.

      Attachments

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

        Activity

          People

            pierre.regazzoni Pierre Regazzoni
            ray.offiah Ray Offiah
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty