Skip to main content
Inspiring
October 10, 2023
Question

CF2023 updates clearing out YUI cf_scripts files

  • October 10, 2023
  • 2 replies
  • 1020 views

Bit of an odd one here. We are still using the YUI library for cftree back from when it was included pre CF2016.

When installing an update through the CFAdmin UI, the update seems to delete some things from the cf_scripts folder. Most notably the yui folder containing the yui.css file at: cf_scripts\scripts\ajax\resources\yui

Does installing an update clean up things in cf_scripts or something? This behaviour did not exist in CF2018. We skipped over CF2021 so not sure there.

This topic has been closed for replies.

2 replies

JJ Frankowski
Participant
October 10, 2023

Hi, here's a link to the note where they say it's deprecated but also (towards the bottom of the page) provide downloads for the YUI and SPRY material that's been left behind. https://helpx.adobe.com/coldfusion/deprecated-features.html   Hope this helps.

Inspiring
October 10, 2023

Right, but when you apply an update it deletes some of the files. So I can put the files back every time I apply an update, but seems like it shouldn't do that?

Participating Frequently
October 11, 2023

I recall that when you upgrade between versions of CF it will recreate the cf_scripts/scripts folder, but I don't believe that the update process overwrites the contents of the folder when applying an in-version update (I'll admit it's been a couple of years, so you'd want to verify that for sure). 

Legend
October 10, 2023

I know most of those YUI tools were deprecated quite a while ago.  For what it's worth, we found jsTree to do an admirable job of replacing CFTree.

Inspiring
October 11, 2023

Will check this out. Looks like they are still updating it.