Skip to content

Conversation

@hishamco
Copy link
Member

Addresses #18396

@hishamco hishamco requested a review from Piedone September 22, 2025 22:08
@Piedone
Copy link
Member

Piedone commented Sep 22, 2025

Tying the Setup and Tenants modules to a recipe in a theme seems like a very hackish dependency. This much rather needs a properly architected general solution. See #16229 for ideas. However, I don't think this is too high of a priority now.

@hishamco
Copy link
Member Author

hishamco commented Sep 22, 2025

I have a better solution, but I'd like to keep it simple and allow others to implement SaaS in inner tenants if they need

@Piedone
Copy link
Member

Piedone commented Sep 22, 2025

Then I'd suggest you present that because I don't think this is appropriate to merge.

@hishamco
Copy link
Member Author

BTW there's a flaky tests in Linux I just notice in my last two PRs

@gvkries
Copy link
Member

gvkries commented Sep 23, 2025

I agree with @Piedone, it seems to be a hack. I think we should leave it as it is for now, or strive for a complete solution. For example, we could have something in the recipes that connects it with the default tenant. Quite similar to the mentioned issue.

@hishamco
Copy link
Member Author

I agree with @Piedone, it seems to be a hack

I agree, and I elaborate why. Let us hear @sebastienros feedback, or someone mention it in the triage


if (!_shellSettings.IsDefaultShell())
{
recipes = recipes.Where(r => r.Name != OrchardCoreConstants.Shell.SaasRecipeName);
Copy link
Member

@MikeAlhayek MikeAlhayek Oct 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would use at least use tags instead "not great but works with the same approach we do else where". Someone may have their own default-only recipe. At least with tags we can remove all default-only recipes. We so similar approach in the Recipes admin controller.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 6, 2025

It seems that this pull request didn't really move for quite a while. Is this something you'd like to revisit any time soon or should we close? Please comment if you'd like to pick it up.

@github-actions github-actions bot added the stale label Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants