πŸ‡­πŸ‡ΊHungary @prompt-h

Hungary
Account created on 30 September 2020, about 4 years ago
#

Recent comments

πŸ‡­πŸ‡ΊHungary prompt-h Hungary

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!!

πŸ‡­πŸ‡ΊHungary prompt-h Hungary

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.

πŸ‡­πŸ‡ΊHungary prompt-h Hungary

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-&gt;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-&gt;getBaseFieldDefinitions() (Line: 346)
Drupal\Core\Entity\EntityFieldManager-&gt;getFieldDefinitions() (Line: 443)
Drupal\file\Plugin\rest\resource\FileUploadResource-&gt;validateAndLoadFieldDefinition() (Line: 243)
Drupal\file\Plugin\rest\resource\FileUploadResource-&gt;post()
call_user_func_array() (Line: 219)
Drupal\rest\RequestHandler-&gt;delegateToRestResourcePlugin() (Line: 87)
Drupal\rest\RequestHandler-&gt;handleRaw()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer-&gt;executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber-&gt;Drupal\Core\EventSubscriber\{closure}() (Line: 169)
Symfony\Component\HttpKernel\HttpKernel-&gt;handleRaw() (Line: 81)
Symfony\Component\HttpKernel\HttpKernel-&gt;handle() (Line: 58)
Drupal\Core\StackMiddleware\Session-&gt;handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle-&gt;handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache-&gt;pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache-&gt;handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware-&gt;handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware-&gt;handle() (Line: 23)
Stack\StackedHttpKernel-&gt;handle() (Line: 707)
Drupal\Core\DrupalKernel-&gt;handle() (Line: 19)
</pre>

How do I upload a file with JS via webforms?

πŸ‡­πŸ‡ΊHungary prompt-h Hungary

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
πŸ‡­πŸ‡ΊHungary prompt-h Hungary

prompt-h β†’ made their first commit to this issue’s fork.

πŸ‡­πŸ‡ΊHungary prompt-h Hungary

This is awesome! Thanks a lot!

Production build 0.71.5 2024