Form EntityLegalDocumentForm uses an invalid formValidate callback

Created on 10 July 2021, about 3 years ago
Updated 23 April 2023, over 1 year ago

Steps to reproduce

  1. enable the "drupal/entity_legal:^3.0@beta" module on a "drupal/core:9.x" site
  2. "path" and "path_alias" modules are also enabled.
  3. go to "/admin/structure/legal/manage/*" (edit form of an entity_legal_document)
  4. press the "Save" button
  5. Actual result:
        Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'Drupal\path\Plugin\Field\FieldWidget\PathWidget' not found or invalid function name Drupal\Core\Form\FormValidator->doValidateForm()(/.../core/lib/Drupal/Core/Form/FormValidator.php:280).
    
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'validateFormElement' not found or invalid function name Drupal\Core\Form\FormValidator->doValidateForm() (/.../core/lib/Drupal/Core/Form/FormValidator.php:280).
      

Very likely the ./src/Form/EntityLegalDocumentForm.php#L314 line causes the problem.

πŸ› Bug report
Status

Closed: duplicate

Version

3.0

Component

Code

Created by

πŸ‡­πŸ‡ΊHungary Sweetchuck Budapest

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024