Page MenuHomePhabricator

Tech Contribs can't show user Quiddity
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  1. Go to https://techcontribs.toolforge.org
  2. Type Quiddity into field "Wikitech account name" (for reference, see https://wikitech.wikimedia.org/wiki/User:Quiddity)
  3. Click "Search"

or

What happens?:

What seems to be a correct content of the page blinks, but then it gets replaced by "Application error: a client-side exception has occurred (see the browser console for more information)."

The developer console has the following a mix of the log messages, timestamps, and links to JS files – just copypasted the best I could from Firefox, let me know if I can do something different to give a better copy-paste of the log:

19:19:32.917 Uncaught SyntaxError: illegal character U+FF0F
Quiddity:3:5
19:19:33.017 Cookie “tc-dark-mode” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite 467-0e93d98625aa13e6.js:10:4188
19:19:33.062 19595 19961 2 796-6294ac126f51f176.js:1:1541
19:19:33.081
TypeError: b[0] is undefined
19:19:33.081 TypeError: b[0] is undefined
    NextJS 10
        c
        rE
        l$
        iZ
        ia
        il
        il
        oJ
        oZ
        T
23-594994f351ada5af.js:1:3968
    NextJS 28
        error
        l_
        callback
        nB
        nV
        aq
        aY
        a9
        aY
        a9
        aY
        a9
        aY
        a9
        aY
        a9
        aY
        a9
        aY
        a9
        aY
        a9
        aY
        is
        is
        o1
        oZ
        T

What should have happened instead?:

The correct content is shown.

Software version

v0.1.0+b8aa4a8

Other information (browser name/version, screenshots, etc.):

Event Timeline

Hah! Thanks for filing! I'm glad I checked here before sending a bug-report via mastodon, or filing a duplicate. Let me know if I can do anything to help test/resolve it.

Chlod closed this task as Resolved.EditedAug 25 2024, 10:11 PM
Chlod claimed this task.

Looks like it was because of a missing check prior to showing the activity chart. This affects anyone with historical contributions, but no patches owned, uploaded, or reviewed in the past year. This should be fixed with 749a84e (+ changes from 4bf3d68, because I accidentally rebased them onto the wrong commit which also changed the activity chart :facepalm:), which has been deployed.

Thanks for reporting this! :D