Struts 2
  1. Struts 2
  2. WW-3681

testWebFlow(org.apache.struts2.sitegraph.SiteGraphTest) test fails on paths with spaces

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.3.1
    • Fix Version/s: 2.3.1
    • Component/s: Other
    • Labels:
    • Environment:

      xp64 cygwin oracle java 6

      Description

      -------------------------------------------------------
      T E S T S
      -------------------------------------------------------
      Running org.apache.struts2.sitegraph.SiteGraphTest
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.64 sec <<< FAILURE!

      Results :

      Tests in error:
      testWebFlow(org.apache.struts2.sitegraph.SiteGraphTest)

        Activity

        Hide
        Jason Pyeron added a comment -

        jpyeron@black /projects/struts/struts2/trunk
        $ svn info
        Path: .
        URL: http://svn.apache.org/repos/asf/struts/struts2/trunk
        Repository Root: http://svn.apache.org/repos/asf
        Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
        Revision: 1171890
        Node Kind: directory
        Schedule: normal
        Last Changed Author: jogep
        Last Changed Rev: 1161630
        Last Changed Date: 2011-08-25 12:30:49 -0400 (Thu, 25 Aug 2011)

        Show
        Jason Pyeron added a comment - jpyeron@black /projects/struts/struts2/trunk $ svn info Path: . URL: http://svn.apache.org/repos/asf/struts/struts2/trunk Repository Root: http://svn.apache.org/repos/asf Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 Revision: 1171890 Node Kind: directory Schedule: normal Last Changed Author: jogep Last Changed Rev: 1161630 Last Changed Date: 2011-08-25 12:30:49 -0400 (Thu, 25 Aug 2011)
        Hide
        Maurizio Cucchiara added a comment -
        Show
        Maurizio Cucchiara added a comment - I guess that has to do with http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4466485
        Hide
        Jason Pyeron added a comment -

        new File(url.toUri()) is the solution, but the test is failing since the out.txt and the writer have different content.

        Show
        Jason Pyeron added a comment - new File(url.toUri()) is the solution, but the test is failing since the out.txt and the writer have different content.
        Hide
        Maurizio Cucchiara added a comment -

        Priority changed to minor as it occurs under particular conditions and is a test failure

        Show
        Maurizio Cucchiara added a comment - Priority changed to minor as it occurs under particular conditions and is a test failure
        Hide
        Maurizio Cucchiara added a comment -

        Solved, Thank you Jason for the submission!

        Show
        Maurizio Cucchiara added a comment - Solved, Thank you Jason for the submission!
        Hide
        Hudson added a comment -

        Integrated in Struts2 #354 (See https://builds.apache.org/job/Struts2/354/)
        WW-3681 - testWebFlow(org.apache.struts2.sitegraph.SiteGraphTest) test fails on paths with spaces

        mcucchiara :
        Files :

        • /struts/struts2/trunk/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/SiteGraph.java
        • /struts/struts2/trunk/plugins/sitegraph/src/test/java/org/apache/struts2/sitegraph/SiteGraphTest.java
        Show
        Hudson added a comment - Integrated in Struts2 #354 (See https://builds.apache.org/job/Struts2/354/ ) WW-3681 - testWebFlow(org.apache.struts2.sitegraph.SiteGraphTest) test fails on paths with spaces mcucchiara : Files : /struts/struts2/trunk/plugins/sitegraph/src/main/java/org/apache/struts2/sitegraph/SiteGraph.java /struts/struts2/trunk/plugins/sitegraph/src/test/java/org/apache/struts2/sitegraph/SiteGraphTest.java

          People

          • Assignee:
            Maurizio Cucchiara
            Reporter:
            Jason Pyeron
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development