Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • E extensions.typo3.org
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 79
    • Issues 79
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • services
  • t3o sites
  • extensions.typo3.org
  • extensions.typo3.org
  • Issues
  • #471

Closed
Open
Created Sep 02, 2020 by Mathias Brodala@mbrodalaContributor0 of 1 task completed0/1 task

Upload fails: Wrong parameters for T3o\Ter\Exception\UnauthorizedException

Summary

Uploading an extension to TER using helhum/ter-client fails with an error which indicates an issue on the TER side.

Steps to reproduce

Try to upload an extension using the helhum/ter-client.

What is the current bug behavior?

I get an error which can only come from TER since the mentioned class does only exist in the code of the TER:

Wrong parameters for T3o\Ter\Exception\UnauthorizedException

What is the expected correct behavior?

The extension should be uploaded successfully.

Acceptence Criterias

  • Must be fullfilled

Relevant logs and/or screenshots

$ composer global exec -v -- ter-client upload --username $TYPO3_ORG_USERNAME --password $TYPO3_ORG_PASSWORD --upload-comment "$(git tag -l --format='%(contents)' $TRAVIS_TAG)" $(composer config extra.typo3/cms.extension-key) .
Changed current directory to /home/docker/.composer
> __exec_command: ter-client 'upload' '--username' '<username>' '--password' '<password>' '--upload-comment' '<upload-comment>' '<extension-key>' '.'

In Connection.php line 52:
                                                                               
  Wrong parameters for T3o\Ter\Exception\UnauthorizedException([string $messa  
  ge [, long $code [, Throwable $previous = NULL]]])                           
                                                                               

upload [-u|--username [USERNAME]] [-p|--password [PASSWORD]] [-m|--upload-comment [UPLOAD-COMMENT]] [--wsd-url [WSD-URL]] [--] <extensionKey> <directory>

Script ter-client handling the __exec_command event returned with error code 1

Possible fixes

I checked the TER code but cannot find a possible cause in the current code base. I am not sure if this reflects the latest deployed state though.

Cross-link

Issue for helhum/ter-client: https://github.com/helhum/ter-client/issues/12

Assignee
Assign to
Time tracking