int-full-pgsql - Build # 4924 - Failure:

Check console output at http://builds.openbravo.com/job/int-full-pgsql/4924/ 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

 


Last 20 lines of the console output:

[...truncated 1463 lines...]

BUILD FAILED
/srv/hudson/workspace/int-full-pgsql/build.xml:702: The following error 
occurred while executing this line:
/srv/hudson/workspace/int-full-pgsql/build.xml:611: The following error 
occurred while executing this line:
/srv/hudson/workspace/int-full-pgsql/src/build.xml:233: 
org.openbravo.base.exception.OBException: Exception (Exception when parsing 
entity FinancialMgmtMatchingAlgorithm (FF8080812C2ABFC6012C2B65265E00C9):Client 
should not be null) while importing from file 
/srv/hudson/workspace/int-full-pgsql/referencedata/sampledata/QA_Testing.xml

Total time: 9 minutes 50 seconds
Build step 'Invoke Ant' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Checking console output
Performing Post build task...
Could not match :Testcase: testClean  : False
Logical operation result is FALSE
Skipping script  : /srv/hudson/bin/technicia14-live-setup-getData-pgsql-scp 
$WORKSPACE $JOB_NAME
END OF POST BUILD TASK  : 0
Recording test results
Email was triggered for: Failure
Sending email for trigger: Failure
------------------------------------------------------------------------------
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

Reply via email to