int-basic-pgsql - Build # 875 - Failure:

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


Committers since last success:

Changes for Build #875

    Naroa Iriarte <[email protected]> null
    Related with issue 29064: Added test for the new NoteDataSource

A test for making sure that the new manual data source for the notes works 
properly.
It does the fetch, add and remove methods of the NoteDataSource.java.
The testFetchNotes test has a user of an American organization which creates a 
new note, so the note's
organization is the same American organization. After that the organization of 
the note is changed to
another one which is a Spanish organization for making sure that the two 
organization are divergent.
After that a fetch is done, now, the user has no access to the new organization 
of the note, but it have
to be possible fetching the note. This is what this test does, a fetch making 
sure that the filter by the
organizations is not done.
The class DatasourceTestUtil has been modified for the correct performance of 
the testRemoveNotes.
        src-test/src/org/openbravo/test/datasource/TestNoteDatasource.java
        src-test/src/org/openbravo/test/AllWebserviceTests.java
        src-test/src/org/openbravo/test/datasource/DatasourceTestUtil.java

    Naroa Iriarte <[email protected]> null
    Fixed issue 29064:There are problems with the organization of the notes.

There were two problems:
First: When a note was created, it had context organization instead of document 
organization.
To fix this, a new field which stores the note's organization has been created 
in the "ob-view-form-notes.js".
Second: If a note was added with an organization and after that the 
organization of the note
was changed, there were problems to handle it.
A new manual datasource has been created for handling the fetch,add and remove 
operations of the notes,
making sure that the organization filter is disabled. So, we grant the fact 
that if a user of one
organization creates a note and after that the organization of the note is 
changed to another one which
the user has not access, the user will be able to see or delete the note.
        
modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/NoteDataSource.java
        
modules/org.openbravo.client.application/src-db/database/sourcedata/OBSERDS_DATASOURCE.xml
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/FormInitializationComponent.java
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form-notes.js
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
        
modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/DefaultDataSourceService.java
        
modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java




Last 20 lines of the console output:

[...truncated 8774 lines...]
    [junit] 
    [junit] Error: 
    [junit] Apr 22, 2015 8:57:40 PM org.openqa.selenium.remote.Augmenter 
extractRemoteWebDriver
    [junit] WARNING: Augmenter should be applied to the instances of 
@Augmentable clases or previously augmented instances only
    [junit] 

BUILD FAILED
/srv/ci/workspace/int-basic-pgsql/SANDBOX/automation/pi/src-test/com/openbravo/test/integration/erp/testsuites/smoke/build.xml:39:
 The following error occurred while executing this line:
/srv/ci/workspace/int-basic-pgsql/SANDBOX/automation/pi/src-test/com/openbravo/test/integration/erp/testsuites/smoke/sales/build.xml:30:
 The following error occurred while executing this line:
/srv/ci/workspace/int-basic-pgsql/SANDBOX/automation/pi/src-test/com/openbravo/test/integration/erp/testsuites/smoke/sales/build.xml:48:
 The following error occurred while executing this line:
/srv/ci/workspace/int-basic-pgsql/SANDBOX/automation/pi/build.xml:71: Test 
com.openbravo.test.integration.erp.testsuites.smoke.sales.SALc_GenerateInvoice 
failed

Total time: 23 minutes 47 seconds
Build step 'Execute managed script' marked build as failure
Recording test results
Archiving artifacts
Checking \] ERROR|\] WARN
Email was triggered for: Failure
Sending email for trigger: Failure
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to