operatorfabric-core icon indicating copy to clipboard operation
operatorfabric-core copied to clipboard

Archives/Logging : ExpressionChangedAfterItHasBeenCheckedError in ng serve mode (#4768)

Open freddidierRTE opened this issue 2 years ago • 2 comments

Error in console when navigate to archives or logging screen in mode dev (port 4200)

image

freddidierRTE avatar Jul 19 '23 13:07 freddidierRTE

The problem also occurs :

  • when you navigate to "user action logs" screen
  • when you go to usercard and you choose "User card examples" as service

vlo-rte avatar Aug 14 '23 12:08 vlo-rte

For the archives/Logging screen, the issue occurs when setDateFilterBounds() is called in ngAfterViewInit(), this changes the value of publishMinDate from null to an object, which causes an error because of the binding in the template line 92 [minDate]="publishMinDate".

HubertDuchatelle avatar Aug 24 '23 09:08 HubertDuchatelle

Not reproduce , we use now native browser date picker so it may have sold the problem

freddidierRTE avatar Sep 23 '24 12:09 freddidierRTE