int-checks-pgsql - Build # 3335 - Fixed:

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


Committers since last success:

Changes for Build #3333

    Carlos Aristu <[email protected]> null
    related to issue 37259: adapt test case to the new component's definition
        
modules/org.openbravo.client.kernel/src-test/org/openbravo/client/kernel/freemarker/test/LabelTest.java

    Carlos Aristu <[email protected]> null
    fixes bug 37259: Some labels are not translated after switching the language

  After the changes introduced on issue #35852 the labels were being cached 
together with the rest of the static javascript code. Thus, being in an 
environment not in "in development" status, the labels were being cached in the 
language of the first login avoiding the translation when switching to another 
language afterwards.

  To fix the problem now the component responsible of collecting the labels has 
been defined as a session dynamic component. This way the labels will be 
retrieved on every login. And to avoid querying to the database on each login 
request, the labels are now being cached in the server per language.
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/I18NComponent.java
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelComponentProvider.java

Changes for Build #3334

    Carlos Aristu <[email protected]> null
    related to issue 37259: adapt test case to the new component's definition
        
modules/org.openbravo.client.kernel/src-test/org/openbravo/client/kernel/freemarker/test/GenerateComponentTest.java

Changes for Build #3335

    Carlos Aristu <[email protected]> null
    related to issue 37259: minor code improvements
  - Removed testLabels() test from GenerateComponentTest as the generation of 
the I18NComponent component is already covered with the LabelTest class
  - Use the log to print the result of the component generation instead of the 
standard error output
  - Generate the I18NComponent using its generate method. This is how it is 
generated by the SessionDynamicResourceComponent
        
modules/org.openbravo.client.kernel/src-test/org/openbravo/client/kernel/freemarker/test/GenerateComponentTest.java
        
modules/org.openbravo.client.kernel/src-test/org/openbravo/client/kernel/freemarker/test/LabelTest.java




Last 20 lines of the console output:

[...truncated 15265 lines...]
[ "$(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-checks-pgsql] $ /bin/bash -xe /tmp/hudson4402784462987592879.sh
++ jps
++ grep Bootstrap
++ true
+ '[' '' '!=' '' ']'
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 1
Archiving artifacts
Checking ERROR(?!: Failed to pull)|syntax error at or near|SQL error in 
query|WARNING in
Recording test results
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to