Skip to content

Comment creation error in 5th level #14033

@andreslucena

Description

@andreslucena

Describe the bug

As a participant, if I go to a page with Comments (as Proposal), and I reply to the reply of a reply of a reply then I have an error.

To Reproduce

  1. Sign in as a participant
  2. Go to a proposal page
  3. Reply a comments' reply
  4. Reply to your reply
  5. Reply to the last reply
  6. See the error

Expected behavior

I should not have the option for replying in the last depth

Screenshots

Image

Stacktrace

No response

Extra data

  • Decidim Version: 0.30.0.dev
  • Decidim installation: Nightly

Additional context

This is probably passing the MAX_DEPTH variable in the comments:

This was probably introduced on #13205

We should add a spec for this too

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions