spdx-online-tools icon indicating copy to clipboard operation
spdx-online-tools copied to clipboard

Error handling for postScreenShot does not render correctly

Open goneall opened this issue 4 years ago • 4 comments

The code at https://github.com/spdx/spdx-online-tools/blob/13e707b8b3e7bcfb72ccf502bfc452ecdc6ee653/src/app/static/js/editor/postscreenshot.js#L52 will display the attached dialog which does not display the error information. image

goneall avatar Sep 07 '20 18:09 goneall

Hi @goneall @rtgdk I would like to contribute on this. Can you assist me on recreating the error?

BanulaKumarage avatar Mar 09 '23 21:03 BanulaKumarage

Can you assist me on recreating the error?

Since the original error where I found this has now been fixed, you'll probably have to "fake" an error in the code by returning an error in the corresponding View request handler for this JavaScript code. I don't recall which function it interacts with, but you can probably trace it down by seeing what function is called in the JavaScript.

goneall avatar Mar 10 '23 01:03 goneall

Hello @goneall is this issue still alive? I am new to this, it would be great if you could help.

ronisarkarexe avatar Aug 11 '23 05:08 ronisarkarexe

@ronisarkarexe - It is still an issue, just difficult to reproduce since we need to "fake" an error.

goneall avatar Aug 11 '23 16:08 goneall