int-basic-pgsql - Build # 876 - Fixed:
Check console output at https://ci.openbravo.com/job/int-basic-pgsql/876/ 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
Changes for Build #876
Carlos Aristu <[email protected]> null
fixes issue 29661: Date filters not cleared after switch between saved views
Date filters were not cleared properly when switching between saved views that
contains a filter on the same date field.
To solve this problem the range is now cleared before applying the criteria
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-minidaterange.js
Carlos Aristu <[email protected]> null
fixes issue 29594: ShowAcct preference not working on 2nd level accounting
tabs
The ShowAcct preference value was not being retrieved properly in child tabs in
the addChildView method, because the windowId was undefined.
This is because windowId is only set for the top view in the hierarchy. Now the
problem is solved because the windowId value is retrieved using the reference
to the standard window.
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
Last 20 lines of the console output:
[...truncated 21227 lines...]
Total time: 2 seconds
executing script 'Tomcat stop'
[int-basic-pgsql] $ /bin/bash /tmp/build_step_template905084636329951915.sh
ENABLE
DEBUG: Tomcat stop called with parameters: ENABLED=ENABLE
* Stopping Tomcat servlet engine for Openbravo tomcat
...done.
executing script 'Check log'
[int-basic-pgsql] $ /bin/bash /tmp/build_step_template1539794942502020633.sh
ENABLE
DEBUG: Check log called with parameters: ENABLED=
Check log: openbravo.log is clean
Recording test results
Archiving artifacts
Checking \] ERROR|\] WARN
Email was triggered for: Fixed
Trigger Success was overridden by another trigger and will not send an email.
Sending email for trigger: Fixed
------------------------------------------------------------------------------
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