int-inc-pgsql - Build # 3963 - Fixed:
Check console output at https://ci.openbravo.com/job/int-inc-pgsql/3963/ to
view the results.
Committers since last success:
Changes for Build #3962
David Miguelez <david.migue...@openbravo.com> null
Related to Issue 37852. Code Review changes.
* Changed import entry size from 3 to 100
* Created productSubListIds as a JSONArray from the start instead of
converting it again
* Added logger and log error message
* Moved try-cacth to beginning-end of the block
src/org/openbravo/event/ProductCharacteristicValueEventHandler.java
Mark <markm...@gmail.com> null
Fix for issue 37852: VariantChDescUpdateProcessor fails with
OutOfMemoryError
when there are many products to update
The process to update the characteristics description using the import entry was
failing if there are many products to update.
Here some reasons causing this issue:
1. The VariantChDescUpdateProcessor wasn't clearing the session.
2. ProductCharacteristicValueEventHandler creates an import entry with all the
products instead of having some limit.
3. The VariantChDescUpdateProcess was refreshing each ProductCharacteristic and
ProductCharacteristicValue. These refreshes aren't really needed.
As solution to this issue, were fixed the three points explained above:
1. The VariantChDescUpdateProcessor is clearing the session.
2. ProductCharacteristicValueEventHandler creates an import entry with a defined
limit (currently 100) of products instead of passing the entire product list.
3. Was removed refreshing of the objects.
src/org/openbravo/event/ProductCharacteristicValueEventHandler.java
src/org/openbravo/materialmgmt/VariantChDescUpdateProcess.java
src/org/openbravo/materialmgmt/VariantChDescUpdateProcessor.java
Changes for Build #3963
David Miguelez <david.migue...@openbravo.com> null
Related to issue 37852. Changed Exception name to e
src/org/openbravo/event/ProductCharacteristicValueEventHandler.java
Last 20 lines of the console output:
[...truncated 899 lines...]
[javadoc] Loading source files for package
org.openbravo.userinterface.selector.model.domaintype...
[javadoc] Loading source files for package
org.openbravo.userinterface.selector.reference...
[javadoc] Loading source files for package
org.openbravo.userinterface.selectors.test...
[javadoc] Loading source files for package
org.openbravo.userinterface.smartclient...
[javadoc] Constructing Javadoc information...
[javadoc] Standard Doclet version 1.7.0_151
[javadoc] Building tree for all the packages and classes...
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
generate.java.doc.jdk9:
BUILD SUCCESSFUL
Total time: 26 seconds
Checking console output
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