We have recently upgraded a solution to 9.15.2 and since we can't use Dynamicweb.Frontend.PageView.Current() to access AreaSettings from the backend anymore, we tried to use GetPageviewByPageID instead as suggested by the annotation.
Unfortunately this results in a endless loop, which I suspect is due to the following change in the source code:
This section was moved to after was moved to after the PageLoaded notification is called:
This, as far as I can see, results in the PageView never being added to the cache and therefore Load keeps getting called and always treats the PageView as newly created (needs to be created and not fetched from the cache):
I hope it makes sense otherwise let me know and I will try to explain it again.
BR Vincent