Project Information
- Repository: https://github.com/steemit/condenser
- Project Name: Steemit condenser
I found the cause and reported in detail in the above issue. I may be able to make a fix, but based on my previous experience in condenser contributions, external PRs take too long to be merged. So I'd like to submit the bug-report only with the detailed debugging information.
Expected behavior
user profile information (cover image, rep, location, about...) should be on curation/author reward pages
Actual behavior
No user profile information (cover image, rep, location, about...) is shown on curation/author reward pages. Rep is shown as 25, default.
How to reproduce
Visit any user's reward pages, for instance,
- https://steemit.com/@blockchainstudio/curation-rewards
- https://steemit.com/@blockchainstudio/author-rewards
(If you're logged in, you should visit other user's page. Or you can see the same bug, if you first visit other tabs (e.g., blog, comments, replies) and then visit rewards pages.)
- App version: Current
- Browser version: Any
- Operating system: Any
Recording Of The Bug
All other tabs are working well. But whenever reward tabs are clicked, this reset occurs. Browsers & login don't matter.
Cause
Basically curation-rewards and author-rewards pages are routed to transfers (wallet) page from below.
And then account information is fetched here:
But transfers page, account returns json_metadata: '' and reputation: 0 as the following.
json_metadata: '',
active:
{ weight_threshold: 1,
account_auths: [],
key_auths: [ [Array] ] },
posting_rewards: 0,
vesting_withdraw_rate: '0.000000 VESTS',
guest_bloggers: [],
sbd_seconds_last_update: '2019-03-05T18:45:03',
created: '2018-03-02T16:02:06',
last_post: '2019-03-05T17:38:21',
savings_sbd_last_interest_payment: '2018-03-14T02:00:21',
name: 'blockchainstudio',
savings_sbd_balance: '0.000 SBD',
witnesses_voted_for: 15,
voting_power: 6996,
to_withdraw: 0,
proxy: '',
next_vesting_withdrawal: '1969-12-31T23:59:59',
vesting_balance: '0.000 STEEM',
savings_sbd_seconds: '0',
reward_vesting_steem: '0.000 STEEM',
comment_count: 0,
post_count: 4011,
lifetime_vote_count: 0,
sbd_last_interest_payment: '2019-02-28T03:08:24',
last_account_recovery: '1970-01-01T00:00:00',
proxied_vsf_votes: [ '22031319052256', 0, 0, 0 ],
mined: false,
market_history: [],
sbd_balance: '31.627 SBD',
pending_claimed_accounts: 0,
post_bandwidth: 0,
owner:
{ weight_threshold: 1,
account_auths: [],
key_auths: [ [Array] ] },
savings_withdraw_requests: 0,
voting_manabar:
{ current_mana: '2612250522640', last_update_time: 1551811503 },
last_root_post: '2019-03-04T02:46:12',
sbd_seconds: '6437026758',
post_history: [],
savings_balance: '0.000 STEEM',
reputation: 0,
last_vote_time: '2019-03-05T17:37:03',
can_vote: true,
reward_steem_balance: '0.000 STEEM',
curation_rewards: 0,
memo_key: 'STM5Wor19nvKKDFPEkpXngsnHvHVvwwjwo1AUJkJFoJshsD8wRVPd',
id: 789067,
tags_usage: [],
balance: '0.003 STEEM',
reset_account: 'null',
last_owner_update: '2019-01-25T21:22:30',
vote_history: [],
withdraw_routes: 0,
received_vesting_shares: '407940.240540 VESTS',
reward_vesting_balance: '0.000000 VESTS' }
--> GET /@blockchainstudio/curation-rewards 200 635ms 106.91kB fb1983d514847e6d4681dfdfd9
json_metadata is the field that contains the url of cover images, displayname, location, etc. Since it's null, no information can be shown.
You can actually see the user profile is also reset on transfers page, as on rewards pages, but transfers page updates the user profile again.
But curation-rewards and author-rewards don't update user profile later. That's why the information can't be shown.