Hi All. Anyone done the ACF update today (for CF ...
# cfml-general
n
Hi All. Anyone done the ACF update today (for CF 2021)? Any surprises, problems, etc.? We'd like to do it quickly but don't want to accidentally step on any landmines.
q
Read the release notes carefully. There are some substantial changes that exist.
t
the biggest thing we hit was that we deploy pre-compiled code. And that appears to require setting the new compiler.block.bytecode property to false, or it won't execute the files anymore.
☝️ 1
n
@Tim Thanks. I don't think we have concern (just using regular CF).
j
If you've got legacy apps that use cfmenu (I know, sorry), the update removes the "yui" folder from the cf_scripts\scripts\ajax\resources folder. Adding in a previously saved backup copy re-enables menuing
n
@Jim Frankowski we do have some need for the yui code, related to <cftooltip> I think. We reinstated that after an earlier upgrade. It sounds like maybe that will happen again?
j
That was the only sub-folder I saw was deleted. I recall there was the spry and yui folders one level up that needed to be re-added for backwards compatibility before, but I didn't need to do anything for them - only the one under resources needed to be re-added
n
ok, thank you
🤘 1
j
@nickg - I'd still have a backup handy just in case, but we didn't need it (this time)
n
will do
d
Command line install (my usual) went smoothly for me on two servers.
If you use cfpdf or other services that need the jetty service, you may need some of the steps we don't. See the original thread about this update for some details, but bottom line appears to be to follow the instructions.
m
i've only tried ACF 2023.0.13 in commandbox so far locally. Nothing would load right after the update. Tried a couple more times and most seems to run now, however the CF Administrator doesn't run at all with all kinds of errors regarding [ERROR] Exception thrown by error-handling template: [ERROR] java.io.IOException: ColdFusion, by default, disables the execution of bytecode in .cfm and .cfc files . To enable it, open the jvm.config file, and set -Dcoldfusion.compiler.block.bytecode=false Haven't had time to review what -Dcoldfusion.compiler.block.bytecode is doing yet. Never an easy upgrade lately. Haven't even tried on our servers yet.
d
@mike42780 Did you get this ironed out?
m
I was busy working on projects all day. I had more issues with random CFML pages NOT loading, with what appears to be -Dcoldfusion.compiler.block.bytecode issues. Surprised no one else seems to be having more issues with it. I just had to roll back to 2023.0.12 locally (commandbox). Not sure when I'll have time to review, but hopefully soon. 2023.0.13 definitely seems to have breaking changes, for me at least.
r
@mike42780 I actually just ran into this too on acf 2023.0.14 using commandbox. I tried the latest 2021 and got the same error. Seems like it is not "resolved" yet. I would guess this needs to be a commandbox "fix" for now.