PragatiVerma18 / Snippet-Share

This is a snippet sharing app that can be used to share snippets of code and more.
https://snip-share.herokuapp.com/
46 stars 35 forks source link

Error Occurs While Submiting Snip #68

Closed piyush-pk closed 1 year ago

piyush-pk commented 3 years ago

Describe the bug Your Github Repository Of Snippet-Share Project Has Some Error. This is One Of Them If We Submit Our Form/Snip And Again We Create New Snip But Here We Select Again Same Syntax Highlighting Then Here An Error occurs Which is MultiValueDictKeyErrpr. I can easily solve it if you assign me.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://snip-share.herokuapp.com/'
  2. Click on 'Submit After Filling Snip Details'
  3. Again Submit With Same Syntax Highlighting
  4. See an error

Expected behavior After Error Occurs We Can't be able to Create New Snip.

Screenshots If applicable, add screenshots to help explain your problem. Screenshot (11) 30896c96-f472-4a0d-b5fd-17dab18c585d

Desktop (please complete the following information):

Additional context Some Times Snip DoesNotExist Error Occurs.

PragatiVerma18 commented 3 years ago

Hi @piyush-pk, thanks for pointing it out. Will you be working on it?

piyush-pk commented 3 years ago

Yes @PragatiVerma18, i will work if You Assign Me.

piyush-pk commented 3 years ago

hey @PragatiVerma18, i have solved this error. if You Assign me So That I Can Make Pull Request.

iihsan commented 2 years ago

Hi, I've fixed that issue, and created a pull request as well, just waiting for collaborators to approve.