JBehave
  1. JBehave
  2. JBEHAVE-635

Stories not found if code location paths contains spaces

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.5.1, 3.5.3
    • Fix Version/s: 4.x
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Windows XP Locale German
      maven 2.2.1
      jdk 1.6.0_29
    • Testcase included:
      yes
    • Number of attachments :
      1

      Description

      I started a jbehave spring project by using the archetype
      <console>
      mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-webapp -DarchetypeArtifactId=jbehave-spring-archetype -DarchetypeGroupId=org.jbehave -DarchetypeVersion=3.5.3 -Dversion=1.0-SNAPSHOT
      </console>
      If i do that in a parent folder containing spaces in name, no story is found and executed while
      <console>
      mvn clean integration-test
      </console>

      To reproduce the problem independent from parent folder name i change the target path of the project to "the target".

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Assignee Mauro Talevi [ maurotalevi ]
        Fix Version/s 3.6 [ 17721 ]
        Hide
        Mauro Talevi added a comment -

        Since the code location is a URL, the spaces are already encoded (i.e. replaced with %20 symbols).

        This problem cannot be fixed in the current design when the URL allows to abstract different code locations, from path, classpath or remote URL.

        Show
        Mauro Talevi added a comment - Since the code location is a URL, the spaces are already encoded (i.e. replaced with %20 symbols). This problem cannot be fixed in the current design when the URL allows to abstract different code locations, from path, classpath or remote URL.
        Mauro Talevi made changes -
        Summary Stories not found if project located in path with name separated by space Stories not found if code location paths contains spaces
        Fix Version/s 4.x [ 18279 ]
        Fix Version/s 3.6 [ 17721 ]
        Hide
        Mauro Talevi added a comment -

        Do note though that the relative path within a give code location can contain spaces.

        Show
        Mauro Talevi added a comment - Do note though that the relative path within a give code location can contain spaces.
        Hide
        Alexander Lehmann added a comment -

        this problem is fixed in 3.6

        Show
        Alexander Lehmann added a comment - this problem is fixed in 3.6

          People

          • Assignee:
            Mauro Talevi
            Reporter:
            Per Newgro
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: