Failing to create a ticket with large debug file

Description

This ticket was created from TrueNAS Scale WebUI.

I went to Settings -> General -> File Ticket.
Ticked "Attach Debug"
Added a couple of screenshots.
Filedl the rest of the form and submitted.

AR: I got an error saying that debug file was too large to be attached.

ER:

I would expect my debug file to get attached. Debug file that I've generated manually is just 6.4MB, not 30MB.
WebUI validates every individual file to be < 50mb, but the limit seems to be around 30mb? If webui has incorrect limit, please let us know.
I thought that ticket didn't get created and was surprised that it did. We should either not create the ticket or improve messaging to tell user to go and upload debug manually.
The debug file that got attached to this ticket appears to be corrupted.

Problem/Justification

None

Impact

None

Activity

Show:

Bug Clerk February 4, 2022 at 6:06 PM

Denys Butenko February 4, 2022 at 5:42 PM
Edited

 

While I worked on refactoring the File Ticket form noticed that attaching debug could take up to 10 minutes and has a chance of failure. When it happens the user will see error dialog and won't know that ticket was created successfully because failed during the next step while attaching debug. On the other hand, attaching screenshots handled via separate endpoint "support.attach_ticket".

I think it makes sense to split "support.new_ticket" job into two: creation and invoke attaching debug. It'd allow providing better UX like reattaching debug or added a warning "Your ticket has been submitted successfully. Click here to see. Warning: Attaching debug may take a couple of minutes before appears in the ticket.". Then in WebUI when the user has checked "Attach debug" we can call job "support.attach_debug" after "support.new_ticket" have success.

What do you think?

Vladimir Vinogradenko February 4, 2022 at 5:18 PM

working on it right now. It seems that some JIRA improvements broke API file uploads.

William Gryzbowski February 4, 2022 at 5:12 PM

  any comments? This has been sitting for quite a while.

Denys Butenko January 20, 2022 at 2:17 PM

Also getting this error:

Complete

Details

Assignee

Reporter

Labels

Time remaining

0m

Components

Fix versions

Affects versions

Priority

Katalon Platform

Created December 24, 2021 at 1:34 PM
Updated July 1, 2022 at 5:49 PM
Resolved February 4, 2022 at 8:28 PM