David Tanner (JIRA | 6 Jun 2012 22:55

[jira] (JBEHAVE-788) Parsing recursive composite steps fail if the composite steps don't use any parameters

Issue Type: Bug
Affects Versions: 3.6.4
Assignee: Unassigned
Attachments: CorrectedMethod.txt, JBehave Test Case.txt
Components: Core
Created: 06/Jun/12 3:54 PM
Description:

Problem Statement:
When I have a composite step that takes parameters for some of the steps but not others, then the StepCreator doesn't take that into account, and the Matcher throws and IllegalState exception because it has no groups.

Steps to Reproduce:
See attached TestCase

Recommended Change:
Only two changes in the StepCreator class, matchedParameters method.
Move the Hashmap creation to the beginning of the method, and put an if statement around the stepMatcher.find() statement. See altered method also attached.

Project: JBehave
Priority: Major
Reporter: David Tanner
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Mauro Talevi (JIRA | 7 Jun 2012 10:21

[jira] (JBEHAVE-788) Parsing recursive composite steps fail if the composite steps don't use any parameters

Change By: Mauro Talevi (07/Jun/12 3:20 AM)
Fix Version/s: 3.6.8
Assignee: Mauro Talevi
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
Mauro Talevi (JIRA | 7 Jun 2012 10:23

[jira] (JBEHAVE-788) Parsing recursive composite steps fail if the composite steps don't use any parameters

Mauro Talevi resolved JBEHAVE-788 as Fixed

Applied patch with thanks.

Change By: Mauro Talevi (07/Jun/12 3:22 AM)
Resolution: Fixed
Status: Open Resolved
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Gmane