Symptoms

  1. When trying to enter value (e.g. when creating a credit memo) with thousands separator (for example 5,000) the following error appears:

    One or more required fields are empty or filled incorrectly, please try again.
    
  2. Resource limit can not be adjusted in the upgarde wizard in CCP (Buy additional resources). On pressing + or - the current limit is not changed.

  3. Some links are missing under specific locale, for example "Generate" link for password generation during account creation. In error console of the browser the following error can be seen:

    Cannot read property '[some property]' of undefined.
    

Cause

Incorrect permissions of /usr/local/bm/conf/html/js/fValidate.{locale}.js files:

    # ls -lath /usr/local/bm/conf/html/js/fValidate*
    -rw-r--r-- 1 pba  apache 8.4K Nov 26 11:29 /usr/local/bm/conf/html/js/fValidate.es.js
    -rw-r--r-- 1 pba  apache 8.4K Nov 26 11:28 /usr/local/bm/conf/html/js/fValidate.ru.js
    -rw-r--r-- 1 pba  apache 9.2K Nov 26 11:16 /usr/local/bm/conf/html/js/fValidate.de.js
    -rw-r--r-- 1 root root   8.4K Nov 22 05:05 /usr/local/bm/conf/html/js/fValidate.en.js
    -rw-r--r-- 1 root root   8.4K Nov 21 11:22 /usr/local/bm/conf/html/js/fValidate.nl.js

Correct permissions are pba:apache.

The issue is reported to the developers team in the internal request #PBA-53318.

Resolution

  1. Move the files with 'root' owner and files with non-existing locale (e.g. to tmp folder).
  2. Restart www container:

    /etc/init.d/pba restart www
    
  3. Clean the browser cache.
  4. Access the control panel under locale where problem occured, make sure the issue is not reproducible anymore.

Internal content