Repository navigation
Fix totally broken AppStore code... - #14722
Merged
Merged
Conversation
As it turned out the AppStore code was completely broken when it came from apps delivered from the appstore, this meant: 1. You could not disable and then re-enable an application that was installed from the AppStore. It simply failed hard. 2. You could not disable apps from the categories but only from the "Activated" page 3. It did not show the activation state from any category page This code is completely static and thus testing it is impossible. We really have to stop with "let's add yet another feature in already existing static code". Such stuff has to get refactored first. That said, this code works from what I can say when clicking around in the AppStore page GUI. However, it may easily be that it does not work with updates or whatsever as I have no chance to test that since the AppStore code is not open-source and it is impossible to write unit-tests for that. Fixes #14711
Contributor
Author
|
@PVince81 @nickvergessen THX. |
Contributor
Author
|
To test this you probably need to decrement the ownCloud version to 8.0.0 in |
|
The inspection completed: 2 new issues, 2 updated code elements |
|
Refer to this link for build results (access rights to CI server needed): |
Contributor
|
👍 Tested as follows:
|
Contributor
|
👍 |
LukasReschke
added a commit
that referenced
this pull request
Mar 6, 2015
Fix totally broken AppStore code...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As it turned out the AppStore code was completely broken when it came from apps delivered from the appstore, this meant:
This code is completely static and thus testing it is impossible. We really have to stop with "let's add yet another feature in already existing static code". Such stuff has to get refactored first.
That said, this code works from what I can say when clicking around in the AppStore page GUI. However, it may easily be that it does not work with updates or whatsever as I have no chance to test that since the AppStore code is not open-source and it is impossible to write unit-tests for that.
Fixes #14711