Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandra Schladebeck2012-10-19 11:24:55 +0000
committerAlexandra Schladebeck2012-10-19 11:24:55 +0000
commite656858c505ded3a68c81a6bcdcc9e827053356a (patch)
treeb455c1cadda1305a297ecf3ef88091cddb2afb29
parent2c6ca76fb62f4d31fbd233be8e4ff5b021d1ef72 (diff)
downloadorg.eclipse.jubula.core-e656858c505ded3a68c81a6bcdcc9e827053356a.tar.gz
org.eclipse.jubula.core-e656858c505ded3a68c81a6bcdcc9e827053356a.tar.xz
org.eclipse.jubula.core-e656858c505ded3a68c81a6bcdcc9e827053356a.zip
Documents changed behaviour for referenced parameters due to bugfix http://bugs.eclipse.org/382169
-rw-r--r--org.eclipse.jubula.documentation/releasenotes/en/tex/70/jubulaissues.tex17
1 files changed, 17 insertions, 0 deletions
diff --git a/org.eclipse.jubula.documentation/releasenotes/en/tex/70/jubulaissues.tex b/org.eclipse.jubula.documentation/releasenotes/en/tex/70/jubulaissues.tex
index e69de29bb..3f22c232d 100644
--- a/org.eclipse.jubula.documentation/releasenotes/en/tex/70/jubulaissues.tex
+++ b/org.eclipse.jubula.documentation/releasenotes/en/tex/70/jubulaissues.tex
@@ -0,0 +1,17 @@
+\textbf{Changes to resolving of referenced parameters}\\
+\begin{itemize}
+\item In previous versions, there was an error in the way referenced parameters were resolved, which lead to the data for the parameter being read each time the parameter was referenced. This could lead to problems with e.g. time-sensitive functions. If a \gdcase{} was structured to enter the date using the ?now() function and then check the entered text (where the data for the text entry and the check were referenced and ?now() entered at the parent \gdcase{}), then the entered value and checked value would not be the same.
+\item This has been changed for this version, so that references are resolved at the place where the parameter is defined.
+\item Any users who have \gdcases{} whose parameters define variables which are declared within the \gdcase{} itself will have to restructure such \gdcases{} so that the variable is not set before it is called, e.g.
+\begin{quote}
+-TC1 [VARIABLE\_SET=VAR1;VARIABLE\_CHECK=\$VAR1]\\
+-- Set variable =VARIABLE\_SET\\
+-- Check variable =VARIABLE\_CHECK
+\end{quote}
+\item The correct way to structure such \gdcases{} is as follows:
+\begin{quote}
+-TC1\\
+-- Set variable: VAR1\\
+-- Check variable:\$VAR1
+\end{quote}
+\end{itemize}

Back to the top