Copy link to clipboard
Copied
After installing Update 2 for ColdFusion 2021, calls to cfreport with a .cfr template are erroring out with "Report compilation error." I can't see any other details. These reports have been working flawlessly for years. Any ideas how to resolve this?
ColdFusion support provided quick help with a patch that resolved this issue.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
ColdFusion support provided quick help with a patch that resolved this issue.
Copy link to clipboard
Copied
What was the solution? We are running into the same and still waiting on a reply from CF support..
Copy link to clipboard
Copied
Support sent me a link to a hotfix file.
Copy link to clipboard
Copied
I am in a similar situation only I am testing an upgarde from CF10 to CF2021(Trial). I wrote to support a few days ago and still haven't heard from them. Could it be that because I am running a Trial that I am not given priority (always go back to be last in queue)???!!!
Copy link to clipboard
Copied
No, that would not be the reason. I have never known Adobe to actbthat way. First, did you send to the cfsup@adobe.com address, or some other? And did you simply try again?
You could also add a comment at that tracker ticket, asking them to upload the hotfix jar. If I can get it, I will do that.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Can you post the link where the hotfix is that takes care of this error? I too am having the issue after upgrading from v2018 to v2021. These reports have worked for years, but now having the report compilation error message.
Copy link to clipboard
Copied
As stated above, your best bet is to reach out to Adobe's Support team for patch at cfsup@adobe.com
That is how I got the necessary .jar file to fix it.Once applied, everything worked fine. Carefull however that the fix is not part of any other patch that you will install down the road (based on my experience). So, if you install another patch from Adobe, you will have to reinstall the CFReport fix again after a new patch is installed.
Claude
Copy link to clipboard
Copied
For those who haven't noticed, the update technote for CF2021 update 5 indicates that the fix for this problem was included (CF-421239). That is good news...
...but I just had someone running update 5 who found that the problem remained, until they added the hotfix jar discussed above. Once they did (and restarted CF), then the error went away. That absolutely should not have been necessary. I will report it to Adobe, but I wanted to go ahead and share it here also, in case others experience the problem even with update 5.
And I would share the hotfix jar here, but the forum software here won't let us share a .jar (nor does it allow a zip). And we can't even rename it as txt file. The s/w checks the upload and complains if a txt file is binary.
So if you are either not yet on update 5, or have this problem even AFTER applying update 5, ask Adobe (via cfsup@adobe.com) to share with you hf202100-4212391.jar. Then place that in the cfusion/lib/updates folder (not removing any that is there), and restart CF. (I have a blog post with more on applying such special hotfixes from Adobe.)
Am I saying that anyone running update 5 SHOULD apply this special hotfix? Well, no. If you find that your cfreport code runs fine on update 5, then don't bother with this. I'm just saying that someone DID find they needed to add it still. (I confirmed that they did have update 5 properly installed: no errors, with the chf jar for update 5 properly in that lib/updates fodler already.) If you end up in this spot (after applying update 5), and you reach out to Adobe, perhaps they will explain (to you, or to us here) whether this is a wider problem.
Copy link to clipboard
Copied
About sharing files here: I wouldn't do it, but there's no technical reason why you couldn't convert them to base64 before uploading them. Then, whoever downloads it will have to convert from base64 back to binary. This is a reliable way to send binary files as text, because base64 is literally just text.
Dave Watts, Eidolon LLC