int-basic-pgsql - Build # 846 - Failure:

Check console output at https://ci.openbravo.com/job/int-basic-pgsql/846/ to 
view the results.


Committers since last success:

Changes for Build #846

    Unai Martirena <[email protected]> null
    Related to bug 29430: Adapt de test to the new behavior
        src-test/src/org/openbravo/test/costing/TestCosting.java

    Unai Martirena <[email protected]> null
    Fixes bug 29430: Net Unit Price in Costing is properly calculated


Using Cost Adjustments the Net Unit Price of a product on a transaction could 
be affected with those. Starting from now the Net Unit Price assigned in 
Costing tab is going to take into account the Cost Adjustments of type Unit 
Cost.

So the calculation would be: ((originalPrice * qty) + adjustmentsAmount) / qty.
        src/org/openbravo/costing/AverageCostAdjustment.java

    Naroa Iriarte <[email protected]> null
    Fixed issue 29441: It is not possible to export a report in XLS format.

Trying to export a report in XLS format, using the following module does not 
work:
 https://code.openbravo.com/erp/mods/org.openbravo.platform.features

It shows a casting error in the log. The problem is in the ReportingUtils class.
When it tries to export a report of XLS type, the variable "target" is type 
"File".
The problem is when the JRExporterParameter class of Jasper is used:

exportParameters.put(JRExporterParameter.OUTPUT_FILE_NAME, target);

The target needs to be of type "String" instead of "File" for the correct 
execution of
the code above.

To fix this the method "getAbsolutePath" of the "File" class has been called 
for getting
the absolute path which is what is needed, but  having the type as "String" 
instead
of "File".
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportingUtils.java




Last 20 lines of the console output:

[...truncated 8191 lines...]
    [junit] 
    [junit] Error: 
    [junit] Mar 30, 2015 2:56:20 PM org.openqa.selenium.remote.Augmenter 
extractRemoteWebDriver
    [junit] WARNING: Augmenter should be applied to the instances of 
@Augmentable clases or previously augmented instances only
    [junit] 

BUILD FAILED
/srv/ci/workspace/int-basic-pgsql/SANDBOX/automation/pi/src-test/com/openbravo/test/integration/erp/testsuites/smoke/build.xml:39:
 The following error occurred while executing this line:
/srv/ci/workspace/int-basic-pgsql/SANDBOX/automation/pi/src-test/com/openbravo/test/integration/erp/testsuites/smoke/sales/build.xml:30:
 The following error occurred while executing this line:
/srv/ci/workspace/int-basic-pgsql/SANDBOX/automation/pi/src-test/com/openbravo/test/integration/erp/testsuites/smoke/sales/build.xml:48:
 The following error occurred while executing this line:
/srv/ci/workspace/int-basic-pgsql/SANDBOX/automation/pi/build.xml:71: Test 
com.openbravo.test.integration.erp.testsuites.smoke.sales.SALc_GenerateInvoice 
failed

Total time: 22 minutes 7 seconds
Build step 'Execute managed script' marked build as failure
Recording test results
Archiving artifacts
Checking \] ERROR|\] WARN
Email was triggered for: Failure
Sending email for trigger: Failure
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to