Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Will check this out. Looks like they are still updating it.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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).
Copy link to clipboard
Copied
The in version update definitely messes with that folder. It doesn't even overwrite it it just deletes some stuff. Updating to 2023u5 from no updates caused it. I also tried uninstalling u5 just to see and that also deletes the files.
We did just upgrade from 2018 to 2023 and did a fresh install, so I had to put YUI there again. But that is unrelated to this issue.