int-basic-pgsql - Build # 2762 - Fixed:
Check console output at
https://ci.openbravo.com/job/int-basic-pgsql/2762/ to view the results.
Committers since last success:
Changes for Build #2761
Asier Lostalé <
asier....@openbravo.com> null
fixed bug 40897: broken system if tying to create a ws row with unlimited WS
System became unreacheable after trtying to create/update a record through WS
as first action after Tomcat restart having unlimited WS access license.
This occurred because TreeTablesEventHandler initialization assumed to be in
admin mode. As unlimited access license does not do any DB modification on login,
which is what occurs in standard login and with limited acess licenses, first
flush with dirty entities causes TreeTablesEventHandler init to fail in a
unrecoverable manner.
Now TreeTablesEventHandler is initialized in admin mode to prevent this case.
modules/org.openbravo.client.application/src/org/openbravo/client/application/event/TreeTablesEventHandler.java
Asier Lostalé <
asier....@openbravo.com> null
related to issue 40747: improved comment
src/org/openbravo/service/importprocess/ImportEntryManager.java
Changes for Build #2762
Carlos Aristu <
carlos...@openbravo.com> null
fixes bug 40758: Skip cross org check for image properties
The OBInterceptor has a mechanism (cross org check) that verifies whether the organization of the main entity is in the same natural tree that the organization of the entities referenced by the properties of the main entity. This check is performed every time an entity is update/saved through DAL and it is done before the execution of any event observer.
In the case of this issue, this mechanism was not allowing to save the record because when changing the organization of an entity, if this entity had a property referencing to an AD_Image, the organization of the AD_Image was not being updated accordingly, which could cause the cross org check fail.
To fix this, we are now skipping the cross org check in the OBInterceptor for those properties referencing to an AD_Image record and with the RemoveImagesEventHandler observer, if the org in the main entity is changed, we put exactly the same org in every AD_Image referenced by that entity.
modules/org.openbravo.client.application/src/org/openbravo/client/application/event/RemoveImagesEventHandler.java
src/org/openbravo/base/model/Property.java
src/org/openbravo/dal/core/OBInterceptor.java
Last 20 lines of the console output:
[...truncated 16125 lines...]
[ "$(jps | grep Bootstrap || true)" = "" ] && break
sleep 5
done
[ "$(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-basic-pgsql] $ /bin/bash -xe /tmp/hudson237794342958946557.sh
++ jps
++ grep Bootstrap
++ true
+ '[' '' '!=' '' ']'
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Email was triggered for: Fixed
Trigger Success was overridden by another trigger and will not send an email.
Sending email for trigger: Fixed