Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Placeholder plugin limit erroneously counts deleted plugins. #6019

Open
Assignees
Milestone
@ghost

Description

Summary

When 'limits' is set in CMS_PLACEHOLDER_CONF for particular plugin type within a placeholder, plugins are still counted after deletion. This was tested with limits=1 for a TextPlugin. A plugin was added, then deleted and finally adding another plugin was attempted but failed with a validation error: 'This placeholder already has the maximum number (1) of allowed Text plugins.'

Expected behaviour

Deleted plugins should no longer count toward the allowance of plugins that can be added to a placeholder.

Actual behaviour

After deleting a plugin it still counts toward the limit count.

Environment

  • Python version: 3.5.2
  • Django version: 1.8.18
  • django CMS version: 3.4.4

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    AltStyle によって変換されたページ (->オリジナル) /