Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table template breaks when using var in column 4 #34

Closed
lennyg1 opened this issue Apr 23, 2019 · 3 comments
Closed

Table template breaks when using var in column 4 #34

lennyg1 opened this issue Apr 23, 2019 · 3 comments

Comments

@lennyg1
Copy link

lennyg1 commented Apr 23, 2019

Since 1.26 the following table template gives me an error; imbroken: Bad table! The argument somelocation is not an input to the scenario.

|scenario|click something|something|in something else|else|
|click   |@{something}   |in       |@{else}               |

!|table template|imbroken                                      |
|click something|FitNesse    |in something else|@{somelocation}|
|enter          |@{something}|as               |@{someplace}   |

|script|browser test         |
|open  |http://localhost:9090|

|imbroken                                               |
|something|someplace      |somelocation                 |
|searchy  |Search for page|id=WelcometoFitNesse.FitNesse|

It seems to be caused by the @{somelocation} passing through to a scenario underneath.

@maikelgithub
Copy link

Hi @lennyg1

We are having the same issues with our scripts. It's the combination of retrieving variables that @tcnh decribes in this thread and I've described here.

@fhoeben is there any way to make the scripts work again? almost all our scripts are still failing so we're now bound to use an older version of fitnesse :(

@tcnh
Copy link
Contributor

tcnh commented Apr 25, 2019

I believe this happens when a template calls a scenario using an input parameter and the scenario has a different name for this parameter.

See #35 for what I think fixes this issue

@lennyg1
Copy link
Author

lennyg1 commented Apr 29, 2019

My table templates seem to work again with the latest release (1.27)

@lennyg1 lennyg1 closed this as completed Apr 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants