Scope is retained across mapReduce jobs in the same connection

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 3.2.0-rc0
    • Affects Version/s: 1.7.1
    • Component/s: JavaScript, MapReduce
    • None
    • Environment:
    • Minor Change
    • ALL
    • Platform 6 07/17/15, Platform 8 08/28/15, Platform 7 08/10/15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      To reproduce:
      1. Execute a mapReduce with "x" variable in mapReduce scope and reference it in a function.
      2. Execute another mapReduce (using same connection) without "x" variable in scope but still reference it in a function.

      Problem:
      Second mapReduce should have failed with "reference to undefined variable 'x'". Instead it works referencing old "x" variable.

            Assignee:
            Mira Carey
            Reporter:
            Tony Hannan (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: