Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] deepl:glossary:list <glossary_id> throws exception #312

Closed
chroenmeister opened this issue Dec 19, 2023 · 0 comments
Closed

[BUG] deepl:glossary:list <glossary_id> throws exception #312

chroenmeister opened this issue Dec 19, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@chroenmeister
Copy link

Describe the bug
vendor/bin/typo3 deepl:glossary:list [<glossary_id>] throws exception

Uncaught TYPO3 Exception explode() expects parameter 2 to be string, null given
thrown in file [...]public/typo3conf/ext/wv_deepltranslate/Classes/Service/DeeplGlossaryService.php
in line 165

To Reproduce

  • filled glossary with entries
  • "vendor/bin/typo3 deepl:glossary:list " to get the <glossary_id> of a single glossary
  • "vendor/bin/typo3 deepl:glossary:list [<glossary_id>]"

Expected behavior
want to see my entries

Screenshots

TYPO3 Setup

  • TYPO3 Version
    v11.4 with wv_deepltranslate v3.0.5
  • Server (Apache-cgi/Apache-fpm/nginx-fm/other)
  • Database type and version (SQLite/Postgres/MariaDB/MySQL)
  • PHP version
    7.4.33
  • DeepL free or paid API?
    paid
  • composer or classic setup?
    composer

Additional context
It seems that the returned data isnt in json Format anymore.
I got something like
"Entry1EN Entry1ES
Entry2EN Entry2ES"

@chroenmeister chroenmeister added the bug Something isn't working label Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants