Skip to content

MyRedaxo: add fallback for failed package requests#162

Draft
bloep wants to merge 2 commits intomasterfrom
package
Draft

MyRedaxo: add fallback for failed package requests#162
bloep wants to merge 2 commits intomasterfrom
package

Conversation

@bloep
Copy link
Member

@bloep bloep commented Mar 29, 2023

fixes #160

GET https://www.redaxo.org/de/ws/packages/multinewsletter/

{
    "error": "Die package.yml fehlt!"
}

Es gibt Versionen ohne package.yml weshalb das parsing der YAML im Webservice fehlschlägt.
Als Fallback nutzen wir die normale packages list.

@AWqxKAWERbXo
Copy link
Contributor

Ich wollte eben redactor updaten und hatte den Fehler in #160, da es das redactor-Addon auch für R4 gibt (und damit keine package.yml)

Ist dieser Fix bereit, gemerged zu werden?

@AWqxKAWERbXo AWqxKAWERbXo added bug Something isn't working question Further information is requested labels Dec 26, 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 question Further information is requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error: TypeError: Cannot convert undefined or null to object

2 participants