TMDM-7629: fix bug related to last portlet unavailbe(matching), where needs to save portal configs into db
Merge branch 'maintenance/5.6'