chosen.js got removed in 6.0 ( Tracker 45018) and the files are removed on upgrade from 5.4.
FormBehavior:chosen still exists and is deprecated, removal planned for 7.0 according to comment in code
I cannot find any notice of the removal in migrations doc
Also the deactivation of compat plugin in 5.4 did not point to this error.
The Example for the replacement in FormBehavior contains non working code: WebAssetManaget doesn't have a enableAsset method.
JHtml::_('formbehavior.chosen',[...]) is still used in com_weblinks and com_search
| Labels |
Removed:
?
|
||
| Labels |
Added:
No Code Attached Yet
|
||
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-01-18 14:47:27 |
| Closed_By | ⇒ | richard67 |
Sorry to disagree:
chosen.js got removed in 6. If I do a fresh 6 installation, there is not chosen.js anymore.
FormBehavior:chosen still exists (which it should not if chosen if fully removed already) and still tries to load chosen
Also the removal of chosen is still not in the migrations doc linked above.
Imho there is two solutions to it:
"Its not used in the core anywhere" is imho a weak reason not to fix it.
| Status | Closed | ⇒ | New |
| Closed_Date | 2026-01-18 14:47:27 | ⇒ | |
| Closed_By | richard67 | ⇒ |
Reopened.
Removal of
FormBehavior:chosenwas planned for 6.0 but somehow slipped and then everything that wasn't removed in 6.0 got a new deprecation for 7.0 (#46367)Weblinks doesn't use chosen (https://github.com/joomla-extensions/weblinks/tree/5.x-dev), com_search it is but I guess it's abandoned Nothing done the last 2 years (https://github.com/joomla-extensions/search/commits/main/)