int-full-pgsql - Build # 2599 - Unstable:
Check console output at https://ci.openbravo.com/job/int-full-pgsql/2599/ to
view the results.
Committers since last success:
Changes for Build #2599
Naroa Iriarte <[email protected]> null
Fixed issue 34469: The manage variants record selection was not working
fine.
When a record was selected and after that another action was done, the record
which must remain selected, was not.
The problem was in the "ManageVariantsDS". There was a property which was not
being set. In the client there is a place where it is searching the selected
records by a "findByKey" method. This method was searching the property
"primaryKeys" and it needs to have the id set. In this case, as it was not set,
it was not returning anything and it was not being able to find the selected
record. That was causing the problem of the unselected record.
The fix consists on implementing the "getDataSourceProperties" method and there
set the needed properties of the datasource.
src/org/openbravo/materialmgmt/ManageVariantsDS.java
David Miguelez <[email protected]> null
Fixes Issue 34509. Removes warning by changing parameter name.
src/org/openbravo/dal/security/OrganizationStructureProvider.java
Naroa Iriarte <[email protected]> null
Fixed issue 34405: The Manage Variants filter was not working fine.
If the filter was used, after that a record was selected and after that the
filter was cleaned up, the "no items to show" message was shown instead of
showing all the records.
The problem was that the "ManageVariantsDS" manual datasource was not capable
of managing the criteria: "criteria:{"fieldName":"id","operator":"notNull"}"
which is the criteria that must return every record.
The problem was in this code line: "value = criteria.getString("value")"
because the creiteria has not value, it only has fieldName and operator. It was
throwing an exception which was not being correctly handled in the catch. This
problem has been solved also, by properly handling the exception by showing log.
The first problem has been solved by processing the concrete criteria properly.
If this criteria is found, it means that every record must be shown, so it
continues with doing nothing.
There was a another problem that has been solved and it is that the searchKey
and the nameFilters were acting as a "Contains" filter instead of like as an
"iContains".
This has been fixed by changing the "contains" method of StringUtils by the
"containsIgnoreCase".
src/org/openbravo/materialmgmt/ManageVariantsDS.java
Last 20 lines of the console output:
[...truncated 1666 lines...]
+ CONTEXT_NAME=int-full-pgsql
++ awk -F = '/^bbdd.rdbms/ {print $2}'
/srv/ci/workspace/int-full-pgsql/config/Openbravo.properties
+ DB=POSTGRE
+ mkdir -p /srv/ci/workspace/int-full-pgsql/SANDBOX/out
+ rm -f /srv/ci/workspace/int-full-pgsql/SANDBOX/out/ob-erp.tgz
/srv/ci/workspace/int-full-pgsql/SANDBOX/out/tad.dmp
/srv/ci/workspace/int-full-pgsql/SANDBOX/out/webapp.war
+ echo https://ci.openbravo.com/job/int-full-pgsql/2599/
+ '[' POSTGRE = ORACLE ']'
+ PGPASSWORD=int_full_pgsql
+ pg_dump -p 5435 -U int_full_pgsql -h 10.0.3.10 -F c -b -f
/srv/ci/workspace/int-full-pgsql/SANDBOX/out/tad.dmp int_full_pgsql
+ cp /srv/ci/workspace/int-full-pgsql/lib/int-full-pgsql.war -d
/srv/ci/workspace/int-full-pgsql/SANDBOX/out/webapp.war
+ tar czf /srv/ci/workspace/int-full-pgsql/SANDBOX/out/ob-erp.tgz
--exclude=SANDBOX --exclude=.hg --exclude=lib/int-full-pgsql.war -C
/srv/ci/workspace/int-full-pgsql/../ int-full-pgsql
+ echo
Checking console output
/srv/ci/jobs/int-full-pgsql/builds/2599/log:
ERROR: Failed to pull
Build step 'Jenkins Text Finder' changed build result to UNSTABLE
Email was triggered for: Unstable (Test Failures)
Sending email for trigger: Unstable (Test Failures)
------------------------------------------------------------------------------
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds