Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CF2023 updates clearing out YUI cf_scripts files

Explorer ,
Oct 10, 2023 Oct 10, 2023

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.

TOPICS
Server administration
1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 10, 2023 Oct 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 11, 2023 Oct 11, 2023
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 10, 2023 Oct 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 10, 2023 Oct 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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 11, 2023 Oct 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). 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 11, 2023 Oct 11, 2023

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources