Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-7938

testFopMacroLibrary fails on Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.01
    • Component/s: framework
    • Labels:
      None

      Description

      When running tests on Windows I get this error

      Response contentType isn't good : text/html;charset=UTF-8 expected:<[application/pdf];charset=UTF-8> but was:<[text/html];charset=UTF-8>
      
      junit.framework.ComparisonFailure: Response contentType isn't good : text/html;charset=UTF-8 expected:<[application/pdf];charset=UTF-8> but wwas:<[text/html];charset=UTF-8>
      at org.apache.ofbiz.widget.test.WidgetMacroLibraryTests.testFopMacroLibrary(WidgetMacroLibraryTests.java:123)
      at org.apache.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
      at org.apache.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:237)
      at org.apache.ofbiz.base.start.StartupControlPanel.startStartupLoaders(StartupControlPanel.java:274)
      at org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:73)
      at org.apache.ofbiz.base.staart.Start.main(Start.java:84)
      

      All tests pass on BuildBot.

        Issue Links

          Activity

          Hide
          jacques.le.roux Jacques Le Roux added a comment -

          Fixed with r1759092 for OFBIZ-8119

          Show
          jacques.le.roux Jacques Le Roux added a comment - Fixed with r1759092 for OFBIZ-8119

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              jacques.le.roux Jacques Le Roux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development