Release of v3.2.1-alpha2

Add view list and single name fix. Add component code name fix. Add reset list of powers. Fix missing Factory class in plugin. #1102.
This commit is contained in:
2024-04-09 13:07:08 +02:00
parent 94bc92357e
commit 4c7b4f11a4
14 changed files with 142 additions and 42 deletions

View File

@ -1496,6 +1496,12 @@ class ComponentbuilderModelAdmin_view extends AdminModel
{
$data['system_name'] = $data['name_single'];
}
// validate that the list and single view name are not the same
if ($data['name_single'] === $data['name_list'])
{
$data['name_list'] .= '_s';
}
// Set the GUID if empty or not valid
if (empty($data['guid']) && $data['id'] > 0)