Azure-Functions icon indicating copy to clipboard operation
Azure-Functions copied to clipboard

Portal Web UI doesn't refresh Function code

Open ghost opened this issue 7 years ago • 7 comments

When I redeploy a function to Azure, it's updated and works well. but in Azure Portal it still shows the old version of Function code. Maybe some caching issue. Could you please check this?

ghost avatar Apr 12 '18 22:04 ghost

Yes, it's a known issue. You just need to click the little refresh button next to the Function App name.

davidebbo avatar Apr 13 '18 00:04 davidebbo

Being on the function page, clicking on refresh button next to function name causes some browser console logs like [Error: Could not find file: 'inmemory://model/1', the code editor hangs loading and can't complete refresh process. Being on other page,, clicking on refresh button works well visually, but when you go to function page again it again shows the old version of code

ghost avatar Apr 13 '18 06:04 ghost

That is odd, and I have never seen that. Do you get this consistently? Does Ctrl-F5 in browser fix it?

@ahmelsayed what do you make of this error Error: Could not find file: 'inmemory://model/1'?

Seems Monaco related? https://github.com/Microsoft/monaco-editor-samples/issues/2

davidebbo avatar Apr 13 '18 16:04 davidebbo

It shows infinite loading when I press refresh button near app service name.

screenshot from 2018-04-20 19-04-50

ghost avatar Apr 20 '18 15:04 ghost

+1 on these errors. The refresh icon, Save/Save and Run buttons seem to have no effect after editing a function in the portal. Restarting entire web app works sometimes but not always. In my case, this is with a function generated from the portal and not connected to a deployment source. Tested in Edge and Chrome with same results.

hxlnt avatar Nov 08 '18 19:11 hxlnt

@mattchenderson for portal

ColbyTresness avatar Nov 16 '18 23:11 ColbyTresness

@ColbyTresness @mattchenderson - Do we have any updates or ETA on this bug fix? This is causing problems with our users.

softcraftsman avatar Sep 09 '22 17:09 softcraftsman