Commit 93c73799 authored by Tomas Norre Mikkelsen's avatar Tomas Norre Mikkelsen

Merge branch '37-add-extension-key-to-error-message-in-soap-extension-upload' into 'master'

[TASK] Adds extension key into error message of not found extension key

Closes #37

See merge request !25
parents d1e7b1e7 76ba1940
......@@ -144,7 +144,7 @@ class tx_ter_api
$uploadUserRecordArr = $this->helperObj->getValidUser($accountData);
$extensionKeyRecordArr = $this->helperObj->getExtensionKeyRecord($extensionKey);
if ($extensionKeyRecordArr == false) {
throw new tx_ter_exception_notFound('Extension does not exist.', TX_TER_ERROR_UPLOADEXTENSION_EXTENSIONDOESNTEXIST);
throw new tx_ter_exception_notFound('Extension "' . $extensionKey . '" does not exist.', TX_TER_ERROR_UPLOADEXTENSION_EXTENSIONDOESNTEXIST);
}
if (strtolower($extensionKeyRecordArr['ownerusername']) !== strtolower(
$accountData->username
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment