int-full-pgsql - Build # 4925 - Fixed:
Check console output at http://builds.openbravo.com/job/int-full-pgsql/4925/ to
view the results.
Committers since last success:
Changes for Build #4924
Augusto Mauch <[email protected]>
Fixes issue 23990: XML is imported properly using Initial Org Setup
This is what was happening when an object with id #id was being imported from a
dataset to a organization. #id is the id of the object in the dataset
- The first time the object is imported to a organization (org1), the original
#id is used
- When the same record was being imported to a sister organization (org2), a
query for that object with the id #id was done. The organization filter was not
being applied, so the object that was imported in the previous step was found.
This object was related with other objects that belonged to org1, but was being
referenced too from other objects that were belonged to org2. org1 is not part
of the natural tree of org2, so an exception was thrown.
This has been fixed by adding a parameter to the resolve method that will force
to apply the organization filter. The default value of this parameter is false,
and it will only be true then is called from the InitialSetupUtility class.
src/org/openbravo/dal/xml/BaseXMLEntityConverter.java
src/org/openbravo/dal/xml/EntityResolver.java
src/org/openbravo/dal/xml/XMLEntityConverter.java
src/org/openbravo/erpCommon/businessUtility/InitialSetupUtility.java
src/org/openbravo/service/db/DataImportService.java
Changes for Build #4925
Augusto Mauch <[email protected]>
Related with issue 23990: Backed out changeset 0762572868aa
The fix has been backed out because it break the automated tests
src/org/openbravo/dal/xml/BaseXMLEntityConverter.java
src/org/openbravo/dal/xml/EntityResolver.java
src/org/openbravo/dal/xml/XMLEntityConverter.java
src/org/openbravo/erpCommon/businessUtility/InitialSetupUtility.java
src/org/openbravo/service/db/DataImportService.java
Last 20 lines of the console output:
[...truncated 1952 lines...]
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Checking console output
Performing Post build task...
Match found for :Testcase: testClean : True
Logical operation result is TRUE
Running script : /srv/hudson/bin/technicia14-live-setup-getData-pgsql-scp
$WORKSPACE $JOB_NAME
[int-full-pgsql] $ /bin/sh -xe /tmp/hudson2522532837220568912.sh
+ /srv/hudson/bin/technicia14-live-setup-getData-pgsql-scp
/srv/hudson/workspace/int-full-pgsql int-full-pgsql
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
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
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds