Webform asset javascript (webform/javascript/webform_id/custom.js) is showing not found

Created on 31 July 2024, 5 months ago

Problem/Motivation

We have upgraded webform module to latest version 6.2.7 but after upgrade webform custom asset javascript is not working.
It was working previously for beta version of module. Please see below code and fix this is impacting for all webforms in our site and showing error as The requested URL "/webform/javascript/webform_id/custom.js" was not found on this server.
https://git.drupalcode.org/project/webform/-/commit/2fc9b78fdec47186189f...
https://www.drupal.org/project/webform/issues/3389539 ๐Ÿ› D10 Compatibility AddCssCommand() - AJAX error for css route of webform assets RTBC

Steps to reproduce

Add webform admin/structure/webform, add some field and go to admin/structure/webform/manage/webform_id/settings/assets
add any custom js. Custom js code is showing not found.

๐Ÿ› Bug report
Status

Active

Version

6.2

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

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

Comments & Activities

Production build 0.71.5 2024