#833 Submitting issue comment does not clear preview
Closed: Fixed None Opened 9 years ago by lsedlar.

Steps to reproduce:

  1. On issue page, write some text in comment input.
  2. Display preview
  3. Hit Update issue button

The comment gets added, but the preview is still displayed the exact same way. I would expect the view to switch back to clear textarea.


Hmmm, i can reproduce this one on pagure.io, but not in my local instance. It may have been fixed . Or there is some config difference between the two :(

I can't replicate in my local instance either. I think the difference in configuration is that locally the form gets submitted with regular post and redirect, so the page reloads and form clears. On pagure.io, the comments are submitted without page reload.

You can run the SSE server by using

PAGURE_CONFIG=../config PYTHONPATH=. python ev-server/pagure-stream-server.py

I found the bug and the fix :)

Log in to comment on this ticket.

Metadata