int-basic-oracle - Build # 2342 - Fixed:

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


Committers since last success:

Changes for Build #2341

    Armaignac <collazoan...@gmail.com> null
    Fixes issue 38198: Required Quantity in Work Effort - Production Run is 
rounded
to Integer, decimals are removed

The required quantity in work efforts can be decimals, a long value was set and
the decimals are removed even if the work requeriment quantity is decimal

The Required Quantity in work efforts was change to quantity reference to allows
decimal values.
        src-db/database/sourcedata/AD_COLUMN.xml
        src/org/openbravo/erpCommon/ad_actionButton/CreateWorkEffort.java

Changes for Build #2342

    Mark <markm...@gmail.com> null
    Fixes issue 37422: Reset Accounting finishes with error if it is launched
for an org with "Organization" type and the type name has been changed

As the process was expecting "Organization" as the organization type's name and 
it
can be changed, the process failed if the name is changed.

To avoid it, comparison is made with the organization type ID instead of the 
organization
type name, as the ID should not be changed.
        src-db/database/sourcedata/OBUISEL_SELECTOR.xml
        src/org/openbravo/financial/ResetAccounting.java

    Mark <markm...@gmail.com> null
    Fixes issue 38218: 'Delete failed' error in Reset Accounting process
if it is launched for 'Organization' type org without legal children

When the organization has an 'Organization' type and it doesn't has any legal
children, then a not well formed SQL sentence was throwing an exception because 
was trying
to filter orgs with the ad_org_id column in an empty list of IDs (ad_org_id in 
()).

To fix that, if there isn't any organization to be affected by the process, 
then it is avoided
the execution of several steps of the algorithm, including don't execute queries
that uses the organization id list as filter.

So, if the organization has an 'Organization' type and it doesn't has any legal
children then the logic for the records deletion is skipped.
        src/org/openbravo/financial/ResetAccounting.java

    Alvaro Ferraz <alvaro.fer...@openbravo.com> null
    Related to issue 38273: Update copyright
        
modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_TAX_PAYMENT.xml
        src-db/database/model/functions/C_BP_SOCREDITUSED_REFRESH.xml

    Armaignac <collazoan...@gmail.com> null
    Fixes issue 38273:Current Balance is not updated if an invoice is completed 
when
Business Partner record is pending to be saved

If while editing a business partner a sales or purchase update the current 
balance
this value is lost when the entity is saved because has already been changed by
another user or process.

Now when another user or process update the current balance field while editing
the business partner an error message is shown saving the entity
        
modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
        
modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_TAX_PAYMENT.xml
        src-db/database/model/functions/C_BP_SOCREDITUSED_REFRESH.xml

    Carlos Aristu <carlos.ari...@openbravo.com> null
    fixes issue 38357: Unused connection pool created on module installation
        src/org/openbravo/erpCommon/modules/ImportModule.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    fixes issue 38344: Restart tomcat 8.0 through MMC using JDK9 is not working

  The "tomcat.restart.do" task used to restart tomcat from MMC is starting 
tomcat with the -Djava.endorsed.dirs= system property setting. The endorsed 
feature is no longer supported with Java 9[1] and we are not making use of it 
with previous JDKs. For this reason we are directly removing it.

[1] 
https://docs.oracle.com/javase/9/migrate/toc.htm#JSMIG-GUID-8E83E51A-88A3-4E9A-8E2A-66E1D66A966C
        build.xml

    Carlos Aristu <carlos.ari...@openbravo.com> null
    fixes issue 37741: Ability to keep in cache the compiled Jasper Reports
      
    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Add specific test for the compiled reports cache
        src-test/src/org/openbravo/test/reporting/CompiledReportsCacheTest.java
        src-test/src/org/openbravo/test/AllAntTaskTests.java
        src-test/src/org/openbravo/test/reporting/AllJrxmlCompilation.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Allow to disable/enable the repòrts cache through 
JMX
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/CompiledReportManager.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JmxReportCache.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JmxReportCacheMBean.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Test should be a WeldBaseTest

  the CompiledReportManager now uses CDI to determine whether is enable or not. 
To be able to use it within the test it needs to extend WeldBaseTest
        src-test/src/org/openbravo/test/reporting/AllJrxmlCompilation.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Improve javadoc text
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ApplicationDictionaryCachedStructures.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Centralize logic to know if we are in "in 
development"
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/CompiledReportManager.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/ApplicationDictionaryCachedStructures.java
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/BaseComponent.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Log total generation time
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportingUtils.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Log report parameters in a single line
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportingUtils.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Add missing log information
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/CompiledReportManager.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Merge with pi
      
    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Refactor to handle the report cache internally
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/CompiledReportManager.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportCompiler.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportingUtils.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Missing method renaming
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JmxReportCache.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JmxReportCacheMBean.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Javadoc changes
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JmxReportCache.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JmxReportCacheMBean.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Renamed classes

  Rename classes with new names that does not provide implementation information
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/CompiledReportManager.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JmxReportCache.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JmxReportCacheMBean.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportCompiler.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportFiller.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportingUtils.java
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelApplicationInitializer.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JasperReportCache.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JasperReportCompiler.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JasperReportFiller.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JmxJasperReportCache.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JmxJasperReportCacheMBean.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Fix wrong javadoc tag
        src-test/src/org/openbravo/test/base/OBBaseTest.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Merge with pi
      
    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Test improvements

  - Perform the second compilation if the cache is enabled (if we are not in 
development)
  - Assert that the compiled report retrieved from the cache is not null
        src-test/src/org/openbravo/test/reporting/AllJrxmlCompilation.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Deprecate getTranslatedJasperReport method

Deprecate getTranslatedJasperReport(ConnectionProvider, String, String, String) 
method as the last parameter (baseDesignPath) is no longer used.
        
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_reports/ReportReconciliation.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportingUtils.java
        src/org/openbravo/erpCommon/ad_reports/ReportTaxInvoiceJR.java
        src/org/openbravo/erpCommon/ad_reports/ReportWorkRequirementDaily.java
        src/org/openbravo/erpCommon/utility/Utility.java
        src/org/openbravo/erpReports/RptC_Remittance.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Update copyright year
        src-test/src/org/openbravo/test/reporting/AllJrxmlCompilation.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Remove unneded static
        src-test/src/org/openbravo/test/base/OBBaseTest.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Add test infrastructure
        
modules/org.openbravo.client.kernel/src-test/org/openbravo/client/kernel/freemarker/test/GenerateComponentTest.java
        src-test/src/org/openbravo/test/base/OBBaseTest.java
        src-test/src/org/openbravo/test/reporting/AllJrxmlCompilation.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Ability to view and clear the content of the cache
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JmxJasperReportCache.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JmxJasperReportCacheMBean.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JasperReportCache.java
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelApplicationInitializer.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Put log information at debug level
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JasperReportFiller.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Improvements in JasperReportFiller
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JasperReportFiller.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportingUtils.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Removed log without context
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportingUtils.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Improve readability of generateJasperPrint method

  Added new JasperReportFiller class which now implements the filling logic.
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JasperReportFiller.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportingUtils.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Some code improvements

  - Use the built-in formatting to log information
  - Use diamond operator
  - In addProcessDefinitionParameters(), extract nested code blocks into new 
"addFormatParameter" method and use StringCollectionUtils to retrieve the 
String of comma separated orgs.
  - In ExportType.hasExtension(), replace toLowerCase() + equals() calls with a 
single equalsIgnoreCase() call
  - In getTempFolder(), immediately return the result instead of assigning it 
to the temporary variable "tmpFolder".
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportingUtils.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Disable cache being in "In Development"
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JasperReportCache.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportingUtils.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Put correct subreports name
        src/org/openbravo/erpReports/C_OrderLinesTaxIncludedJR.jrxml
        src/org/openbravo/erpReports/C_OrderLinesTaxIncludedJR_new.jrxml

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Add log info
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JasperReportCompiler.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    [compiled-jasper-cache] Reporting API now uses a cache of compiled reports
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JasperReportCache.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/JasperReportCompiler.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/report/ReportingUtils.java




Last 20 lines of the console output:

[...truncated 26477 lines...]
  [ "$(jps | grep Bootstrap || true)" = "" ] && break
  sleep 5
done
[ "$(jps | grep Bootstrap || true)" != "" ] && echo "Tomcat has fail to stop" 
&& exit 1 || true
[ "$i" != "0" ] && secs=$(echo "$i * 5" | bc) && echo "Waiting for $secs secs 
for tomcat to stop"

echo
fi

[int-basic-oracle] $ /bin/bash -xe /tmp/hudson442823870557635864.sh
++ jps
++ grep Bootstrap
++ true
+ '[' '' '!=' '' ']'
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Email was triggered for: Fixed
Trigger Success was overridden by another trigger and will not send an email.
Sending email for trigger: Fixed
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-builds mailing list
Openbravo-builds@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to