-
Problem report
-
Resolution: Fixed
-
Trivial
-
3.0.15, 3.4.8, 4.0.0alpha5
-
Sprint 31, Sprint 32, Sprint 33
-
0.5
- have an action with a remote command operation
- open it's properties, switch to the "Operations" tab, click 'edit' for the operation
- click the "Clone" button at the bottom
- click "Update" in the "Operation details" block
- switch to the "Action" tab, modify the name
- click the "Add" button at the bottom
Observe an error like this :
Error in query [INSERT INTO opcommand (type,execute_on,command,operationid) VALUES ('0','1','test command','11')] [Duplicate entry '11' for key 'PRIMARY'] SQL statement execution has failed "INSERT INTO opcommand (type,execute_on,command,operationid) VALUES ('0','1','test command','11')". [actionconf.php:231 ? CFrontendApiWrapper->create() ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? call_user_func_array() ? CAction->create() ? CAction->addOperations() ? DB::insert() ? DB::exception() in include/classes/db/DB.php:468]