Skip to content

TER REST API throws exception on TYPO3 version although the version is given

When uploading the Extension "access_keys" via tailor the API throws an exception that no full version for TYPO3 Core is given although a version is given.

Uploading manually into the TER works.

Exception

array (
  0 => '{"status":400,"code":1604923182,"error":"invalid_request","error_description":"No full version for TYPO3 Core given."}',
)

The exeception seems to be generated here:

https://git.typo3.org/services/t3o-sites/extensions.typo3.org/ter/-/blob/develop/extensions/ter_rest/Classes/Service/Extension/VersionService.php#L313

em_conf.php

The full em_conf.php is:

https://gitlab.com/codingms/typo3-public/access_keys/-/blob/main/ext_emconf.php

<?php

$EM_CONF['access_keys'] = [
    'title' => 'Access-Keys for Backend',
    'description' => '',
    'category' => 'backend',
    'author' => 'Thomas Deuling',
    'author_email' => 'typo3@coding.ms',
    'state' => 'alpha',
    'internal' => '',
    'uploadfolder' => '0',
    'createDirs' => '',
    'clearCacheOnLoad' => 0,
    'version' => '1.0.1',
    'constraints' => [
        'depends' => [
            'typo3' => '10.4.0-11.5.99',
        ],
        'conflicts' => [
        ],
        'suggests' => [
        ],
    ],
];