hicommonwealth / commonwealth

A platform for decentralized communities
https://commonwealth.im
GNU General Public License v3.0
65 stars 38 forks source link

Some URLs generate "Cannot read properties of null (reading 'name')" (might be needed for sitemaps) #7592

Open burtonator opened 2 weeks ago

burtonator commented 2 weeks ago

Describe the bug

I'm testing some of the URLs for sitemaps and we get the following error:

Cannot read properties of null (reading 'name')

Here are some URLs that reproduce the problem:

https://commonwealth.im/kusama/discussion/115-hello20commonwealth20ui https://commonwealth.im/near/discussion/260-commit20messages https://commonwealth.im/kusama/discussion/522-ksm20governance20digest3a20weeks20of20aug20920and20162c202020

Initial conditions

Environment:

Branch/Release version:

Browser:

Wallet:

Reproduction steps

Actual behavior

Expected behavior

Screenshots / Video

Reporter

Additional context