Crash when Reposting with a 0 LBC Stake and no Channel Selected
DESCRIPTION:
Attempting to Repost a video with a 0 LBC Stake and no Channel selected results in a Crash.
REPRO STEPS:
- Install and Launch LBRY 0.15.6 on Android 9
- Navigate to 'Menu > All Content'
- Select any video
- Select 'Repost'
- Select 'Show Advanced'
- Change 'Deposit' to 0.000
- Select 'Repost'
Results: Crash
Expected: Error appears
ENVIRONMENT:
- Galaxy S5
- Android 9
- LBRY 0.15.6
MEDIA:

INTERNAL USE:
DEFINITION OF DONE:
- [ ] Tested against acceptance criteria
- [ ] Tested against the assumptions of the user story
- [ ] The project builds without errors
- [ ] Unit tests are written and passing
- [ ] Tests on devices/browsers listed in the issue have passed
- [ ] QA performed & issues resolved
- [ ] Refactoring completed
- [ ] Any configuration or build changes documented
- [ ] Documentation updated
- [ ] Peer Code Review performed
LBRY ADDRESS: bZSqrVdpxt5KJdn2eGMUzT9Jn3gEiRet7b [email protected]
If reposting to a channel is a requirement, then the Repost button shouldn't be available. Then, I suggest validating the stake and showing a toast if the amount is not high enough.
@kekkyojin Doesn't look like it
Maybe just allow anonymous reposts then.
This was fixed on commit 40c36df4 and 4a3db5ae.
Trying to reproduce this bug on latest available source code 0.15.14 ends with a error message toasted on the bottom part of the device screen. When user is already signed on, the reposting channel is pre-selected and cannot be changed, so reported problem cannot be reproduced, neither.
Could you update LBRY Android to latest release and check this, @cahlenlee? Thank you.
This no longer reproduces in 0.15.14. Appropriate error messages appear if value is set to 0, or if user tries to submit a non-zero value with no channel selected.
No Longer Occurs on 0.16.11. Recommend Closing.