Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong placement is applied #15166

Closed
lampersky opened this issue Jan 25, 2024 · 1 comment · Fixed by #15174
Closed

wrong placement is applied #15166

lampersky opened this issue Jan 25, 2024 · 1 comment · Fixed by #15174
Labels

Comments

@lampersky
Copy link
Contributor

Using OrchardCore.Placement module, I've created a placement and then remove it, but I'm still getting some placement applied. Looks like old cached value. I would expect the original value from placement.json file.

Steps to reproduce:

  • create new content type PlacementTest,
  • go to content item editor of that type and check if default placement is applied, by default I mean this one from OrchardCore.Contents placement.json,
  • create new placement via AdminUI with shape type Content_PublishButton:
{
  "place": "-",
  "displayType": "Edit",
  "contentType": [ "PlacementTest" ]
}
  • check if it is applied correctly, save button shouldn't be visible,
  • remove previously created placement,
  • check if is not applied anymore, save button should be visible again.

/cc: @sebastienros @ns8482e

@microposmp
Copy link
Contributor

I've tried to figure out the reason for this issue and found some other side effects. When the placement for the content type "PlacementTest" in the example above was resolved once it would resolve the placement hiding the publish button for all content types.

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 a pull request may close this issue.

2 participants