int-initial-pgsql - Build # 1166 - Unstable:

Check console output at https://ci.openbravo.com/job/int-initial-pgsql/1166/ to 
view the results.


Committers since last success:

Changes for Build #1166

    Naroa Iriarte <[email protected]> null
    Fixed issue 30940: Create a new record in a form was not working fine.

The problem was that, if you create a new record in form view, and after 
fulfilling the form, you
click in the create a new record in a form button without previously saving the 
firstly created record,
it was not working fine. In Goods Movements lines tab, for example, the value 
of the product chosen in
the first record was shown. That wasn't correct, the product should be empty.

The problem was in the "ob-standard-view-datasource.js" the value map cache was 
being invalidated.

To fix this, some clases have been changed.
In the "ob-standard-view.js" in the "newDocument" function the parameters the 
isNewDocument parameter
has been added and it is set to true.
This parameter is passed to the request for being able to take it in the class 
"ob-standard-view-datasource.js"
and to use it in the logic that invalidates the value map cache.
Now, if this parameter is set to true, the value map cache is not invalidated.
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view-datasource.js
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-window.js




Last 20 lines of the console output:

[...truncated 7245 lines...]
DEBUG: Tomcat stop called with parameters: ENABLED=ENABLE
 * Stopping Tomcat servlet engine for Openbravo tomcat
   ...done.

executing script 'Check log'
[int-initial-pgsql] $ /bin/bash /tmp/build_step_template8467926395229987723.sh 
ENABLE
DEBUG: Check log called with parameters: ENABLED=

Errors in openbravo.log:
b3e0edee 2015-10-14 16:21:55,659 [TP-Processor12] ERROR 
org.openbravo.base.VariablesBase - clearSession error 
java.lang.IllegalStateException: getAttributeNames: Session already invalidated

Recording test results
Archiving artifacts
Checking \] ERROR|\] WARN
/srv/ci/workspace/int-initial-pgsql/SANDBOX/openbravo.log:
b3e0edee 2015-10-14 16:21:55,659 [TP-Processor12] ERROR 
org.openbravo.base.VariablesBase - clearSession error 
java.lang.IllegalStateException: getAttributeNames: Session already invalidated
Build step 'Jenkins Text Finder' changed build result to UNSTABLE
Email was triggered for: Unstable (Test Failures)
Sending email for trigger: Unstable (Test Failures)
------------------------------------------------------------------------------
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to