ui icon indicating copy to clipboard operation
ui copied to clipboard

BUG: Pasting Parameter Value in the UI fails

Open raphael-riel opened this issue 3 years ago • 4 comments

Bug Description Pasting values form clipboard into the field for a Run will yield to the last param to be ignored and sent as NULL.

Steps To Reproduce image

What's sent: image

Browsers Tested:

  • [x] Chrome
  • [x] Firefox
  • [ ] Safari
  • [ ] Edge
  • [ ] IE

Notes

Workarounds: a) Switch to JSON view before submitting. or b) input something manually in the field and then erase it.

raphael-riel avatar Jun 04 '21 17:06 raphael-riel

Thanks for raising this @raphael-riel - Looking into it.

zhen0 avatar Jun 24 '21 14:06 zhen0

Hi @raphael-riel - I've tried to recreate this and can't. (Tried copying and pasting into both json and the text fields. Tried copying into one field and not the other and into both, tried with default params and none.) Can you try it again and see if you still have the issue. If you do can you let me know/confirm:

  • Are both the values you are copying/pasting string types?
  • You are copying and pasting into the text box? (i.e. not JSON)
  • Do the correct param values show up in the params section of the details tile on the flow run page?
  • Do the correct param values show up in a flow run query of the IAPI?

Thanks!

zhen0 avatar Jun 24 '21 15:06 zhen0

I managed to repro while recording Kapture 2021-11-15 at 13 34 48

Hopefully this helps!

Toggling JSON back and forth did fix the input.

raphael-riel avatar Nov 15 '21 18:11 raphael-riel

@zhen0 should be closed with #1095 merged?

stackoverfloweth avatar Dec 05 '21 17:12 stackoverfloweth