int-basic-oracle - Build # 1906 - Failure:

Check console output at https://ci.openbravo.com/job/int-basic-oracle/1906/ to 
view the results.


Committers since last success:

Changes for Build #1906

    Inigo Sanchez <[email protected]> null
    Fixed issue 35760:Can not create computed columns in ad_org or ad_client 
tables

The problem was that it was not possible to create and export a computed column 
in ad_org and ad_client tables.
This problem was because computed columns of organization entity should have 
not organization as a property and
it should have not implement OrganizationEnabled. At the same time, computed 
columns of client entity should have
not client as a property and it should have not implement ClientEnabled.

In order to fix this problem two changes have been done:
- Now generate entities task is take into account when a computed column is 
created for Organization or Client
entities. Besides, when the computed column class is created, 
entityComputedColumns.ftl has the needed logic to
decided if implements ClientEnabled, OrganizationEnabled or both.
- When the Hibernate mapping for the tables and entities are created 
(DalMappingGenerator),
generateComputedColumnsClassMapping method is take into account when the 
computed column is for Organization
entity or Client entity.

It is now possible to create a computed column in the ad_org and ad_client 
tables.
        src/org/openbravo/base/gen/GenerateEntitiesTask.java
        src/org/openbravo/base/gen/entityComputedColumns.ftl
        src/org/openbravo/dal/core/DalMappingGenerator.java




Last 20 lines of the console output:

[...truncated 1456 lines...]
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1165)
    [junit]     at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1016)
    [junit] 2017-05-12 11:38:41,923 [main] INFO  
com.openbravo.test.integration.erp.testscripts.OpenbravoERPTest - Save the 
screenshot.
    [junit] 2017-05-12 11:38:41,964 [main] ERROR 
com.openbravo.test.integration.erp.testscripts.OpenbravoERPTest - ** The test 
has finished with 'Failed' status. Closing Selenium Instance **
    [junit] 2017-05-12 11:38:42,115 [main] INFO  
com.openbravo.test.integration.erp.testscripts.OpenbravoERPTest - **  End of 
test execution @Test: shipmentsShouldBeCreatedFromOrder  **
    [junit] Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 
1,990.977 sec

BUILD FAILED
/srv/ci/workspace/int-basic-oracle/SANDBOX/automation/pi/build.xml:338: The 
following error occurred while executing this line:
/srv/ci/workspace/int-basic-oracle/SANDBOX/automation/pi/build.xml:77: Test 
com.openbravo.test.integration.erp.testsuites.smoke.SmokeModulesSuite failed

Total time: 35 minutes 37 seconds
Build step 'Execute managed script' marked build as failure
Recording test results
Archiving artifacts
Checking \] ERROR|\] WARN
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

Reply via email to