Skip to Content
0
Jul 07, 2020 at 01:32 PM

attachPatternMatched not triggering First Time

713 Views

Hello,

We are using Object Page and for blocks we have defined separate controllers. Object controller does trigger method attached using attachPatternMatched but block controllers don't trigger first time. But from next object navigation it starts working.

I was using 1.60 UI5 version and today got upgraded to 1.71.11 and the apps stopped working for first time user hits Customer Navigation.

It was working just fine in 1.60....

Any thoughts?

Object Controller

this.getRouter().getRoute("object").attachPatternMatched(this._onObjectMatched, this); - All good...

Block Controller

this.getRouter().getRoute("object").attachPatternMatched(this._onBlockGeneralC, this); - this one starts triggering from next time. But first load not triggering