diff --git a/CHANGELOG.md b/CHANGELOG.md index 133d4fb7..56e9ce3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,20 +9,24 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [1.4.4 - 2023-12-xx] +### Added + +- Added ability for `requestToExApp` and `aeRequestToExApp` methods, to send `multipart` requests. #168 + ### Fixed -- invalid default Nextcloud URL, incorrect url with slash at the end processing. #169 +- Processing of invalid default Nextcloud URL/incorrect url with slash at the end. #169 +- `occ app_api:app:register` error message in case of missing deploy of ExApp. #172 ## [1.4.3 - 2023-12-18] ### Added -- links to new apps that uses AppAPI. #158 -- added ability for `requestToExApp` and `aeRequestToExApp` methods, to send `multipart` requests. #168 +- Links to new apps that uses AppAPI. #158 ### Fixed -- invalid timeout condition check for `/init` endpoint. #155 +- Invalid timeout condition check for `/init` endpoint. #155 ## [1.4.2 - 2023-12-13] diff --git a/lib/Command/ExApp/Register.php b/lib/Command/ExApp/Register.php index 70f9b5cd..7a1c6827 100644 --- a/lib/Command/ExApp/Register.php +++ b/lib/Command/ExApp/Register.php @@ -72,6 +72,10 @@ protected function execute(InputInterface $input, OutputInterface $output): int if ($daemonConfig->getAcceptsDeployId() === $this->dockerActions->getAcceptsDeployId()) { $exAppInfo = $this->dockerActions->loadExAppInfo($appId, $daemonConfig); + if (array_key_exists('error', $exAppInfo)) { + $output->writeln(sprintf('%sDid application was deployed before registration?', $exAppInfo['error'])); + return 2; + } } elseif ($daemonConfig->getAcceptsDeployId() === $this->manualActions->getAcceptsDeployId()) { $exAppJson = $input->getOption('json-info'); if ($exAppJson === null) {