Q7

Issues with parameter context -> ECL global variable integration

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3.7
  • Fix Version/s: 1.3.8
  • Component/s: ECL, Runtime
  • Labels:
  • Test Mode:
    Manual

Description

Steps to reproduce:

  1. Create parameters context p1 with foo = 1
  2. Create parameters context p2 with foo = 2
  3. Add both contexts to test case with the following code:
    log $foo // writes 1 into log
    log [get-param foo] // writes 2 into log
    

Two problems here:

  • When parameters context declares global variables, it does not correctly processes error status, as second parameter context fails to declare variable 'foo', as it is already declared
  • We need to allow redefining of global variables only in Parameters contexts, as using same parameters in multiple parameters contexts is useful when it is required to override a few parameters in a test case

Old q7-only parameters support is aware of it, so get-param foo returns an expected value in an example above

Activity

There are no comments yet on this issue.

People

  • Assignee:
    komaz
    Reporter:
    komaz
Vote (0)
Watch (0)

Dates

  • Created:
    19/Sep/13 3:12 PM
    Updated:
    19/Sep/13 7:56 PM
    Resolved:
    19/Sep/13 7:56 PM