CF-3850183
Title
"Clear Trusted Cache" breaks REST Services
Description
Is there a way to work on a rest service without having to push the refresh-button on the rest-service after every change to a file? this drives me crazy - I can't find a working solution to this. But this doesn't fit into my CF-experiences since 4.0...
Comment by External U.
11/11/2014 08:23:40 GMT
Verified this issue also exists in CF11 Update 3 (11,0,03,292245(PreRelease)), using the following repro: Application.cfc --------------- component { THIS.name = "ticket_CF-3850183"; public boolean function onRequestStart() { if(structKeyExists(URL, "reinit")) { restInitApplication(expandPath("./"), "ticketCF-3850183", {useHOST=true}); } return true; } } R.cfc ----- component restpath="{a}" {remote string function sayHello() httpmethod="GET" {return "b";}} 1) go to http://www.domain.com/?reinit, to init REST app 2) go to http://www.domain.com/rest/ticketCF-3850183/a and see "b" 3) in CF Admin, click Clear Template Cache Now 4) go to http://www.domain.com/rest/ticketCF-3850183/a and see "HTTP Error 500.0 - The CFC [path to CFC] is modified and the application is not refreshed." 5) in CF Admin, click Refresh icon for REST service -or- repeat #1 6) repeat #2 and see "b" Thanks!, -Aaron
Comment by External U.
11/27/2014 04:44:56 GMT
I think I'm running into this problem, perhaps from a ColdFusion garbage collector.?. I don't click the "Clear Template Cache", but it randomly happens (sometimes within minutes, sometimes hours, even days later). The specific error I'm getting is "500 The application ___ is modified and not refreshed." This is extremely frustrating and is to the point that REST services are unusable!
Comment by External U.
09/21/2015 20:58:30 GMT
Adobe, I see this is now Closed/Fixed. What CF10 and CF11 builds is this fixed in? Thanks!, -Aaron
Comment by External U.
12/03/2015 03:55:43 GMT
We can consider this for next update for both CF10 and CF11
Comment by HariKrishna K.
12/03/2015 05:11:58 GMT
a little more than 1 year to fix this... till today this bugged me about 300 times... no great performance here Adobe...
Comment by External U.
12/03/2015 05:21:04 GMT
Hi Hari, Awesome, thanks very much! -Aaron
Comment by External U.
12/03/2015 05:28:44 GMT
When can we see this released? Can I get ahold of a hotfix?
Comment by External U.
01/12/2016 16:28:45 GMT
anitkumar85 [01/19/2016 6:36 AM] @wilgeno: The fix is targeted for next CF version. We will also try to include it in next CF10/CF11 updates.
Comment by External U.
01/19/2016 11:46:25 GMT
Was this fixed in CF10? Still seeing this error.
Comment by External U.
08/15/2016 09:34:07 GMT
This fix would be available in next update of CF10.
Comment by HariKrishna K.
10/23/2016 23:21:59 GMT
Hi Adobe, I've verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). Thanks!, -Aaron
Comment by Aaron N.
09/04/2019 09:37:02 GMT
Status:
Closed
Details
Date Created:
11/11/2014
Component:
REST Services
Version:
Beta
Failure Type
Enhancement Request
Found In Build:
Final
Fixed In Build:
Priority:
Major
Frequency:
All users will encounter
System:
Platforms All
Browser:
Resolution
Fixed
Reason Code:
Votes:
8
Vote Comments:
+1 ......................
Comment by External U.
11/27/2014 04:45:12 GMT
+1. Should not need to tell CF to recompile stuff. Especially when the error message demonstrates CF *knows* what the issue is, just doesn't bother to do anything about it.
Comment by External U.
01/07/2015 01:31:54 GMT
We've had some customers experience this too in CF 11. Hope it will be fixed soon.
Comment by External U.
03/11/2015 11:40:30 GMT
+100 Seem to be running into this issue, super frustrating!
Comment by External U.
09/21/2015 20:50:51 GMT
This really needs to be fixed soon. We just released a REST base api that is constantly not working and needs to be restarted. There are no issues in development as template caching is not needed for development. However, as soon as we deployed to out Production farm, random endpoints just suddenly stop working as the template caches are automatically flushed. Is there a better work around than polling each endpoint and restarting REST whenever a problem arises?
Comment by External U.
09/29/2015 13:34:06 GMT
+1 - driving me nuts. about to take the path of not using built in cf rest. seeing issue on cf11, btw.
Comment by External U.
10/07/2015 10:22:27 GMT
Seeing the issue in CF 11 also. Stay away from the REST crap.
Comment by External U.
12/18/2015 13:57:55 GMT
Getting this issue in CF10. Appears when clearing cache or changing a file with no caching turned on.
Comment by External U.
01/12/2016 16:28:01 GMT