Blesta Addons Posted December 25, 2016 Report Share Posted December 25, 2016 when we want to edit a email group , we get the fallowing error Quote An action by that name already exists. the edit action es like this $this->EmailGroups->edit( $group_id, [ 'action' => $email['action'], 'type' => $email['type'], 'notice_type' => $email['notice_type'], 'plugin_dir' => $email['plugin_dir'], 'tags' => $email['tags'] ] ); from EmailGroups edit function , it always check if "action" is unique, this correct if we want to add new emailgroup, by in edit mode it should check if the "action" belong to the group_id that we should edit it . and when we send the edit command without 'action' it return error of action is required . the rules should be revised to allow edit group_id with new values. activa 1 Quote Link to comment Share on other sites More sharing options...
Jono Posted December 27, 2016 Report Share Posted December 27, 2016 Created CORE-2313 Michael and activa 2 Quote Link to comment Share on other sites More sharing options...
Blesta Addons Posted December 28, 2016 Author Report Share Posted December 28, 2016 can i see the fix ? i need to test it in real case with a custom plugin . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.