oppia / oppia

A free, online learning platform to make quality education accessible for all.
https://www.oppia.org
Apache License 2.0
5.63k stars 3.78k forks source link

[BUG]: ExpressionChangedAfterItHasBeenCheckedError console error In creator dashboard's Subscribers tab #20189

Open AFZL210 opened 3 weeks ago

AFZL210 commented 3 weeks ago

Describe the bug

On opening the creator dashboard's subscribers tab this ExpressionChangedAfterItHasBeenCheckedError occurs.

Log:

ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'srcset: https://storage.googleapis.com/oppiaserver-resources/user/AFZL210A/assets/profile_picture.webp?13960'. Current value: 'srcset: https://storage.googleapis.com/oppiaserver-resources/user/AFZL210A/assets/profile_picture.webp?13963'.
error @ logger.service.ts:58
handleError @ app-error-handler.ts:119
(anonymous) @ core.js:29567
e.invoke @ zone.js:386
t.run @ zone.js:143
runOutsideAngular @ core.js:28509
tick @ core.js:29567
(anonymous) @ core.js:29436
e.invoke @ zone.js:386
onInvoke @ core.js:28580
e.invoke @ zone.js:385
t.run @ zone.js:143
run @ core.js:28464
next @ core.js:29435
t.__tryOrUnsub @ Subscriber.js:192
t.next @ Subscriber.js:130
t._next @ Subscriber.js:76
t.next @ Subscriber.js:53
t.next @ Subject.js:47
emit @ core.js:25940
IE @ core.js:28517
DE @ core.js:28630
onInvokeTask @ core.js:28574
e.invokeTask @ zone.js:420
t.runTask @ zone.js:188
t.invokeTask @ zone.js:503
p @ zone.js:1671
h @ zone.js:1697

URL of the page where the issue is observed.

https://www.oppia.org/creator-dashboard

Steps To Reproduce

  1. Go to oppia.org and log-in
  2. Click on profile and go to Dreator Dashboard (at /creator-dashboard)

Expected Behavior

No console errors.

Screenshots/Videos

https://github.com/oppia/oppia/assets/79896602/c5a00703-a0bb-4551-830a-38552a98a649

What device are you using?

Desktop

Operating System

Linux

What browsers are you seeing the problem on?

Other

Browser version

1.62.156 (Brave)

Additional context

No response

Tips for developers

Before addressing the bug, please identify which PR caused the issue (you can follow the steps here). If you identify the PR, comment on the issue with a link to it. If not, mention the commit hash of the oldest commit you saw the bug on (and the month and year it was made in).

Then, please leave a comment with details of the approach that you plan to take to fix the issue (see example).

Note: If this is your first Oppia issue, please make sure to follow our guidelines for choosing an issue and setting things up. You will also need to show a demo of the fix working correctly on your local machine. Thanks!

AFZL210 commented 3 weeks ago

I got to know about this error while running acceptance test.

image