Clone
Jacques Le Roux <jacques.le.roux@les7arts.com>
committed
on 05 Feb
Fixed: setUserTimeZone should ran only once based on error (OFBIZ-11329)
This will be notably useful when committing CSRF solution as explai… Show more
Fixed: setUserTimeZone should ran only once based on error (OFBIZ-11329)

This will be notably useful when committing CSRF solution as explained in

OFBIZ-11306:

SetTimeZoneFromBrowser when starting gives a  RequestHandlerException:

Invalid or missing CSRF token for AJAX call to path '/SetTimeZoneFromBrowser'.

Also not only when starting.

Thanks: James Yong for review

(cherry picked from commit 350c71f4df45cbe5671b54e61f74f9a352d78e05)

# Conflicts:

#       framework/common/groovyScripts/SetLocaleFromBrowser.groovy

#       themes/common-theme/webapp/common/js/util/setUserTimeZone.js replaced

by setUserLocale.js modified by hand

I can compile locally but I can see a reason why and certainly not related to

these changes

Show less