From 0bda1e742515b8d7bebd2ae28137ce6076550230 Mon Sep 17 00:00:00 2001 From: "David M. Johnson" Date: Wed, 9 Sep 2026 17:07:47 -0400 Subject: [PATCH] Fix jQuery UI 404 on authoring pages by dropping the webjar +1 from the URL The #180 dependency bump moved the jquery-ui webjar to 1.14.2+1, and that literal version -- plus suffix and all -- was written into the resource URLs in head.jsp. The webjar serves its resources under the plus-free path (META-INF/resources/webjars/jquery-ui/1.14.2/), so /webjars/jquery-ui/1.14.2+1/ 404s, breaking the entry editor's date picker and tag autocomplete and dropping the jQuery UI styling. Point the URLs at 1.14.2; the pom coordinate stays 1.14.2+1 (that is the actual artifact). Regression from 6.1.5 (jquery-ui 1.14.1). Reported by Matt Raible on the 6.1.6 RC2 vote thread. Claude-Session: https://claude.ai/code/session_015X69HHQ5XnjRkJP8ymzwFf --- app/src/main/webapp/WEB-INF/jsps/tiles/head.jsp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/src/main/webapp/WEB-INF/jsps/tiles/head.jsp b/app/src/main/webapp/WEB-INF/jsps/tiles/head.jsp index 14872d2f2..42ad1d1d8 100644 --- a/app/src/main/webapp/WEB-INF/jsps/tiles/head.jsp +++ b/app/src/main/webapp/WEB-INF/jsps/tiles/head.jsp @@ -7,8 +7,11 @@ You can override it with your own file via WEB-INF/tiles-def.xml - - +<%-- jquery-ui webjar is 1.14.2+1 in pom.xml, but its resources are served + under the plus-free path: the +N is a webjar build suffix, not part of + the URL. Keeping the +1 here 404s and breaks the date picker/autocomplete. --%> + +