emre / dpoll.xyz

Decentralized poll app on the top HIVE blockchain
MIT License
22 stars 9 forks source link

Creating a poll with lengthy answer encounters 500 response #82

Open tdreid opened 5 years ago

tdreid commented 5 years ago

Expected behavior

Actual behavior

How to reproduce

  1. Create a new poll.
  2. Add Question and Description.
  3. Add some brief answers (e.g. Yes, No, Maybe)
  4. Add a lengthy answer option. (e.g. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin a molestie lectus, vel scelerisque velit. Nunc ultricies, turpis in ullamcorper lobortis, augue mauris viverra velit, vitae rhoncus metus nisl vel purus. In non auctor lacus, eget finibus orci. Donec a viverra dui. Nunc nec neque lectus. Praesent in ipsum at.)
  5. Submit the poll
emre commented 5 years ago

Good catch.

I need to reproduce the issue to see the logs what causes it. We need also a transactional approach in case the broadcasting to the STEEM blockchain fails.