Project Information
- Repository: https://github.com/hapramp/alpha-web
- Project Name: 1Ramp Alpha Web App
- Publisher (if applicable): @singhpratyush
Expected behavior
A user should be able to submit a comment for any given post.
Actual Behaviour
When attempting to comment on a post, the comment is not submitted to the blockchain.
Steps to reproduce
- Go to https://alpha.1ramp.io/feed/
- Sign in using your Steem Account
- Go to https://alpha.1ramp.io/@ceeka-dacrafta/hb1jnkc00b4ddp6oq12wkamr55wkzmgg4hra1x2huqrzybrvm0gyv33amtss002t20181130100307
- At the bottom of the page, a comment bar is shown. Within the comment bar, attempt to submit a comment. For example "Test Comment"
- Click send on the comment.
- Note that the comment is not submitted to the blockchain.
Environment
- Browser: Google Chrome (Version 65.0.3325.162 (Official Build) (64-bit))
- Device: MacBook Pro (Retina, 15-inch, Late 2013)
- Operating system: MacOS HighSierra Version 10.13
Issues Details
The following error is shown within the console:
steemconnect.com/api/broadcast:1
Failed to load resource: the server responded with a status of 500 ()
Within the response from SteemConnect the following error is provided:
{"error":"server_error","error_description":"permlink.size() > STEEM_MIN_PERMLINK_LENGTH && permlink.size() < STEEM_MAX_PERMLINK_LENGTH: Permlink is not a valid size."}
The following request payload was used in the above request:
{"operations":[["comment",{"parent_author":"","parent_permlink":"","author":"tobias-g","permlink":"re---20181201t043845449z","title":"","body":"test comment","json_metadata":"{\"app\":\"hapramp/0.0.16\"}"}]]}
Recording of Issue
The following issue can be seen in the view below:
GitHub Account
A link to my GitHub account can be found below:
The issue was submitted to the repository here:
https://github.com/hapramp/alpha-web/issues/79
and resolved by the project owner in the following pull request: