int-basic-pgsql - Build # 2254 - Still Failing:
Check console output at https://ci.openbravo.com/job/int-basic-pgsql/2254/ to
view the results.
Committers since last success:
Changes for Build #2252
Víctor Martínez Romanos <[email protected]> null
Fixed issue 37827: [ri] clear session after each test execution
src-test/src/org/openbravo/test/referencedinventory/ReferencedInventoryTest.java
Changes for Build #2253
Víctor Martínez Romanos <[email protected]> null
Fixed issue 37827: [ri] clear session after each individual test execution
src-test/src/org/openbravo/test/referencedinventory/ReferencedInventoryBoxForcedReservation.java
src-test/src/org/openbravo/test/referencedinventory/ReferencedInventoryBoxFullReservationTest.java
src-test/src/org/openbravo/test/referencedinventory/ReferencedInventoryBoxOverReservationTest.java
src-test/src/org/openbravo/test/referencedinventory/ReferencedInventoryBoxPartialReservationTest.java
src-test/src/org/openbravo/test/referencedinventory/ReferencedInventoryBoxSeveralStorageDetailsTest.java
src-test/src/org/openbravo/test/referencedinventory/ReferencedInventoryFullBoxTest.java
src-test/src/org/openbravo/test/referencedinventory/ReferencedInventoryFullUnboxFullReservation.java
src-test/src/org/openbravo/test/referencedinventory/ReferencedInventoryFullUnboxPartialReservation.java
src-test/src/org/openbravo/test/referencedinventory/ReferencedInventoryFullUnboxTest.java
src-test/src/org/openbravo/test/referencedinventory/ReferencedInventoryPartialBoxTest.java
src-test/src/org/openbravo/test/referencedinventory/ReferencedInventoryPartialUnboxFullReservation.java
src-test/src/org/openbravo/test/referencedinventory/ReferencedInventoryPartialUnboxPartialReservation.java
src-test/src/org/openbravo/test/referencedinventory/ReferencedInventoryPartialUnboxTest.java
Changes for Build #2254
Augusto Mauch <[email protected]> null
Related with issue 37451: Adds tests
Tests have been added to check that the datasource returns properly the results
using the updated criteria.
Selenium tests with the current infrastructure are not possible, since when
they filter the grid, they do not
select the checkboxes of the foreign key combo boxes, they just enter the text
in the filter input, and if done
that way the issue is not reproducible.
src-test/src/org/openbravo/test/datasource/NonIdForeignKeyFilters.java
src-test/src/org/openbravo/test/AllWebserviceTests.java
Augusto Mauch <[email protected]> null
Fixes issue 37451: Fixes filtering of fks that dont use ids as key
The problem was that the foreign keys that did not use and id column as key
(i.e. ad_country.ad_language) were not being properly
filtered locally in smartclient, because the criteria used the id of the
referenced record, that was not available in the browser (it
was available in the query done in the back end, that is why only the
client-side filtering was not working).
For instance, if the ad_language foreign key reference uses as key
ad_language.ad_language instead of ad_language.ad_language_id, the criteria
will no longer be:
{
fieldName: 'language',
operator: 'equals',
value: '192'
}
Now it will be:
{
fieldName: 'language',
operator: 'equals',
value: 'en_US'
}
The AdvancedQueryBuilder has been adapted to support the new type of criteria.
There are also changes on ob-grid.js and ob-formitem-fk-filter to ensure that
the criteria is properly displayed in the filter input.
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk-filter.js
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-grid.js
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/ForeignKeyUIDefinition.java
modules/org.openbravo.service.json/src/org/openbravo/service/json/AdvancedQueryBuilder.java
Last 20 lines of the console output:
[...truncated 85 lines...]
for((i=0;i<12;i++)); do
[ "$(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-pgsql] $ /bin/bash -xe /tmp/hudson2477013758816679150.sh
++ jps
++ grep Bootstrap
++ true
+ '[' '' '!=' '' ']'
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
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