Open yamikuronue opened 9 years ago
Which ColdFusion version are you using? Do you see following message in your server log "ColdFusion Code Coverage enabled"? Are you using standalone or EAR version of ColdFusion?
The EAR, version 9. I don't see that message in server.log (inside cfusion-war/cfusion-war/WEB-INF/cfusion/logs, right?), but I did get coverage results for the coverage-related cfm files, so I thought it must be working.
That's strange... in my previous company we used EAR version too and it worked. When I did the development I checked the standalone version too.
Do your CFM, CFC fields are also part of the EAR/WAR package or are hosted separately and just mapped appropriately via CF admin?
They are hosted separately, in a webroot folder elsewhere, mapped using CF Admin. Is that likely to be a problem?
Also, in case it matters, I'm testing using a Windows server
This is the only think which comes to my mind at the moment. Do you have templates cache enabled? If yes can you check if all the compiled classes (original CFM templates) go into cache directory? Including both coverage-statistics specific CFMs and your project files.
Would it be possible to send me one compiled class so I can check if it got the necessary modifications? The one from your project.
Have you managed to overcome your problem?
@yamikuronue I know it has been a while but do you remember if you had any Adobe CF HotFixes applied to your CF server instance?
Sorry, late September is the start of our busy period so I haven't had time to get back to this effort. In a few weeks when we slow down again for the holidays I will be able to pick this back up
Hey @yamikuronue, I'm curious to know if you managed to overcome the problem back in... 2015 :)
LOL no, I left that job and am on the second job after it. My career sans coldfusion is going great though :)
I am pretty sure we didn't have hotfixes installed though, if that helps anyone.
I installed the JAR as well as AspectJ, deleted the files in {cf_server_id}/WEB-INF/cfclasses, and browsed the site for a bit, but when I hit coverage-statistics.cfm, the only files listed are coverage-statistics.cfm, coverage-check.cfm, coverage-details.cfm, and coverage-statistics-action.cfm. What have I likely done wrong?