πŸ‡¦πŸ‡ΉAustria @daniel.pernold

Account created on 3 September 2018, about 6 years ago
#

Merge Requests

Recent comments

πŸ‡¦πŸ‡ΉAustria daniel.pernold

I'm experiencing the same issue. On my side, it is reproducable. After rebuilding the cache with Drush, the listener for my desired event is gone. \Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch does not return the event since it is not in the listener array. After editing the Rule and adding another random event, the desired event is being fired.

Patch #156 solves the issue.

πŸ‡¦πŸ‡ΉAustria daniel.pernold

Sorry, patch #2 is broken. Fixed.

πŸ‡¦πŸ‡ΉAustria daniel.pernold

I think this is related:

Warning: Trying to access array offset on value of type null in Drupal\doc_serialization\Encoder\Docx->encode() (line 85 of modules/contrib/doc_serialization/src/Encoder/Docx.php).

Stacktrace:

Drupal\doc_serialization\Encoder\Docx->encode(Array, 'docx', Array) (Line: 43)
Symfony\Component\Serializer\Encoder\ChainEncoder->encode(Array, 'docx', Array) (Line: 416)
Symfony\Component\Serializer\Serializer->encode(Array, 'docx', Array) (Line: 141)
Symfony\Component\Serializer\Serializer->serialize(Array, 'docx', Array) (Line: 143)
Drupal\rest\Plugin\views\style\Serializer->render() (Line: 435)
Drupal\rest\Plugin\views\display\RestExport->Drupal\rest\Plugin\views\display\{closure}() (Line: 638)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 434)
Drupal\rest\Plugin\views\display\RestExport->render() (Line: 76)
Drupal\doc_serialization\Plugin\views\display\WordExport->render() (Line: 1592)
Drupal\views\ViewExecutable->render() (Line: 426)
Drupal\rest\Plugin\views\display\RestExport->execute() (Line: 1689)
Drupal\views\ViewExecutable->executeDisplay('word_export_1', Array) (Line: 81)
Drupal\views\Element\View::preRenderViewElement(Array)
call_user_func_array(Array, Array) (Line: 113)
Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 870)
Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 432)
Drupal\Core\Render\Renderer->doRender(Array, 1) (Line: 248)
Drupal\Core\Render\Renderer->render(Array, 1) (Line: 153)
Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 638)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 152)
Drupal\Core\Render\Renderer->renderRoot(Array) (Line: 56)
Drupal\doc_serialization\Plugin\views\display\WordExport::buildResponse('test_for_docx_export', 'word_export_1', Array) (Line: 56)
Drupal\views\Routing\ViewPageController->handle('test_for_docx_export', 'word_export_1', Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 638)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 741)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
πŸ‡¦πŸ‡ΉAustria daniel.pernold

I figured out that the problem appears when you select no specific currency in the field settings. So the solution should be to filter the setting in the validator. Same applies to modifiers. Here's a patch.

πŸ‡¦πŸ‡ΉAustria daniel.pernold

I created a patch for the issue tag "3289141-automated-drupal-10" which I am using.

πŸ‡¦πŸ‡ΉAustria daniel.pernold

Ran into a major problem, since \Monolog\LogRecord::$level is a read-only property. We disable this setter for now to provide compatibility. Needs work.

πŸ‡¦πŸ‡ΉAustria daniel.pernold

@hiralshah1991 I fixed your last problem directly in Keycloak without hacking core.

https://www.drupal.org/project/keycloak/issues/3396331 πŸ› LogicException when redirecting to Keycloak Active

πŸ‡¦πŸ‡ΉAustria daniel.pernold

Ran into another problem in the KeycloakController where the old setting is used. Here's the fix: 3382665-7-fix-config-enabled-flag.diff β†’

πŸ‡¦πŸ‡ΉAustria daniel.pernold

The problem here is the OPENID_CONNECT_CONFIG_NAME in combination with a missing enabled config as queried in KeycloakService::isEnabled(). I assume we have to change the implementation of KeycloakService::isEnabled() to query the status config property. See attached 3382665-fix-config-enabled-flag.diff.

πŸ‡¦πŸ‡ΉAustria daniel.pernold

@hiralshah1991 Your problem is this one:
https://www.drupal.org/project/keycloak/issues/3391108 πŸ› Error to built redirect URL RTBC

in combination with this one:
https://www.drupal.org/node/2638686 β†’

πŸ‡¦πŸ‡ΉAustria daniel.pernold

daniel.pernold β†’ made their first commit to this issue’s fork.

πŸ‡¦πŸ‡ΉAustria daniel.pernold

Add Patch with composer.json

πŸ‡¦πŸ‡ΉAustria daniel.pernold

Reroll latest patch for 2.x and checking if there is a entity to avoid null references for getEntityTypeId().

πŸ‡¦πŸ‡ΉAustria daniel.pernold

Same problem here with Drupal 9.5.9. Patch #10 solved the problem.

πŸ‡¦πŸ‡ΉAustria daniel.pernold

Same here, the problem also occurs when using CKEditor5 inside a paragraph overlay using layout_paragraphs module.

The same environment with the same settings inside a normal "article" (without additional modules) is working.

Production build 0.71.5 2024