Mon, 29 Oct 2018 13:29:20 +0000Update AD_MODULE version to 3.0PR18Q3.2 3.0PR18Q3.2
RM packaging bot <staff.rm@openbravo.com> [Mon, 29 Oct 2018 13:29:20 +0000] rev 34939
Update AD_MODULE version to 3.0PR18Q3.2

Wed, 24 Oct 2018 10:31:04 +0200fixed bug 39521: false local changes positive restoring PG 9.3 dump on PG 10
Asier Lostalé <asier.lostale@openbravo.com> [Wed, 24 Oct 2018 10:31:04 +0200] rev 34938
fixed bug 39521: false local changes positive restoring PG 9.3 dump on PG 10

After restoring in PG 10 a DB dump taken in PG 9.3, first update.database run
incorrectly detects local changes.

This was caused by many new functions added in PG 10 to trigram extension, those
functions were unnecessarily included in the model checksum used to check if
there are local changes.

Now those functions are excluded: as dbsm only supports plsql functions, we now
filter out all the ones implemented by binary code, which is how typically
extension functions are implemented.

Thu, 18 Oct 2018 12:33:14 +0200Related to issue 39446. Change to comply with Java7
Antonio Moreno <antonio.moreno@openbravo.com> [Thu, 18 Oct 2018 12:33:14 +0200] rev 34937
Related to issue 39446. Change to comply with Java7

Thu, 18 Oct 2018 10:31:32 +0200Related to issue 39446. Backport hasNoConnections method.
Antonio Moreno <antonio.moreno@openbravo.com> [Thu, 18 Oct 2018 10:31:32 +0200] rev 34936
Related to issue 39446. Backport hasNoConnections method.

Thu, 18 Oct 2018 10:30:27 +0200Related to issue 39446. Backout hasNoConnections method implementation, will be replaced by a Java7 compliant version
Antonio Moreno <antonio.moreno@openbravo.com> [Thu, 18 Oct 2018 10:30:27 +0200] rev 34935
Related to issue 39446. Backout hasNoConnections method implementation, will be replaced by a Java7 compliant version

Thu, 18 Oct 2018 09:43:51 +0200Related to issue 39446. Improved comment and log.
Antonio Moreno <antonio.moreno@openbravo.com> [Thu, 18 Oct 2018 09:43:51 +0200] rev 34934
Related to issue 39446. Improved comment and log.

Thu, 18 Oct 2018 09:43:32 +0200Fixed issue 39446 The terminal does not go to offline mode if the database is colapsed but the tomcat works
Antonio Moreno <antonio.moreno@openbravo.com> [Thu, 18 Oct 2018 09:43:32 +0200] rev 34933
Fixed issue 39446 The terminal does not go to offline mode if the database is colapsed but the tomcat works
> When there is an exception in the critical part of the HttpSecureAppServlet which tries to detect if the client is authenticated, we should not necessarily force a logout and reply with '401- Not authenticated' response. Instead, the appropriate action is to just return a '500-Internal Server Error' response. Logging out in this case may kill a valid request when the server is temporarily overloaded, and makes no sense, and the 401 response may confuse the client, thinking that it needs to do login again when in reality, the problem is just that the server is either overloaded, or affected by some serious problem which prevents even basic authentication checking to work.

Thu, 18 Oct 2018 09:39:16 +0200Related to issue 39446. Backport hasNoConnections method.
Antonio Moreno <antonio.moreno@openbravo.com> [Thu, 18 Oct 2018 09:39:16 +0200] rev 34932
Related to issue 39446. Backport hasNoConnections method.

Tue, 16 Oct 2018 09:29:38 -0400Fixes issue 39455: "Create Lines From" on Goods Receipt not working properly
Mark <markmm82@gmail.com> [Tue, 16 Oct 2018 09:29:38 -0400] rev 34931
Fixes issue 39455: "Create Lines From" on Goods Receipt not working properly
when using Alternate UOM

Was taking as the AUM Qty the original value from the line instead of the value
defned on the P&E, this way if the value is changed, for instance for partiall receipts
then the process will create a line with the selected quantity instead of the entire
quantity of the original line wich is creating from.

Mon, 08 Oct 2018 13:10:27 +0200Fixes issue 39413: Prevents unintended formitem value change if focus changes
Augusto Mauch <augusto.mauch@openbravo.com> [Mon, 08 Oct 2018 13:10:27 +0200] rev 34930
Fixes issue 39413: Prevents unintended formitem value change if focus changes

There was a problem in this redraw function [1]. It did the following:
1) Get the value of the focused item (this.getFocusItem().getValue())
2) Redraw the form (this.Super('redraw', arguments);)
3) Restore the value of the focused item if the value changed during the redraw (this.getFocusItem().setElementValue(focusItemValue);)

The problem was that under some circumstances the focusedItem itself changed during the redraw, so the form items returned by this.getFocusItem()
in steps 1) and 3) are different, and the value from one form item was copied into another form item.

This problem has been fixed by storing in a variable the focused form item before the step 1), and the use that reference in the rest of the
function instead of reinvoking this.getFocusItem()

[1] https://code.openbravo.com/erp/devel/pi/file/tip/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js#l2157