Thu, 22 Mar 2018 10:13:32 +0000Update AD_MODULE version to 3.0PR17Q4.2 3.0PR17Q4.2
RM packaging bot <staff.rm@openbravo.com> [Thu, 22 Mar 2018 10:13:32 +0000] rev 33740
Update AD_MODULE version to 3.0PR17Q4.2

Wed, 21 Mar 2018 13:34:05 +0100fixed bug 38191: cannot restore pg dump
Asier Lostalé <asier.lostale@openbravo.com> [Wed, 21 Mar 2018 13:34:05 +0100] rev 33739
fixed bug 38191: cannot restore pg dump

When creating/updating functions in PostgreSQL, explicitily set search_path so
pg_dump + pg_restore is able to execute them in case its needed (ie. in check
constraints or indexes).

First time functions are updated search_path is added. In case function already
has it because of it was added by dbsm or manually, it is not modified, allowing
in this way manual changes to it in case it is required.

In addition, PL functions created in prescript that invoke other functions that
are not in pg_catalog schema do also define search_path.

Tue, 06 Mar 2018 14:10:50 +0100fixed bug 38058: prevents concurrent sessions for same user not working
Asier Lostalé <asier.lostale@openbravo.com> [Tue, 06 Mar 2018 14:10:50 +0100] rev 33738
fixed bug 38058: prevents concurrent sessions for same user not working

When login.limit.user.session is enabled, only one session per named user is
allowed. In case there is another session for the same user that's currently
logging in, a confirmation message appears to tell the user other session will
be cancelled.

After confirmation, login should be completed, but it failed displaying a blank
page.

The problem was caused because instead of resending a POST request to complete
login, a GET without param values was sent to LoginHandler.

Now it is fixed, in case of accepeted confirmation diagog, login will be sent
again.

Fri, 09 Mar 2018 08:37:05 +0100fixes bug 38087: Can't login if the user profile widget data contains apostrophes
Carlos Aristu <carlos.aristu@openbravo.com> [Fri, 09 Mar 2018 08:37:05 +0100] rev 33737
fixes bug 38087: Can't login if the user profile widget data contains apostrophes

The JS object used to populate the user profile widget, was being generated without escaping the data properly which could result in a wrong object definition in case of having special characters like apostrophes (').

To fix this issue we are now using the "js_string" built-in in the .ftl in order to escape the identifiers and labels of the user profile with the escaping rules of the JS language.

Wed, 07 Mar 2018 14:26:09 +0100fixed bug 38069: no view cache in browser for windows with server display logic
Asier Lostalé <asier.lostale@openbravo.com> [Wed, 07 Mar 2018 14:26:09 +0100] rev 33736
fixed bug 38069: no view cache in browser for windows with server display logic

Window having at least a field with server side display logic were not cached
in browser if there was no preference configuring that display logic.

The problem was cuased by an incorrect eTag calculation that if not preference
was set a date in future was set including current hour.

The fix:
* Simplifies eTag calculation for this case: if no preference defined, no need
to add any date.
* Uses for StringBuilder for String concatenation to slightly improve performance

Fri, 23 Feb 2018 14:32:01 +0100Fixes issue 38005. Order Invoice Tax Lines before deleting.
David Miguelez <david.miguelez@openbravo.com> [Fri, 23 Feb 2018 14:32:01 +0100] rev 33735
Fixes issue 38005. Order Invoice Tax Lines before deleting.

The order in which the Invoice Tax Lines are deleted can affect
calculations done by the triggers. They must be deleted
in the correct order.

Wed, 21 Feb 2018 11:56:08 +0100Related to issue 37814: Add missing order by clauses
Javier Armendáriz <javier.armendariz@openbravo.com> [Wed, 21 Feb 2018 11:56:08 +0100] rev 33734
Related to issue 37814: Add missing order by clauses

Wed, 21 Feb 2018 11:20:48 +0100Fixed issue 37814: Support custom error pages
Javier Armendáriz <javier.armendariz@openbravo.com> [Wed, 21 Feb 2018 11:20:48 +0100] rev 33733
Fixed issue 37814: Support custom error pages

Mon, 19 Feb 2018 18:38:44 +0100Fixes Issue 37972. Fixes problem in query that was avoiding to show
David Miguelez <david.miguelez@openbravo.com> [Mon, 19 Feb 2018 18:38:44 +0100] rev 33732
Fixes Issue 37972. Fixes problem in query that was avoiding to show
data for a Purchase Order already Invoiced.

It correctly filters the match_po table to retrieve the quantity
pending to be received

Fri, 16 Feb 2018 09:45:26 +0100Fixes Issue 37970. When completing an Order, if the Quantity ordered
David Miguelez <david.miguelez@openbravo.com> [Fri, 16 Feb 2018 09:45:26 +0100] rev 33731
Fixes Issue 37970. When completing an Order, if the Quantity ordered
is not the same as the Quantity delivered for any line, the flag
isDelivered is set as N.