Developer forum

Forum » CMS - Standard features » PageView.Current() is null when OnExtranetLogin is triggered in DW 9.15.1

PageView.Current() is null when OnExtranetLogin is triggered in DW 9.15.1

Allan Iversen
Allan Iversen
Reply

Hi,
We have observed that PageView.Current() is null when OnExtranetLogin notification is triggered when using DW 9.15.1.

Is it intended? - are we supposed to retrieve current page and associated Area in other way?

PageView.Current() is available OnExtranetLogin on at least DW version 9.13.8.


Replies

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

We're also getting issues related to Pageview being null when it wasn't in the past, but on the PageLoaded notification. I am assuming this is a bug and not intended. This essentially prevents issues on all of our sites one way or the other, because we rely on Notifications and the Pageview to do validations and/or customizations.

 

Could this be fixed soon?

 

Best Regards,

Nuno Aguiar

 
Mario Santos Dynamicweb Employee
Mario Santos
Reply

https://www.screencast.com/t/sFtVkWkBtZk

 
Morten Bengtson Dynamicweb Employee
Morten Bengtson
Reply

Bug #12311 has been registered in DevOps.
A fix will be provided ASAP.

/Morten 

 

You must be logged in to post in the forum