Do not close the error report page after successful Submit

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
duongnvm
Posts: 35
Joined: 19 May 2010, 07:26

Do not close the error report page after successful Submit

Post by duongnvm »

Do not close the error report page after successful Submit.
When hovering the mouse pointer over the Upload file field, the following information appears “<!DOCTYPE html> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <title>MantisBT</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> <link rel="stylesheet" type="text/css" …”.
Checked in the issue list, it is true that the issue has been successfully submitted
Attachments
2022-03-07_110734.png
2022-03-07_110734.png (74.64 KiB) Viewed 2652 times
cas
Posts: 1587
Joined: 11 Mar 2006, 16:08
Contact:

Re: Do not close the error report page after successful Submit

Post by cas »

Please pride some more details like:
Mantis Version
PHP version
OS
Also does this happen only after an initial submit of an issue having selected "check to report more issues" or do you have the same behavior when reporting an issue?
duongnvm
Posts: 35
Joined: 19 May 2010, 07:26

Re: Do not close the error report page after successful Submit

Post by duongnvm »

Site Information:
MantisBT Version: 2.25.2
Schema Version: 211
PHP Version: 7.3.10
Database Driver: mysqli
Database Version, Description: 8.0.17, 8.0.17

OS: Windows 10

Note: When updating the problem with the file
duongnvm
Posts: 35
Joined: 19 May 2010, 07:26

Re: Do not close the error report page after successful Submit

Post by duongnvm »

duongnvm wrote: 08 Mar 2022, 02:48 Site Information:
MantisBT Version: 2.25.2
Schema Version: 211
PHP Version: 7.3.10
Database Driver: mysqli
Database Version, Description: 8.0.17, 8.0.17

OS: Windows 10

Note: When updating the problem with the file
Kết hợp khi báo cáo vấn đề có:
- Gán người xử lý, và
- Đính kèm file
Sẽ dẫn đến xử lý rất chậm và không đóng được trang báo cáo
cas
Posts: 1587
Joined: 11 Mar 2006, 16:08
Contact:

Re: Do not close the error report page after successful Submit

Post by cas »

please post in English/Dutch/German/French, those I can read at least :mrgreen:
duongnvm
Posts: 35
Joined: 19 May 2010, 07:26

Re: Do not close the error report page after successful Submit

Post by duongnvm »

I'm sorry!
Incorporate when reporting a problem with:
- Assign handlers, and
- File attached
Will result in very slow processing and failure to close the report page
cas
Posts: 1587
Joined: 11 Mar 2006, 16:08
Contact:

Re: Do not close the error report page after successful Submit

Post by cas »

This seems to be another issue. Let's first take a look at the initial problem. When exactly is this happening on your end?
a. Always when reporting an issue
b. Only when reporting the second issue in case you selected "check to report more issues"

Now the second issue you report is about the system being slow.
This also can be caused by Windows 10 itself certainly when attaching a big file.
So if you do not attach a file, is it still slow?
If so, how is the sending of emails implemented, directly or via a cron-job( scheduled task)?
It may be that sending of emails is slowing things down (quite often the case when using directly).
duongnvm
Posts: 35
Joined: 19 May 2010, 07:26

Re: Do not close the error report page after successful Submit

Post by duongnvm »

Okay, I explain in detail as follows:
About configuration, simply for:
- Database connection information.
- Attached file information, with specific path.
- Note, there is no information about email.
That's all, nothing more
About this specific issue:
- The problem reporting operation does not have the option "check to report more issues", like the image above.
- In case of problem reporting, if no attachment + handler assigned => Very slow processing, and then close the report page.
- In case of problem reporting, if there is no attachment + no handler assignment => Quick action, and then close the report page.
- In case of problem reporting, if attached + no handler assigned => Quick action, and then close the report page.
- In case of problem reporting, if there is an attachment + a handler is assigned => Processing is very slow, and then the report page is not closed.
cas
Posts: 1587
Joined: 11 Mar 2006, 16:08
Contact:

Re: Do not close the error report page after successful Submit

Post by cas »

This is most likely due to the fact that when a handler is selected, the system will send an email. This apparently is happening in real time hence the delay in closing the page. So change the config to send_using_cron to ON and that issue is gone Next ensure to schedule a task to send the email every hour/day/whatever you like. Description to be found in the admin guide.
duongnvm
Posts: 35
Joined: 19 May 2010, 07:26

Re: Do not close the error report page after successful Submit

Post by duongnvm »

Thanks so much!
I will configure it in that direction and see how it works.
Post Reply