int-checks-oracle - Build # 1293 - Fixed:
Check console output at https://ci.openbravo.com/job/int-checks-oracle/1293/ to
view the results.
Committers since last success:
Changes for Build #1292
Inigo Sanchez <[email protected]> null
Fixed issue 28761: A tab will be empty when the user role has readOnly
access
The problem was that if a user role has readOnly access to a particular tab and
this tab is
opened by using "open on tab", an empty tab is displayed. This problem was
because there was
a invalidate cache between a request to the datasource and receipt of the
answer.
The cache invalidation occurred because refreshContents() were called in
"setReadOnlyMode".
This cache invalidation generated a bad behaviour for displaying the tab.
To check this, It has been obtained a trace of the functions that are invoked.
Briefly, after
each call to the DataSource it must be seen as the data arrives (arrives in
fetchRemoteDataReply())
without invalidating cache. It should be noted, in the first call to
DataSource we can find an
invalidateCache (main problem):
*** 2 *** Run invalidateCache() for isc_OBViewGrid_7. (ResultSet.js)
*** 1 *** Call to DataSource: sendDSRequest for isc_OBViewGrid_7.
(DataSource.js)
*** 2 *** Run invalidateCache() for isc_OBViewGrid_7. (ResultSet.js)
*** 1 *** Call to DataSource: sendDSRequest for isc_OBViewGrid_7.
(DataSource.js)
*** 3 *** Run fetchRemoteDataReply() for isc_OBViewGrid_7. (ResultSet.js).
It has been detected that the cache is invalidated. (ResultSet.js)
*** 3 *** Run fetchRemoteDataReply() for isc_OBViewGrid_7. (ResultSet.js)
To avoid this problem, it has been deleted method refresContent() in method
setReadOnlyMode() because
it was not necessary. This action avoids the invalidation of the cache.
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
Changes for Build #1293
Augusto Mauch <[email protected]> null
Fixes issue 28985: Grid columns can be frozen
In this changeset [1], a function named fieldIsVisible was added to the
OBViewGrid class, to control if a field was actually visible in the grid. The
problem was that there was actually a function defined with that same name in
the Smartclient's DataBoundComponent class, which is an OBViewGrid ancestor.
This means that the fieldIsVisible function implemented in [1] is overwriting
the original implementation, and this was not intended.
The fieldIsVisible function is invoked when a grid column is frozen, that is
why the change made in [1] has created the current issue. To fix it, the name
of OBViewGrid.fieldIsVisible function has been renamed to fieldIsVisibleInGrid.
It has been checked that there is no function defined with that name in any
OBViewGrid ancestor class.
[1] https://code.openbravo.com/erp/devel/pi/rev/25794
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
Last 20 lines of the console output:
[...truncated 11837 lines...]
[ "$(jps | grep Bootstrap || true)" != "" ] && echo "Tomcat has fail to stop"
&& exit 1 || true
[ "$i" != "0" ] && secs=$(echo "$i * 5" | bc) && echo "Waiting for $secs secs
for tomcat to stop"
echo
fi
[int-checks-oracle] $ /bin/bash -xe /tmp/hudson8370188803714727448.sh
++ grep Bootstrap
++ jps
++ true
+ '[' '' '!=' '' ']'
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 1
Archiving artifacts
Checking ERROR|syntax error at or near|SQL error in query
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
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds