-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Check for compatible apps from the appstore fails #12358
Conversation
Signed-off-by: Morris Jobke <[email protected]>
Signed-off-by: Joas Schilling <[email protected]>
@@ -153,7 +156,7 @@ | |||
} | |||
|
|||
$.ajax({ | |||
url: OC.linkToOCS('apps/updatenotification/api/v1/applist', 2) + this.newVersionString, | |||
url: OC.linkToOCS('apps/updatenotification/api/v1/applist', 2) + this.newVersion, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error 1: We asked for updates on applist/Nextcloud 15.0.0 beta1
=> 404
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error 3: Even if it gives back a 404 it should not say "Yes all fine", but rather "It can't be detected"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well that is exactly what it does now, after error2 was solved:
Could not connect to the appstore or the appstore returned no updates at all. Search manually for updates or make sure your server has access to the internet and can connect to the appstore.
return t('updatenotification', 'Please make sure your config.php does not set <samp>appstoreenabled</samp> to false.'); | ||
} | ||
|
||
if (this.appstoreFailed) { | ||
if (this.appStoreFailed) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error 2: We checked an undefined argument because of the casing mismatch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sense!! 🦅
Signed-off-by: Morris Jobke <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 since I cant approve my own PR although it has commits from you |
@nickvergessen Failing unit tests 🙈 |
Signed-off-by: Joas Schilling <[email protected]>
based on #12354