Skip to content

Fix jQuery UI 404 on authoring pages (drop webjar +1 suffix from head.jsp URL) - #185

Open
snoopdave wants to merge 1 commit into
masterfrom
fix-jquery-ui-webjar-path
Open

Fix jQuery UI 404 on authoring pages (drop webjar +1 suffix from head.jsp URL)#185
snoopdave wants to merge 1 commit into
masterfrom
fix-jquery-ui-webjar-path

Conversation

@snoopdave

Copy link
Copy Markdown
Contributor

Fixes the regression Matt Raible reported (-1) on the 6.1.6 RC2 vote thread.

The #180 dependency bump moved the jquery-ui webjar to 1.14.2+1, and that literal version 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/jquery-ui.min.js and .css both 404. That kills the entry editor's date picker and tag autocomplete ($(...).datepicker is not a function, $(...).autocomplete is not a function) and drops the jQuery UI styling.

Fix: point the two URLs at 1.14.2. The pom coordinate stays 1.14.2+1 — that is the real artifact; only the resource path drops the +N build suffix. Verified the shipped jquery-ui-1.14.2+1.jar stores its files under META-INF/resources/webjars/jquery-ui/1.14.2/.

Regression from 6.1.5 (which was on jquery-ui 1.14.1). Targeted for 6.1.6 RC3.

https://claude.ai/code/session_015X69HHQ5XnjRkJP8ymzwFf

…he 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
@snoopdave snoopdave added the 6.1.6 label Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants