Symptoms

It is possible to delete account information from CCP: Account > Account Settings, because the fields are not set as mandatory.

Cause

The issue described is a bug with id #PBA-58271 ("Customer can remove all his account information in hosting panel").

Resolution

Until the bug is fixed, the fields can be made marked as obligatory for filling with the customization:

  1. Make sure the directory /usr/local/bm/conf/wnd/BM/customization/customization is a symlink to /usr/local/bm/customization:

    # ls -ld /usr/local/bm/conf/wnd/BM/customization/customization
    /usr/local/bm/conf/wnd/BM/customization/customization -> /usr/local/bm/customization
    

    If not, configure it as described in Preparing Container chapter.

  2. Create a customization file /usr/local/bm/customization/CDB_Contact_CDB_UpdateContactInfoPersWin.xml with the content like:

    <window id="CDB_Contact_CDB_UpdateContactInfoPersWin">
      <elements>
        <input type="EMAIL" id="AccountPersEmail" required="yes" />
      </elements>
    </window>
    

    The same required="yes" attribute is to be added to all the elements (the list can be found in the original xml /usr/local/bm/conf/wnd/BM/CDB_Contact_CDB_UpdateContactInfoPersWin.xml

  3. Restart www:

    /etc/init.d/www restart 
    

Internal content