Skip to content

Display errors on the Society page #10020

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 of 10 tasks
anaelleparity opened this issue Nov 8, 2023 · 6 comments · Fixed by #11469
Closed
3 of 10 tasks

Display errors on the Society page #10020

anaelleparity opened this issue Nov 8, 2023 · 6 comments · Fixed by #11469

Comments

@anaelleparity
Copy link

  • I'm submitting a ...
  • Bug report
  • Feature request
  • Support request
  • Other
  • What is the current behavior and expected behavior?

After the latest runtime upgrade on Kusama introducing Society V2, the Society page on Polkadot-JS Apps is no longer displaying on-chain data about members and throwing an error on the tab for suspended members.

Screenshot 2023-11-08 at 12 49 35 pm Screenshot 2023-11-08 at 12 49 16 pm
  • What is the motivation for changing the behavior?

The interface does not reflect the current state of the Kappa Sigma Mu Society and Society members can no longer interact with the Society pallet.

  • Please tell us about your environment:
  • Version: -

  • Environment: MacOs

    • Node.js
    • Browser
    • Other (limited support for other environments)
  • Language:

    • JavaScript
    • TypeScript (include tsc --version)
    • Other
@anaelleparity
Copy link
Author

Current on-chain info:
Screenshot 2023-11-08 at 1 02 45 pm

@laurogripa
Copy link
Contributor

laurogripa commented Nov 27, 2023

Hey, @anaelleparity, thank you for opening this issue!

We are having similar problems with the society website and I'm trying to fix it.

Apparently now members() and suspendedMembers() functions have been both overloaded with an optional parameter, in addition to the original behavior of returning a list of all members, now we can lookup for a single member information. It also returns a different data structure, including the new variable rank.

I believe we are also gonna need to update the api package to reflect these changes, most likely this file.

@jacogr should I open an issue there too?

@laurogripa
Copy link
Contributor

laurogripa commented Nov 29, 2023

Ok, yeah, the regular query api worked fine for me, but the api-derive is throwing some weird errors.

Just opened an issue on the api repo: polkadot-js/api#5766

@ap211unitech
Copy link
Member

This seems to be working fine now.

Image

However, there is an issue for Suspended Tab, Adding a PR to fix it.

Image

@ap211unitech ap211unitech linked a pull request Apr 9, 2025 that will close this issue
@ap211unitech
Copy link
Member

#11469

@polkadot-js-bot
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query.

@polkadot-js polkadot-js locked as resolved and limited conversation to collaborators Apr 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants