int-basic-pgsql - Build # 2071 - Fixed:

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


Committers since last success:

Changes for Build #2070

    Carlos Aristu <carlos.ari...@openbravo.com> null
    fixes bug 36854: Can't see classic tree view without access to 
AD_TAB/AD_TREE
  - The AD_Tab and AD_Tree information is now retrieved using the admin mode
  - The code has been refactored to avoid duplication: now that information is 
retrieved once instead of doing it three times
        src/org/openbravo/erpCommon/utility/WindowTree.java

    Carlos Aristu <carlos.ari...@openbravo.com> null
    related to issue 36854: initial code clean-up
  - Use diamond operator
  - Can use StringBuilder instead of StringBuffer
  - Log error into the log instead of into the standard output
  - Fix typo
        src/org/openbravo/erpCommon/utility/WindowTree.java

Changes for Build #2071

    Augusto Mauch <augusto.ma...@openbravo.com> null
    Fixes issue 36725: Check role write access to organization of parent record

If the current role does not have writable access to the record selected in a 
tab, the user should not be allowed to create records in its subtabs.

Now this is taken into account in order to enable/disable the toolbar buttons 
that create new records, and also in the logic that creates a link to create 
new records in a tab if the gr
id is currently empty.

Now it will not be possible to enter records in a subtab if:
- The subtab has an editable organization field
- The user's role does not have writable access to the organization of the 
record selected in the parent tab.

Now the list of the current role of the user writable organizations is 
available in OB.User.writableOrganizations.
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.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/toolbar/ob-toolbar.js
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/ApplicationDynamicComponent.java
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/templates/application-dynamic-js.ftl

    Carlos Aristu <carlos.ari...@openbravo.com> null
    related to issue 36854: code review improvements
- Do not use getters for the private inner class: use attributes directly
- Do not need to initialize treeId to null
        src/org/openbravo/erpCommon/utility/WindowTree.java




Last 20 lines of the console output:

[...truncated 2539 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/hudson8957863486008118721.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
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-builds mailing list
Openbravo-builds@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to