int-inc-pgsql - Build # 3796 - Unstable:

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


Committers since last success:

Changes for Build #3796

    Asier Lostalé <asier.lost...@openbravo.com> null
    related to 37324: added test case for getAllPreferences
        src-test/src/org/openbravo/test/preference/PreferenceTest.java

    Asier Lostalé <asier.lost...@openbravo.com> null
    related to 37324: renamed PreferenceTest methods

  The need to be executed alphabetically because they are inter-dependent.

  Replaced letters with numbers to make this sorting easier.
        src-test/src/org/openbravo/test/preference/PreferenceTest.java

    Asier Lostalé <asier.lost...@openbravo.com> null
    related to 37329: use new method where old was used
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/ADAlertDatasourceService.java
        src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java
        src/org/openbravo/erpCommon/ad_process/UpdateActuals.java
        src/org/openbravo/erpCommon/businessUtility/Preferences.java
        src/org/openbravo/erpCommon/obps/ActivationKey.java

    Asier Lostalé <asier.lost...@openbravo.com> null
    related to 37329: implemented a more generic Utility.arrayListToString

  Deprecated old arrayListToString method.
        src/org/openbravo/erpCommon/utility/Utility.java

    Asier Lostalé <asier.lost...@openbravo.com> null
    fixes 37329: implemented a more generic Utility.arrayListToString

  Implemented a more generic alternative to Utility.arrayListToString:

    * Receives as parameter a generic Collections instead of limiting it to
      ArrayList instances
    * Implemented it in a more performant manner based on OpenJDK
      AbstractCollection.toString
        src/org/openbravo/erpCommon/utility/Utility.java

    Asier Lostalé <asier.lost...@openbravo.com> null
    fixed bug 37324: slow login having many preferences - case 2

  When there were thousands of preferences with ad_org visible from current org
  but not visible through visible at org field, loading all preferences was 
slow.

  The problem was, all those preferences were loaded as DAL objects to filter
  out later in memory those that were not visible.

  This gets fixed by filtering out directly in the query so that no unneeded 
rows
  are retrived from DB to instantiate DAL objects that later will be discarded
  immediatelly.
        src/org/openbravo/erpCommon/businessUtility/Preferences.java

    Asier Lostalé <asier.lost...@openbravo.com> null
    fixed bug 37324: slow login having many preferences - case 1

  Retrieving all preferences for current role/org was slow having thousands of
  visible preferences because of how duplicate preferences with different 
visibility
  were checked. This check was performed by sequentially scanning a list of 
already
  saved preferences to verify whether current one was already in the list.

  It has now fixed by keeping a temporary map of preferences where the key 
defines
  if preference is the same or not, in this way it is not necessary to iterate
  over all the entries each time.
        src/org/openbravo/erpCommon/businessUtility/Preferences.java




Last 20 lines of the console output:

[...truncated 898 lines...]
  [javadoc] 
/srv/ci/workspace/int-inc-pgsql/src/org/openbravo/erpCommon/utility/Utility.java:1596:
 warning - @code' is an unknown tag.
  [javadoc] 
/srv/ci/workspace/int-inc-pgsql/src/org/openbravo/erpCommon/utility/Utility.java:1596:
 warning - @code' is an unknown tag.
  [javadoc] Building index for all the packages and classes...
  [javadoc] 
/srv/ci/workspace/int-inc-pgsql/src/org/openbravo/erpCommon/utility/Utility.java:1596:
 warning - @code' is an unknown tag.
  [javadoc] Building index for all classes...
  [javadoc] Generating /srv/ci/workspace/int-inc-pgsql/docs/api/help-doc.html...
  [javadoc] 5 warnings

generate.java.doc.jdk9:

BUILD SUCCESSFUL
Total time: 30 seconds

Checking console output
/srv/ci/jobs/int-inc-pgsql/builds/3796/log:
  [javadoc] 
/srv/ci/workspace/int-inc-pgsql/src/org/openbravo/erpCommon/utility/Utility.java:1596:
 warning - @code' is an unknown tag.
Build step 'Jenkins Text Finder' changed build result to UNSTABLE
Email was triggered for: Unstable (Test Failures)
Sending email for trigger: Unstable (Test Failures)

------------------------------------------------------------------------------
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