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

[BP 7.0.4 MB-51362] - Warning if variable name contains builtin api name

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      I have a 7.X function "basicLocalCurlGetWithTiming.json" that used to import and work fine.  I now get an error that says:

      Function tries to overload following builtin API(s): curl

      If I edit the javascript and global replace the word 

      • curl with rest

      then replace

      • rest( with curl( for the actual function call

      the issue goes away, not sure if it is the variable names, comments, or strings in he log calls.

      Update: You can replace the variable do_curl with do_rest and the issue will also go away.

      Attachments

        Issue Links

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

          Activity

            People

              sujay.gad Sujay Gad
              jeelan.poola Jeelan Poola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty