int-initial-oracle - Build # 2902 - Fixed: Check console output at https://ci.openbravo.com/job/int-initial-oracle/2902/ to view the results.
Committers since last success: Changes for Build #2901 No changes Changes for Build #2902 Carlos Aristu <carlos.ari...@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 69494 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-initial-oracle] $ /bin/bash -xe /tmp/hudson7292285350225304510.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
_______________________________________________ Openbravo-builds mailing list Openbravo-builds@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-builds