Augusto,
Your last commit [1] has broken the API check [2] could you check it?
Regards,
PL
[1] https://code.openbravo.com/erp/devel/pi/rev/d41072c387c4
[2] http://builds.openbravo.com/job/int-api/3959/
On Tue, May 14, 2013 at 6:00 PM, <[email protected]> wrote:
> int-api - Build # 3959 - Failure:
>
> Check console output at http://builds.openbravo.com/job/int-api/3959/ to
> view the results.
>
>
> Committers since last success:
>
> Changes for Build #3959
>
> Augusto Mauch <[email protected]>
> Fixes issue 23801:Inserting several entities in one web service call
> works
>
> It was not possible to insert in a same web service call an entity and one
> child. To support this, the classes DalWebService and EntityResolver have
> been modified. The approach using the lookForTranslatedIDs [1] has been
> reverted. Now, the EntityResolver.resolve method first tries to resolve the
> entity as it used to do it before the regression was introduced, and if it
> does not find the entity then it tries to fetch it using an OBCriteria
> without applying the organization filter, so that this issue [2] is not
> reproduced.
>
> A new function has been created to search for the entity. It accepts a
> boolean that will be used to specify if the organization filter should be
> applied. The old doSearch method calls the new method passing true to this
> flag, so it keeps working as usual.
>
> [1]
> https://code.openbravo.com/erp/devel/pi/rev/8525372a1fce7047ee3baead23e1ddfc208b6dd9
> [2] https://issues.openbravo.com/view.php?id=21716
> src/org/openbravo/dal/xml/EntityResolver.java
> src/org/openbravo/service/rest/DalWebService.java
>
> Augusto Mauch <[email protected]>
> Related to issue 23801: Restore previous resolving mode after
> DALWebService
>
> The original resolving mode of the EntityResolver is
> ResolvingMode.ALLOW_NOT_EXIST. The DalWebService changes it to
> ResolvingMode.MUST_EXIST if the change action is ChangeAction.UPDATE, but
> it never reverts it to its previous mode.
> src/org/openbravo/dal/xml/EntityResolver.java
> src/org/openbravo/service/rest/DalWebService.java
>
>
>
>
> Last 20 lines of the console output:
>
> [...truncated 480 lines...]
> Total: 99.99% good, 0% missing
>
> Error Summary:
> Methods: 1 missing.
>
> Errors:
>
> org.openbravo.dal.xml:
> Missing
> method
> org.openbravo.dal.xml.EntityResolver.setLookForTranslatedIDs(boolean):
> missing in
> /srv/hudson/workspace/int-full-oracle/SANDBOX/api-checks/output/3959
> + failure=1
> + scp -P 19198
> /srv/hudson/workspace/int-full-oracle/SANDBOX/api-checks/output/3959.japi.gz
> [email protected]:/var/www/localhost/htdocs/japi/int/
> + exit 1
> Build step 'Execute shell' marked build as failure
> [locks-and-latches] Releasing all the locks
> [locks-and-latches] All the locks released
> Checking console output
> Email was triggered for: Failure
> Sending email for trigger: Failure
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Openbravo-builds mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openbravo-builds
>
>
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds