OrchardCMS / OrchardCore

Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
https://orchardcore.net
BSD 3-Clause "New" or "Revised" License
7.34k stars 2.37k forks source link

Flow part #7093

Open leGenti opened 3 years ago

leGenti commented 3 years ago

Hi everyone,

I have a weird issue:

My flow part is enabled, but it isn't showing when I want to add a part to a Content Type.

Anyone else had this issue?

Thanks in advance,

Genti

Schermopname (20) Schermopname (19)

jasondalycan commented 3 years ago

Same issue here. Any way to resolve this?

Skrypt commented 3 years ago

Which version of OC you guys are using because I can't repro in latest dev branch.

jasondalycan commented 3 years ago

I'm using the master branch cloned from Github (built the OrchardCore.Cms.Web project using the dotnet core command line).

ns8482e commented 3 years ago

This could happen only if you have ever deleted FlowPart from Admin UI

jasondalycan commented 3 years ago

I just set it up as a fresh, new install. Performed the following steps:

Then when creating a custom content type right after this I can't add the flow part as a content part (the option isn't available, same as @leGenti experienced above).

ns8482e commented 3 years ago

@jasondalycan I can't reproduce with dev

FlowPart won't show in the list if it's already added to Content Type or Attachable is changed false

Lawyerson commented 3 years ago

I have witnessed the same thing with a clean install of RC2 from source using the default recipe. No FlowPart or BagPart to be seen anywhere after enabling the feature. My guess would be that some dependency is missing if you start from a totally blank slate, but I didn't have the opportunity to investigate unfortunately.

sebastienros commented 3 years ago

So far everyone who has reproduced it was on master or Nuget rc2. Can one of you confirm that you can't repro on the dev branch or the nightly feed?

leGenti commented 3 years ago

Hi Sebastien,

I would like to answer your question, but I don't understand what you're asking. I'm sorry, i just finished a course where we learned alot in a short period so everything was very shallow and some things are still a mystery.

I forked the source code from github https://github.com/OrchardCMS/OrchardCore and I cloned it using my terminal. I set up the site and I chose the agency theme.

jasondalycan commented 3 years ago

Interesting that when I use the Orchard Core code generation tool (vs. cloning the master branch from GitHub) this issue is not present. Perhaps the Orchard version used by the code generation tool does not have this bug: 1.0.0-rc2-13450. So it appears that 1.0.0-rc2-13450 (where the bug is not resident) differs in this manner from the GitHub master branch.

hishamco commented 3 years ago

@leGenti Seb means can you reproduce the issue in the dev branch after you cloned the repo or if you are using the nightly feed not NuGet one

I forked the source code from github https://github.com/OrchardCMS/OrchardCore and I cloned it using my terminal. I set up the site and I chose the agency theme.

Is the issue reproducible?

Skrypt commented 3 years ago

Ok so from what I understand the issue is in the master branch which is RC2 without all the latest changes. You guys now need to try with the "dev" branch and let us know if on that branch the issue remains. I tested it on dev branch and I could not repro. If the issue is in the master branch then there is no action required on our part else than closing this issue.