New Stable Release Request for 2.0.x-dev

Created on 29 April 2025, 15 days ago

Problem/Motivation

Patches that fix webform admin ui problems have not made it out of the dev branch to a stable release. It would be great to have a stable release that we no longer have to patch.

Steps to reproduce

- Install this module (2.0.2) on a site running the webform module
- Attempt to add a webform element to an existing or new webform.
- Ajax error occurs

πŸ“Œ Task
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jimmynash

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jimmynash
  • πŸ‡ͺπŸ‡ΈSpain candelas

    Hi @jimmynash,

    I have just realize on this problem with Webform.
    Could you please tell to me which patches have I to apply to solve it?

    My error:

    Object { message: "\nAn AJAX HTTP error occurred.\nHTTP Result Code: 500\nDebugging information follows.\nPath: /admin/structure/webform/manage/questionari_conxeiments_tic/element/add?parent=flexbox\nStatusText: error\nResponseText: The website encountered an unexpected error. Try again later.TypeError: substr(): Argument #1 ($string) must be of type string, int given in substr() (line 44 of modules/contrib/media_contextual_crop_iwc_adapter/media_contextual_crop_iwc_adapter.module). media_contextual_crop_iwc_adapter_form_alter() (Line: 552)\nDrupal\\Core\\Extension\\ModuleHandler->alter() (Line: 839)\nDrupal\\Core\\Form\\FormBuilder->prepareForm() (Line: 285)\nDrupal\\Core\\Form\\FormBuilder->buildForm() (Line: 73)\nDrupal\\Core\\Controller\\FormController->getContentResult()\ncall_user_func_array() (Line: 123)\nDrupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber->Drupal\\Core\\EventSubscriber\\{closure}() (Line: 638)\nDrupal\\Core\\Render\\Renderer->executeInRenderContext() (Line: 124)\nDrupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)\nDrupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber->Drupal\\Core\\EventSubscriber\\{closure}() (Line: 181)\nSymfony\\Component\\HttpKernel\\HttpKernel->handleRaw() (Line: 76)\nSymfony\\Component\\HttpKernel\\HttpKernel->handle() (Line: 53)\nDrupal\\Core\\StackMiddleware\\Session->handle() (Line: 48)\nDrupal\\Core\\StackMiddleware\\KernelPreHandle->handle() (Line: 28)\nDrupal\\Core\\StackMiddleware\\ContentLength->handle() (Line: 116)\nDrupal\\page_cache\\StackMiddleware\\PageCache->pass() (Line: 90)\nDrupal\\page_cache\\StackMiddleware\\PageCache->handle() (Line: 50)\nDrupal\\ban\\BanMiddleware->handle() (Line: 48)\nDrupal\\Core\\StackMiddleware\\ReverseProxyMiddleware->handle() (Line: 51)\nDrupal\\Core\\StackMiddleware\\NegotiationMiddleware->handle() (Line: 36)\nDrupal\\Core\\StackMiddleware\\AjaxPageState->handle() (Line: 51)\nDrupal\\Core\\StackMiddleware\\StackedHttpKernel->handle() (Line: 741)\nDrupal\\Core\\DrupalKernel->handle() (Line: 19)\n", name: "AjaxError", stack: "@https://test.net/core/misc/ajax.js?v=10.4.3:196:32\n@https://test.net/core/misc/ajax.js?v=10.4.3:1935:3\n" }
    ​
    message: "\nAn AJAX HTTP error occurred.\nHTTP Result Code: 500\nDebugging information follows.\nPath: /admin/structure/webform/manage/questionari_conxeiments_tic/element/add?parent=flexbox\nStatusText: error\nResponseText: The website encountered an unexpected error. Try again later.TypeError: substr(): Argument #1 ($string) must be of type string, int given in substr() (line 44 of modules/contrib/media_contextual_crop_iwc_adapter/media_contextual_crop_iwc_adapter.module). media_contextual_crop_iwc_adapter_form_alter() (Line: 552)\nDrupal\\Core\\Extension\\ModuleHandler->alter() (Line: 839)\nDrupal\\Core\\Form\\FormBuilder->prepareForm() (Line: 285)\nDrupal\\Core\\Form\\FormBuilder->buildForm() (Line: 73)\nDrupal\\Core\\Controller\\FormController->getContentResult()\ncall_user_func_array() (Line: 123)\nDrupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber->Drupal\\Core\\EventSubscriber\\{closure}() (Line: 638)\nDrupal\\Core\\Render\\Renderer->executeInRenderContext() (Line: 124)\nDrupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)\nDrupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber->Drupal\\Core\\EventSubscriber\\{closure}() (Line: 181)\nSymfony\\Component\\HttpKernel\\HttpKernel->handleRaw() (Line: 76)\nSymfony\\Component\\HttpKernel\\HttpKernel->handle() (Line: 53)\nDrupal\\Core\\StackMiddleware\\Session->handle() (Line: 48)\nDrupal\\Core\\StackMiddleware\\KernelPreHandle->handle() (Line: 28)\nDrupal\\Core\\StackMiddleware\\ContentLength->handle() (Line: 116)\nDrupal\\page_cache\\StackMiddleware\\PageCache->pass() (Line: 90)\nDrupal\\page_cache\\StackMiddleware\\PageCache->handle() (Line: 50)\nDrupal\\ban\\BanMiddleware->handle() (Line: 48)\nDrupal\\Core\\StackMiddleware\\ReverseProxyMiddleware->handle() (Line: 51)\nDrupal\\Core\\StackMiddleware\\NegotiationMiddleware->handle() (Line: 36)\nDrupal\\Core\\StackMiddleware\\AjaxPageState->handle() (Line: 51)\nDrupal\\Core\\StackMiddleware\\StackedHttpKernel->handle() (Line: 741)\nDrupal\\Core\\DrupalKernel->handle() (Line: 19)\n"
    ​
    name: "AjaxError"
    ​
    stack: "@https://test.net/core/misc/ajax.js?v=10.4.3:196:32\n@https://test.net/core/misc/ajax.js?v=10.4.3:1935:3\n"

    Thanks

  • πŸ‡ͺπŸ‡ΈSpain candelas

    I am already using "drupal/media_contextual_crop_iwc_adapter": "2.0.x-dev@dev"

  • πŸ‡ͺπŸ‡ΈSpain candelas

    I had a previous version and with

    composer require 'drupal/media_contextual_crop_iwc_adapter:2.0.x-dev@dev'

    I solved.
    But yes, it would be nice to have a new release.
    Thanks a lot :)

Production build 0.71.5 2024