WSOD AssertionError: assert(!$data instanceof ComponentInputsMapping) in assert() when requesting tmgmt translation job
I went to try Canvas 1.7.0 translation today with a brand new install of Drupal CMS Haven. I don't think the issue is due to Haven, so submitting here.
I think previously this config form had separate settings under the components for the tree and inputs but that is not an option that I have for some reason, so this is how I have it set up.
{width="755" height="600"}
I have `canvas_dev_translation` enabled and `content|config|interface translation` and various `tmgmt` modules. Happy to list those if needed. Canvas has a language list at the top of the page since I have more than one language. There is no UI to create page translations inside Canvas and no link that leads to anywhere to translate, but I think that is expected:
{width="841" height="600"}
I believe the official way to translate pages is to to go `admin/tmgmt/sources`, pick the pages I want translated and use the `Add to cart` button here:
{width="841" height="600"}
I believe then the next step is to go to the `Cart` and create a translation job, right? This page:
{width="841" height="600"}
When I go there and pick Hungarian and hit `Request translation` though I get this WSOD:
The website encountered an unexpected error. Try again later.
_AssertionError_: assert(!$data instanceof ComponentInputsMapping) in _assert()_ (line _277_ of _modules/contrib/canvas/src/Tmgmt/ComponentInputsTranslatablesExtractor.php_).
```
Drupal\canvas\Tmgmt\ComponentInputsTranslatablesExtractor::isComponentInstanceInputs() (Line: 243)
Drupal\canvas\Tmgmt\ComponentInputsTranslatablesExtractor->extractTranslatablesOptionallyIncludingEmpty() (Line: 59)
Drupal\canvas\Tmgmt\ComponentInputsTranslatablesExtractor->extractTranslatables() (Line: 98)
Drupal\canvas\Tmgmt\ComponentTreeFieldProcessor->extractTranslatableData() (Line: 276)
Drupal\tmgmt_content\Plugin\tmgmt\Source\ContentEntitySource->extractTranslatableData() (Line: 185)
Drupal\tmgmt_content\Plugin\tmgmt\Source\ContentEntitySource->getData() (Line: 437)
Drupal\tmgmt\Entity\JobItem->getSourceData() (Line: 1060)
Drupal\tmgmt\Entity\JobItem->recalculateStatistics() (Line: 222)
Drupal\tmgmt\Entity\JobItem->preSave() (Line: 582)
Drupal\Core\Entity\EntityStorageBase->doPreSave() (Line: 882)
Drupal\Core\Entity\ContentEntityStorageBase->doPreSave() (Line: 537)
Drupal\Core\Entity\EntityStorageBase->save() (Line: 844)
Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (Line: 371)
Drupal\Core\Entity\EntityBase->save() (Line: 385)
Drupal\tmgmt\Entity\Job->addItem() (Line: 176)
Drupal\tmgmt\Form\CartForm->submitRequestTranslation() (Line: 108)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 45)
Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 620)
Drupal\Core\Form\FormBuilder->processForm() (Line: 145)
Drupal\autosave_form\Form\AutosaveFormBuilder->processForm() (Line: 343)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 98)
Drupal\autosave_form\Form\AutosaveFormBuilder->buildForm() (Line: 73)
Drupal\Core\Controller\FormController->getContentResult()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->{closure:Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::wrapControllerExecutionInRenderContext():121}() (Line: 638)
Drupal\Core\Render\Renderer::{closure:Drupal\Core\Render\Renderer::executeInRenderContext():638}()
Fiber->resume() (Line: 653)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->{closure:Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::onController():96}() (Line: 183)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 30)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 118)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 92)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 61)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 54)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 753)
Drupal\Core\DrupalKernel->handle() (Line: 35)
Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run() (Line: 32)
require('/var/www/html/vendor/autoload_runtime.php') (Line: 22)
require_once('/var/www/html/web/autoload_runtime.php') (Line: 13)
```
issue