So, the issue with comment adding and this blog has been fixed, however, it wasn't a bug with the CFC. I have found that there are issues when you store a CFC in cache and then place the server under load. CFLib.org is suffering from it and so is this blog. on CFLib.org, the issue involves queries not being defined correctly. (I.e., a query is run, but the result is something corrupted.) On this blog, the issue was with the addComment method calling getComments, and CF saying getComments didn't exist as a method, even though it clearly does.
In both cases, the fix was to simply not cache the CFC. This has performance implications, but I'd rather have a slightly slower site than a site that breaks every now and then.
I've let Macromedia know about both issues, so hopefully they will be fixed in RedSky.
Archived Comments
Actually I noticed this last night as well, I thought my server was freaking out though. I can definately confirm there is some freaky behaviour when you cache that cfc.
-rd
Sounds like it might be an incarnation of the infamous pagecontext bug. Since this extensive bug is supposedly fixed in RedSky, I guess you'll find out soon enough.
No, this is defintely different from the page context bug, but you are right, that bug is fixed in RedSky.
I've been having an issue somewhat like that with my application. The problem is, I _have_ to cache the CFC, or performance will degrade to an unacceptable level in my application. (On Application first-load, I load an object that runs probably several thousand small DB queries, and then cache that object.)
I described it basically at: http://www.experts-exchange...
Is this the same issue, do you think?
-M
Just wondering, now that 6.1 is out, have you tried to cache again and did work?
Thanks, Gobo
I know I'm caching again on cflib and it's working fine. Not 100% sure I updated it here since the site runs fast anyway, but I will eventually.