Repository navigation
[stable8] Fix totally broken AppStore code… - #14719
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
There was a problem hiding this comment.
Remark: No idea if that works on OCI or not. Let's see…
Contributor
Author
There was a problem hiding this comment.
(has unit-tests below)
Contributor
Contributor
|
Steps I tried:
Works. |
|
Refer to this link for build results (access rights to CI server needed): |
Contributor
|
👍 |
Contributor
|
looks fine and seems to be the right fix. 👍 |
karlitschek
added a commit
that referenced
this pull request
Mar 5, 2015
[stable8] Fix totally broken AppStore code…
Contributor
Author
|
Found some way to not pollute the public API. Refining PR coming… |
Contributor
Author
|
Removes the public API parts: #14721 |
Contributor
Author
|
This will also fix OCI which is broken atm due to the awesome fact that the PRs are not tested against OCI… |
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
Disclaimer: All the fame belongs to @PVince81 and @nickvergessen . I only fixed the bug, they pointed out the actual problem… So this goes to their 🍺-count.