department-of-veterans-affairs / va.gov-cms

Editor-centered management for Veteran-centered content.
https://prod.cms.va.gov
GNU General Public License v2.0
97 stars 69 forks source link

Error with Tablefield module #12617

Closed laflannery closed 1 year ago

laflannery commented 1 year ago

Description

There is an error on nodes using the Tablefield module when something is empty - I can't tell if it's when cells are empty or when the caption is empty but it's something.

This is the error:

The website encountered an unexpected error. Please try again later. Error: Class "Symfony\Cmf\Component\Routing\RouteObjectInterface" not found in Drupal\tablefield\Plugin\Field\FieldType\TablefieldItem->isEmpty() (line 219 of modules/contrib/tablefield/src/Plugin/Field/FieldType/TablefieldItem.php).

It's showing at the bottom of the edit node: image

Example node where this is happening: https://vacms-12252-drupal-10-cne7edu0najqzzmwjbq3awbbjcxb40w3.ci.cms.va.gov/node/45209/edit

The table's will not open in the Main content panel. It is instead giving me a console error when I click the edit button to try and open it: image

This is what the table looks like (empty cells, empty caption): image

laflannery commented 1 year ago

Resolved