utopian homepage broken because of lost project info in post

in #utopian-io7 years ago (edited)

so apparently post can somehow loose github project info and then it will crash any view when post is loaded

here https://github.com/utopian-io/utopian.io/blob/master/src/components/Story/Contribution.js#L78

at line 78 there is repository.owner.login but if repository.owner is null it will throw exception

like in this case https://api.utopian.io/api/posts/thecotne/square-file-icons

where repository.owner is null

Imgur



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.
Check here
the bug was fixed but you reported it before it got fixed and you spent valuable time in finding about the bug and the root of it that's why i value your contribution
Please keep sending us such good contributions in the future :)
Regard, utopian-io
You can contact us on Discord.
[utopian-moderator]

Hey @thecotne I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • This is your first accepted contribution here in Utopian. Welcome!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.18
TRX 0.14
JST 0.029
BTC 57839.82
ETH 3132.70
USDT 1.00
SBD 2.43