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

User able to add items to singleton contenttype #7677

Open
peterboorsma opened this issue Sep 17, 2018 · 3 comments
Open

User able to add items to singleton contenttype #7677

peterboorsma opened this issue Sep 17, 2018 · 3 comments
Labels

Comments

@peterboorsma
Copy link
Contributor

Current behaviour:
If you create a singleton contenttype, a user is able to add more items to that contenttype with the 'Add ..." button on the dashboard page. See attached file.
screen shot 2018-09-17 at 11 21 44

Preferred behaviour:
It should not be possible for a user to add items to a singleton contenttype (hence the 'single' in 'singleton')

Bolt Version 3.5.7

@stale
Copy link

stale bot commented Nov 16, 2018

This issue has been automatically marked as stale because it has not had recent activity. Maybe this issue has been fixed in a recent release, or perhaps it is not affecting a lot of people?
It will be closed if no further activity occurs, because we like to keep the issue queue concise and actual.
If you think this issue is still relevant, please let us know. Especially if you’d like to help resolve the issue, either by helping us pinpointing the cause of a bug, or in implementing a fix or new feature.

@stale stale bot added the stale Stale issues & PRs flagged for closing label Nov 16, 2018
@bobdenotter
Copy link
Member

Keep.

@stale stale bot removed the stale Stale issues & PRs flagged for closing label Nov 16, 2018
@bobdenotter bobdenotter added stale Stale issues & PRs flagged for closing keep labels Nov 16, 2018
@stale stale bot removed the stale Stale issues & PRs flagged for closing label Nov 16, 2018
@melcarthus
Copy link

melcarthus commented Mar 16, 2019

I noticed this to today. I just updated A Bolt website from 3.6.5 to 3.6.6.
You can add a new singletons in 2 ways.

  1. Via dashboard as @peterboorsma mentioned.
  2. Via the green 'save as and create new' option.

image

This means that if you not set your setcontent inside your twig as returnsingle etc your website can break when an extra singleton is created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants