Fix installation of packages on Sitecore 8.2u2 and up #6
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.
Sitecore added the ProcessingMode property on Sitecore 8.2 Update-2. This property initializes to ProcessingMode.None and prevents the InstallPackages.aspx page to install any package, without any log to indicate the failure.
This PR fixes the issue. I added a comment to the line because it will not compile on versions of Sitecore older than 8.2u2. The users will quickly see the reason and will remove the line from their copy.
Reflection could be used to avoid the compile problem, but I felt it was too much for this simple page.