Skip to content

Comment-replies are not disabled on locked posts #2071

@blued-gear

Description

@blued-gear

Describe the bug
When an entry is locked, the form to write replies to comments is still available and can be submitted. But the page is just reloaded with the form still open.

On which Mbin instance did you find the bug?
kbin.earth

Which Mbin version was running on the instance?
1.9.1

To Reproduce
Open a locked entry which already has comments and press the "reply" button on one comment. (Top-level comments are disabled as expected.)

Expected behavior
The button should be disabled.

Screenshots
Form appears and can be submitted, but without an effect.

Additional context

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions