hicommonwealth / commonwealth

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

BUG: Cannot read properties of undefined (reading 'indexOf') #7547

Closed ilijabojanovic closed 2 weeks ago

ilijabojanovic commented 2 weeks ago

Describe the bug

Page breaks with reading error

Initial conditions

Environment:

QA Branch/Release version:

Master/v1.3.2-x Browser:

All Wallet:

All

Reproduction steps

  1. Go to https://qa.commonwealth.im/element-finance/discussion/4146-introducing-the-call-for-delegates-members-of-the-governance-steering-council
  2. Observe

Actual behavior

Cannot read properties of undefined (reading 'indexOf')

Expected behavior

Page should load

Screenshots / Video

Screen Shot 2024-04-24 at 16 14 08 PM

Reporter

Additional context

jnaviask commented 2 weeks ago

Looks like fromAddress (aka app.chain.accounts.get()) is being passed undefined on the threads page. Should be an easy fix.

Israellund commented 2 weeks ago

"The route has a required join with profiles but the author address somehow doesn't have a profile" -Tim Assigning this ticket to @timolegros

timolegros commented 2 weeks ago

Bumping to 3 points because this ticket has several potential implications as described on Slack: https://commonxyz.slack.com/archives/C06F9256BTQ/p1714093921292289

jnaviask commented 2 weeks ago

Superseded by #7590.