We were able to update to 2.0.4 on several multi-language websites and use async translation successfully with the provided patch. Thank you!!
We're currently sticking with version 2.0.0-beta9 for this module due to its compatibility with multi-language websites. Newer versions of the module aren't suitable for such websites. Any help would be appreciated.
Works for a node, but when I try the same for a webform file (like for example: `/file/upload/webform/contact/my_file?_format=json`, I get:
The website encountered an unexpected error. Please try again later.<br><br><em class="placeholder">LogicException</em>: Getting the base fields is not supported for entity type Webform. in <em class="placeholder">Drupal\Core\Entity\EntityFieldManager->buildBaseFieldDefinitions()</em> (line <em class="placeholder">226</em> of <em class="placeholder">core/lib/Drupal/Core/Entity/EntityFieldManager.php</em>). <pre class="backtrace">Drupal\Core\Entity\EntityFieldManager->getBaseFieldDefinitions() (Line: 346)
Drupal\Core\Entity\EntityFieldManager->getFieldDefinitions() (Line: 443)
Drupal\file\Plugin\rest\resource\FileUploadResource->validateAndLoadFieldDefinition() (Line: 243)
Drupal\file\Plugin\rest\resource\FileUploadResource->post()
call_user_func_array() (Line: 219)
Drupal\rest\RequestHandler->delegateToRestResourcePlugin() (Line: 87)
Drupal\rest\RequestHandler->handleRaw()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)
Stack\StackedHttpKernel->handle() (Line: 707)
Drupal\Core\DrupalKernel->handle() (Line: 19)
</pre>
How do I upload a file with JS via webforms?
I was unable to apply the patch on either 1.0.x or 1.0.6.
$ git apply 3352646-3.patch
error: patch failed: ert_sync.info.yml:1
error: ert_sync.info.yml: patch does not apply
error: patch failed: ert_sync.module:8
error: ert_sync.module: patch does not apply
prompt-h β made their first commit to this issueβs fork.
prompt-h β made their first commit to this issueβs fork.