When submitting the Clone form with only the value for the Type field, the form is crashing into a fatal error.
- Access the clone form of a paragraph
- Pick a Type
- Reload your page
- The browser should have kept the Type choice and the other choices are disabled
- Submit the form
- It creates a fatal error
Error: Call to a member function get() on null in Drupal\paragraphs_edit\Form\ParagraphCloneForm->save() (line 243 of /app/web/modules/contrib/paragraphs_edit/src/Form/ParagraphCloneForm.php)
- Add some validation on the form to check that the required fields are not empty on the server side
Needs work
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.