int-api - Build # 3133 - Failure:
Check console output at https://ci.openbravo.com/job/int-api/3133/ to view the
results.
Committers since last success:
Changes for Build #3133
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
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
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
Last 20 lines of the console output:
[...truncated 499 lines...]
org.openbravo.client.kernel:
Bad
method org.openbravo.client.kernel.I18NComponent.getETag(): nonfinal in
SANDBOX/api-checks/java/reference/java, but final in
/srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java
+ failure=1
+ exit 1
Build step 'Execute shell' marked build as failure
Performing Post build task...
Match found for : : True
Logical operation result is TRUE
Running script : cp
/srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java.japi.gz .
[int-api] $ /bin/bash -xe /tmp/hudson4062391130553914842.sh
+ cp /srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java.japi.gz .
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Archiving artifacts
Checking console output
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
------------------------------------------------------------------------------
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