Recipe not downloading packages from the new Orchard Gallery #7353

Closed
mroskamp opened this Issue Oct 25, 2016 · 4 comments

Projects

None yet

2 participants

@mroskamp
Contributor
mroskamp commented Oct 25, 2016 edited

I recently updated my DefaultPackageUpdater to point at the new Gallery (since the old one wasn't redirecting), but cooking my site with a recipe that includes a module from the gallery fails.

I've been debugging this and it seems that ModuleRecipeHandler (via <Module packageId="module1" [repository="somerepo"] version="1.1" />) checks if the module is already installed. This check thinks that the module is installed, even though the package hasn't been downloaded (it doesn't exist in Orchard.Web\Modules). But, since the handler thinks the module is installed, then it skips the download, which causes feature enable to fail, since the module doesn't exist on disk.

If I remove the ModuleAlreadyInstalled check and run my recipe, then the site cooks properly.

I ran feature list both before and after cooking my recipe, and neither listed the modules I'm trying to include from the gallery.

@sebastienros sebastienros added this to the Orchard 1.10.2 milestone Oct 27, 2016
@sebastienros
Member

We need a redirection from the old feed url to the new one.

@sebastienros
Member

What version are you using?

@mroskamp
Contributor

I'm on v1.9.2.

I manually set DefaultPackageUpdater to point at the new feed URL and that's when the ModuleAlreadyInstalled check failed. Before changing the feed URL the install threw an exception before getting to the ModuleAlreadyInstalled check

@sebastienros sebastienros added a commit to OrchardCMS/Orchard.Gallery that closed this issue Jan 3, 2017
@sebastienros sebastienros Fixing <Module> step queries support 39fefe0
@sebastienros
Member

This was an issue with the gallery. This should work now without any changes in your code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment