View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0034464 | mantisbt | attachments | public | 2024-06-06 03:10 | 2024-09-29 13:15 |
Reporter | diedie2 | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.26.1 | ||||
Target Version | 2.27.0 | Fixed in Version | 2.27.0 | ||
Summary | 0034464: Improve display of file upload error messages (dropzone) | ||||
Description | I want to add an attachment to an issue, but when I click on "Add note", nothing happens. It's only when I hover over the file I got this error, which isn't even clear what is the problem exactly. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
I am not able to reproduce this. Does the error appear when you attach the file, or when you submit it to the server by clicking Add Note ? To my knowledge, a status code of 0 is usually returned when some kind of network error occurs during AJAX execution (read: https://stackoverflow.com/questions/3825581/does-an-http-status-code-of-0-have-any-meaning). I don't think this is something I can really help you with, as it is caused by something specific to your environment, not by MantisBT code. To troubleshoot, you can use your browser's developer tools, to identify the failing HTTP request, possibly get additional information about the error and then analyze why it's not working. |
|
well, we've been using Mantis for at least 8 years now and this the first time this happens :-) I will check dev tools asap! |
|
OK this is weird; I was trying again with Dev Tools open...and now the file uploads without any problem. Although I'm sure I tried 3 times this morning. I didn't change anything, haven't reboot anything, but it's working again. Sorry to have you bothered. Perhaps some more explanation if anyone with similar problem is searching or you wish to the debug: |
|
update: I was able to reproduce the error. When the file is open the moment you try to upload, this happens. |
|
Thanks for the feedback.
I tried to reproduce this (i.e. open a test Excel sheet, save, leave it open and attach it to a new bugnote), but the file was uploaded successfully, so there must be additional considerations that makes it fail for you but not on my dev box (maybe environment-specific ? I tested on a W10 laptop with Mantis running on a WSL-based Ubuntu LAMP). That being said, I agree that the way Dropzone.js was implemented needs improvement, particularly the box rendered when a file is uploaded - a clear visual clue that an error occurred would really help. Currently this has been hidden:
I'll try to fix that, PR will follow. |
|
Does this help anything? |
|
I don't have an IIS for testing, but it's possible that it handles file locking differently than Apache. Anyway I'm not interested in the actual error itself here, as I just want to improve the display when any kind of error occurs so I can emulate the behavior with a different error type (e.g. file too big or unauthorized file type). Since you have a consistently reproducible case, you'll be able to test the upcoming patch when I publish it and we should be fine. |
|
ok, will do! |
|
@degrad, if my screenshot is not needed, could you delete please (noticed I can't do it myself).... |
|
Attachment is gone |
|
@diedie your testing and feedback on the proposed patch will be welcome, as discussed |
|
was on holiday, will test later this week! |
|
This is what I get now. At least now it's clear there is something wrong now. FYI: I upgraded to 2.62.2 first. I'm using Edge. btw: I know it's off-topic but are you guys aware this site has become VERY slow lately? I do mean mantisbt.org entirely, not the product mantis itself on my server. |
|
Thanks for the feedback. I will merge the PR now.
Yes, we've received reports for high CPU usage from our provider for the past few days. It appears we have been under what looks like a DoS attack, server being hit by hundreds of thousands of requests per day from a couple of IP addresses. These have been banned earlier this morning - that should hopefully fix the problems, at least for now. |
|
@degrad I had to revert those changes but I couldn't create new issues anymore. After reverting it is working again, so I guess it has nothing to do with upgrading to 2.62.2 |
|
Everything works fine as far as I can tell, I'm able to submit new issues with and without attachments, both on my dev box and on this tracker. Additional, debugging information is needed to help understanding the problem. Please follow these steps:
WARNING - SECURITY RISK: the 'show_detailed_errors' config can cause MantisBT to display sensitive information about your system. We recommend to restrict its activation to a Test environment, only for as long as necessary.
If the output does not help you resolving the issue and you need further assistance,
|
|
Hits immediately when clicking "Report issue" on the left side. Let me know if you need extra information nieuw 1.txt (24,675 bytes)
<html><head><style data-merge-styles="true"></style> <style data-merge-styles="true"></style><style data-merge-styles="true"></style><meta http-equiv="Content-type" content="text/html; charset=utf-8"> <meta name="robots" content="noindex,follow"> <title>Melding aanmaken - 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" href="*-*/mantis/css/default.css?cache_key=32052c93a978936dd6d6af2c5e850131"> <link rel="stylesheet" type="text/css" href="*-*/mantis/css/dropzone-5.5.0.min.css"> <link rel="stylesheet" type="text/css" href="*-*/mantis/css/bootstrap-3.4.1.min.css"> <link rel="stylesheet" type="text/css" href="*-*/mantis/css/font-awesome-4.7.0.min.css"> <link rel="stylesheet" type="text/css" href="*-*/mantis/css/fonts.css?cache_key=32052c93a978936dd6d6af2c5e850131"> <link rel="stylesheet" type="text/css" href="*-*/mantis/css/bootstrap-datetimepicker-4.17.47.min.css"> <link rel="stylesheet" type="text/css" href="*-*/mantis/css/ace.min.css?cache_key=32052c93a978936dd6d6af2c5e850131"> <link rel="stylesheet" type="text/css" href="*-*/mantis/css/ace-mantis.css?cache_key=32052c93a978936dd6d6af2c5e850131"> <link rel="stylesheet" type="text/css" href="*-*/mantis/css/ace-skins.min.css?cache_key=32052c93a978936dd6d6af2c5e850131"> <link rel="shortcut icon" href="/mantis/images/favicon.ico" type="image/x-icon"> <link rel="search" type="application/opensearchdescription+xml" title="MantisBT: in volledige tekst zoeken" href="*-*/mantis/browser_search_plugin.php?type=text"> <link rel="search" type="application/opensearchdescription+xml" title="MantisBT: zoeken op meldingnummer" href="*-*/mantis/browser_search_plugin.php?type=id"> <script type="text/javascript" src="/mantis/javascript_config.php?cache_key=15b48de8849ab3ed9293e536217281e0"></script> <script type="text/javascript" src="/mantis/javascript_translations.php?cache_key=17e847d42a9cf8bf086ec88bac2649fc"></script> <script type="text/javascript" src="/mantis/js/jquery-2.2.4.min.js"></script> <script type="text/javascript" src="/mantis/js/dropzone-5.5.0.min.js"></script> <script type="text/javascript" src="/mantis/js/common.js"></script> <link rel="stylesheet" type="text/css" href="/mantis/plugin_file.php?file=BBCodePlus/bbcodeplus.css"><script type="text/javascript" src="/mantis/plugin_file.php?file=BBCodePlus/bbcodeplus-init.js" nonce=""></script><link rel="stylesheet" type="text/css" href="/mantis/plugin_file.php?file=BBCodePlus/markitup/skins/plain/style.css"><link rel="stylesheet" type="text/css" href="/mantis/plugin_file.php?file=BBCodePlus/markitup/sets/mantis/style.css"><script type="text/javascript" src="/mantis/plugin_file.php?file=BBCodePlus/markitup/jquery_markitup.js" nonce=""></script><script type="text/javascript" src="/mantis/plugin_file.php?file=BBCodePlus/markitup/sets/mantis/set.js" nonce=""></script><script type="text/javascript" src="/mantis/plugin_file.php?file=BBCodePlus/markitup-init.js" nonce=""></script><link rel="stylesheet" type="text/css" href="/mantis/plugin_file.php?file=BBCodePlus/prism/styles/default.css"><script type="text/javascript" src="/mantis/plugin_file.php?file=BBCodePlus/prism/prism.js" nonce=""></script><script src="plugin_file.php?file=BBCodePlus/prism/clipboard.min.js"></script><script type="text/javascript" src="/mantis/plugin_file.php?file=BBCodePlus/prism/prism_additional_languages.js" nonce=""></script> <style>tcxspan{text-decoration: underline;cursor: pointer;}</style></head> <body class="skin-3"> <style> * { font-family: "Open Sans"; } h1, h2, h3, h4, h5 { font-family: "Open Sans"; } </style> <div id="navbar" class="navbar navbar-default navbar-collapse navbar-fixed-top noprint"><div id="navbar-container" class="navbar-container"><button id="menu-toggler" type="button" class="navbar-toggle menu-toggler pull-left hidden-lg hidden-md" data-target="#sidebar"><span class="sr-only">Toggle sidebar</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button><div class="navbar-header"><a href="/mantis/my_view_page.php" class="navbar-brand"><span class="smaller-75"> MantisBT </span></a><button type="button" class="navbar-toggle navbar-toggle collapsed pull-right hidden-sm hidden-md hidden-lg" data-toggle="collapse" data-target=".navbar-buttons,.navbar-menu"><span class="sr-only">Toggle user menu</span><i class="fa fa-user ace-icon fa-2x white"></i> </button></div><div class="navbar-buttons navbar-header navbar-collapse collapse"><ul class="nav ace-nav"> <li class="grey" id="dropdown_projects_menu"> <a data-toggle="dropdown" href="#" class="dropdown-toggle"> Software Qbit <i class="fa fa-angle-down ace-icon bigger-110"></i> </a> <ul id="projects-list" class=" dropdown-menu dropdown-menu-right dropdown-yellow dropdown-caret dropdown-close"> <li><div class="projects-searchbox"><input class="search form-control input-md" placeholder="Zoeken" spellcheck="false" data-ms-editor="true"></div></li> <li class="divider"></li> <li><div class="scrollable-menu"> <ul class="list dropdown-yellow no-margin"><!--removed all projects for safety --> </div> </li> </ul> </li> <li class="grey"><a data-toggle="dropdown" href="#" class="dropdown-toggle"><i class="fa fa-user ace-icon fa-2x white"></i> <span class="user-info">Dieter</span><i class="fa fa-angle-down ace-icon"></i></a><ul class="user-menu dropdown-menu dropdown-menu-right dropdown-yellow dropdown-caret dropdown-close"><li><a href="/mantis/account_page.php"><i class="fa fa-user ace-icon"></i> Mijn account</a></li><li><a href="*-*/mantis/issues_rss.php?username=Dieter&key=*-*;project_id=40"><i class="fa fa-rss-square orange ace-icon"></i> RSS</a></li><li class="divider"></li><li><a href="/mantis/logout_page.php"><i class="fa fa-sign-out ace-icon"></i> Afmelden</a></li></ul></li></ul></div></div></div><div class="main-container" id="main-container" style="padding-top: 45px;"> <div id="sidebar" class="sidebar sidebar-fixed responsive compact menu-min"><ul class="nav nav-list"><li> <a href="/mantis/my_view_page.php"> <i class="fa fa-dashboard menu-icon"></i> <span class="menu-text"> Mijn overzicht </span> </a> <b class="arrow"></b> </li> <li> <a href="/mantis/view_all_bug_page.php"> <i class="fa fa-list-alt menu-icon"></i> <span class="menu-text"> Meldingen bekijken </span> </a> <b class="arrow"></b> </li> <li class="active"> <a href="/mantis/bug_report_page.php"> <i class="fa fa-edit menu-icon"></i> <span class="menu-text"> Melding aanmaken </span> </a> <b class="arrow"></b> </li> <li> <a href="/mantis/changelog_page.php"> <i class="fa fa-retweet menu-icon"></i> <span class="menu-text"> Logboek </span> </a> <b class="arrow"></b> </li> <li> <a href="/mantis/roadmap_page.php"> <i class="fa fa-road menu-icon"></i> <span class="menu-text"> Productplanning </span> </a> <b class="arrow"></b> </li> <li> <a href="/mantis/summary_page.php"> <i class="fa fa-bar-chart-o menu-icon"></i> <span class="menu-text"> Overzichten </span> </a> <b class="arrow"></b> </li> <li> <a href="*-*/mantis/Codev"> <i class="fa fa-plug menu-icon"></i> <span class="menu-text"> CodevTT </span> </a> <b class="arrow"></b> </li> </ul><div id="sidebar-btn" class="sidebar-toggle sidebar-collapse"><i data-icon2="ace-icon fa fa-angle-double-right" data-icon1="ace-icon fa fa-angle-double-left" class="ace-icon fa fa-angle-double-right"></i></div></div><div class="main-content"> <div id="breadcrumbs" class="breadcrumbs noprint"> <ul class="breadcrumb"> <li><i class="fa fa-user home-icon active"></i> <a href="/mantis/account_page.php">Dieter</a> <span class="label hidden-xs label-default arrowed">ontwikkelaar</span></li> </ul> <div class="nav-recent hidden-xs">Recent bekeken: <a href="/mantis/view.php?id=8033" title="[opgelost] Update_acceptance_production Q1 2024" class="resolved">0008033</a>, <a href="/mantis/view.php?id=8264" title="[opgelost] Rapport prognoses" class="resolved">0008264</a>, <a href="/mantis/view.php?id=8292" title="[toegewezen] POS lay-out: lettergrootte kunnen instellen">0008292</a>, <a href="/mantis/view.php?id=6333" title="[afgesloten] Loylaty wordt niet verrekend." class="resolved">0006333</a>, <a href="/mantis/view.php?id=8290" title="[afgesloten] promo niet in rekening gebracht (?)" class="resolved">0008290</a></div><div id="nav-search" class="nav-search"><form class="form-search" method="post" action="/mantis/jump_to_bug.php"><span class="input-icon"><input type="text" name="bug_id" autocomplete="off" class="nav-search-input" placeholder="Meldingsnr." spellcheck="false" data-ms-editor="true"><i class="fa fa-search ace-icon nav-search-icon"></i></span></form></div> </div> <div class="page-content"> <div class="row"> <div class="col-md-12 col-xs-12"><div class="space-20"></div> <div class="alert alert-danger"> <p class="bold">INTERNAL APPLICATION ERROR</p> <p>Undefined constant "CATEGORY_STATUS_DISABLED"</p> <div class="error-info">Gebruik de knop "Terug" in uw webbrowser om terug te keren naar de vorige pagina. Daar kunt u de in deze foutmelding aangegeven problemen oplossen of een andere handeling selecteren. U kunt ook een optie in de menubalk selecteren om direct naar een nieuwe sectie te gaan.</div> <div class="error-details"> <hr> <h2>Detailed error information</h2> <ul> <li>Full path: <span class="code"> C:\inetpub\wwwroot\mantis\core\error_api.php </span> </li> <li>Line number: <span class="code">92</span> </li> </ul> </div> <h3>Stack trace</h3> <div class="table-responsive"> <table class="table table-bordered table-striped table-condensed"> <tbody><tr> <th>#</th> <th>Filename</th> <th>Line</th> <th>Class</th> <th>Type</th> <th>Function</th> <th>Args</th> </tr> <tr> <td>0</td> <td>C:\inetpub\wwwroot\mantis\bug_report_page.php</td> <td>283</td> <td>-</td> <td>-</td> <td>print_category_option_list</td> <td>-</td> </tr> </tbody></table></div></div></div></div> </div> </div> <div class="clearfix"></div> <div class="space-20"></div> <div class="footer noprint"> <div class="footer-inner"> <div class="footer-content"> <div class="col-md-6 col-xs-12 no-padding"> <address> <strong>Powered by <a href="https://www.mantisbt.org" title="bug tracking software">MantisBT </a></strong> <br> <small>Copyright © 2000 - 2024 MantisBT Team</small><br><small>Voor hulp neemt u contact op met de <a href="*-*" title="Per e-mail contact opnemen met de webmaster.">beheerder</a></small><br> </address> </div> <div class="col-md-6 col-xs-12"> <div class="pull-right" id="powered-by-mantisbt-logo"> <a href="https://www.mantisbt.org" title="Mantis Bug Tracker: a free and open source web based bug tracking system."><img src="/mantis/images/mantis_logo.png" width="102" height="35" alt="Powered by Mantis Bug Tracker: a free and open source web based bug tracking system."></a> </div> </div> </div> </div> </div> <a class="btn-scroll-up btn btn-sm btn-inverse display" id="btn-scroll-up" href="#"> <i class="fa fa-angle-double-up ace-icon icon-only bigger-110"></i> </a> </div> <script type="text/javascript" src="/mantis/js/bootstrap-3.4.1.min.js"></script> <script type="text/javascript" src="/mantis/js/moment-with-locales-2.29.4.min.js"></script> <script type="text/javascript" src="/mantis/js/bootstrap-datetimepicker-4.17.47.min.js"></script> <script type="text/javascript" src="/mantis/js/typeahead.jquery-1.3.4.min.js"></script> <script type="text/javascript" src="/mantis/js/list-2.3.1.min.js"></script> <script type="text/javascript" src="/mantis/js/ace.min.js"></script> </body><editor-card style="position:absolute;top:0px;left:0px;z-index:auto;display: block !important"><div dir="ltr" style="all: initial;"><div style="color-scheme: initial; forced-color-adjust: initial; mask: initial; math-depth: initial; position: absolute; position-anchor: initial; appearance: initial; color: initial; font: initial; font-palette: initial; font-synthesis: initial; inset-area: initial; text-orientation: initial; text-rendering: initial; text-spacing-trim: initial; -webkit-font-smoothing: initial; -webkit-locale: initial; -webkit-text-orientation: initial; -webkit-writing-mode: initial; writing-mode: initial; zoom: initial; accent-color: initial; place-content: initial; place-items: initial; place-self: initial; alignment-baseline: initial; anchor-name: initial; animation-composition: initial; animation: initial; app-region: initial; aspect-ratio: initial; backdrop-filter: initial; backface-visibility: initial; background: initial; background-blend-mode: initial; baseline-shift: initial; baseline-source: initial; block-size: initial; border-block: initial; border: initial; border-radius: initial; border-collapse: initial; border-end-end-radius: initial; border-end-start-radius: initial; border-inline: initial; border-start-end-radius: initial; border-start-start-radius: initial; inset: initial; box-shadow: initial; box-sizing: initial; break-after: initial; break-before: initial; break-inside: initial; buffered-rendering: initial; caption-side: initial; caret-color: initial; clear: initial; clip: initial; clip-path: initial; clip-rule: initial; color-interpolation: initial; color-interpolation-filters: initial; color-rendering: initial; columns: initial; column-fill: initial; gap: initial; column-rule: initial; column-span: initial; contain: initial; contain-intrinsic-block-size: initial; contain-intrinsic-size: initial; contain-intrinsic-inline-size: initial; container: initial; content: initial; content-visibility: initial; counter-increment: initial; counter-reset: initial; counter-set: initial; cursor: initial; cx: initial; cy: initial; d: initial; display: initial; dominant-baseline: initial; empty-cells: initial; field-sizing: initial; fill: initial; fill-opacity: initial; fill-rule: initial; filter: initial; flex: initial; flex-flow: initial; float: initial; flood-color: initial; flood-opacity: initial; grid: initial; grid-area: initial; height: initial; hyphenate-character: initial; hyphenate-limit-chars: initial; hyphens: initial; image-orientation: initial; image-rendering: initial; initial-letter: initial; inline-size: initial; inset-block: initial; inset-inline: initial; isolation: initial; letter-spacing: initial; lighting-color: initial; line-break: initial; list-style: initial; margin-block: initial; margin: initial; margin-inline: initial; marker: initial; mask-type: initial; math-shift: initial; math-style: initial; max-block-size: initial; max-height: initial; max-inline-size: initial; max-width: initial; min-block-size: initial; min-height: initial; min-inline-size: initial; min-width: initial; mix-blend-mode: initial; object-fit: initial; object-position: initial; object-view-box: initial; offset: initial; opacity: initial; order: initial; orphans: initial; outline: initial; outline-offset: initial; overflow-anchor: initial; overflow-clip-margin: initial; overflow-wrap: initial; overflow: initial; overlay: initial; overscroll-behavior-block: initial; overscroll-behavior-inline: initial; overscroll-behavior: initial; padding-block: initial; padding: initial; padding-inline: initial; page: initial; page-orientation: initial; paint-order: initial; perspective: initial; perspective-origin: initial; pointer-events: initial; position-try: initial; position-visibility: initial; quotes: initial; r: initial; resize: initial; rotate: initial; ruby-position: initial; rx: initial; ry: initial; scale: initial; scroll-behavior: initial; scroll-margin-block: initial; scroll-margin: initial; scroll-margin-inline: initial; scroll-padding-block: initial; scroll-padding: initial; scroll-padding-inline: initial; scroll-snap-align: initial; scroll-snap-stop: initial; scroll-snap-type: initial; scroll-timeline: initial; scrollbar-color: initial; scrollbar-gutter: initial; scrollbar-width: initial; shape-image-threshold: initial; shape-margin: initial; shape-outside: initial; shape-rendering: initial; size: initial; speak: initial; stop-color: initial; stop-opacity: initial; stroke: initial; stroke-dasharray: initial; stroke-dashoffset: initial; stroke-linecap: initial; stroke-linejoin: initial; stroke-miterlimit: initial; stroke-opacity: initial; stroke-width: initial; tab-size: initial; table-layout: initial; text-align: initial; text-align-last: initial; text-anchor: initial; text-combine-upright: initial; text-decoration: initial; text-decoration-skip-ink: initial; text-emphasis: initial; text-emphasis-position: initial; text-indent: initial; text-overflow: initial; text-shadow: initial; text-size-adjust: initial; text-transform: initial; text-underline-offset: initial; text-underline-position: initial; white-space: initial; timeline-scope: initial; touch-action: initial; transform: initial; transform-box: initial; transform-origin: initial; transform-style: initial; transition: initial; translate: initial; user-select: initial; vector-effect: initial; vertical-align: initial; view-timeline: initial; view-transition-class: initial; view-transition-name: initial; visibility: initial; border-spacing: initial; -webkit-box-align: initial; -webkit-box-decoration-break: initial; -webkit-box-direction: initial; -webkit-box-flex: initial; -webkit-box-ordinal-group: initial; -webkit-box-orient: initial; -webkit-box-pack: initial; -webkit-box-reflect: initial; -webkit-line-break: initial; -webkit-line-clamp: initial; -webkit-mask-box-image: initial; -webkit-print-color-adjust: initial; -webkit-rtl-ordering: initial; -webkit-ruby-position: initial; -webkit-tap-highlight-color: initial; -webkit-text-combine: initial; -webkit-text-decorations-in-effect: initial; -webkit-text-fill-color: initial; -webkit-text-security: initial; -webkit-text-stroke: initial; -webkit-user-drag: initial; widows: initial; width: initial; will-change: initial; word-break: initial; word-spacing: initial; x: initial; y: initial; z-index: 2147483647;"><link rel="stylesheet" href="chrome-extension://hokifickgkhplphjiodbggjmoafhignh/fonts/fabric-icons.css"><div style="all: initial;"></div></div><div style="color-scheme: initial; forced-color-adjust: initial; mask: initial; math-depth: initial; position: absolute; position-anchor: initial; appearance: initial; color: initial; font: initial; font-palette: initial; font-synthesis: initial; inset-area: initial; text-orientation: initial; text-rendering: initial; text-spacing-trim: initial; -webkit-font-smoothing: initial; -webkit-locale: initial; -webkit-text-orientation: initial; -webkit-writing-mode: initial; writing-mode: initial; zoom: initial; accent-color: initial; place-content: initial; place-items: initial; place-self: initial; alignment-baseline: initial; anchor-name: initial; animation-composition: initial; animation: initial; app-region: initial; aspect-ratio: initial; backdrop-filter: initial; backface-visibility: initial; background: initial; background-blend-mode: initial; baseline-shift: initial; baseline-source: initial; block-size: initial; border-block: initial; border: initial; border-radius: initial; border-collapse: initial; border-end-end-radius: initial; border-end-start-radius: initial; border-inline: initial; border-start-end-radius: initial; border-start-start-radius: initial; inset: initial; box-shadow: initial; box-sizing: initial; break-after: initial; break-before: initial; break-inside: initial; buffered-rendering: initial; caption-side: initial; caret-color: initial; clear: initial; clip: initial; clip-path: initial; clip-rule: initial; color-interpolation: initial; color-interpolation-filters: initial; color-rendering: initial; columns: initial; column-fill: initial; gap: initial; column-rule: initial; column-span: initial; contain: initial; contain-intrinsic-block-size: initial; contain-intrinsic-size: initial; contain-intrinsic-inline-size: initial; container: initial; content: initial; content-visibility: initial; counter-increment: initial; counter-reset: initial; counter-set: initial; cursor: initial; cx: initial; cy: initial; d: initial; display: initial; dominant-baseline: initial; empty-cells: initial; field-sizing: initial; fill: initial; fill-opacity: initial; fill-rule: initial; filter: initial; flex: initial; flex-flow: initial; float: initial; flood-color: initial; flood-opacity: initial; grid: initial; grid-area: initial; height: initial; hyphenate-character: initial; hyphenate-limit-chars: initial; hyphens: initial; image-orientation: initial; image-rendering: initial; initial-letter: initial; inline-size: initial; inset-block: initial; inset-inline: initial; isolation: initial; letter-spacing: initial; lighting-color: initial; line-break: initial; list-style: initial; margin-block: initial; margin: initial; margin-inline: initial; marker: initial; mask-type: initial; math-shift: initial; math-style: initial; max-block-size: initial; max-height: initial; max-inline-size: initial; max-width: initial; min-block-size: initial; min-height: initial; min-inline-size: initial; min-width: initial; mix-blend-mode: initial; object-fit: initial; object-position: initial; object-view-box: initial; offset: initial; opacity: initial; order: initial; orphans: initial; outline: initial; outline-offset: initial; overflow-anchor: initial; overflow-clip-margin: initial; overflow-wrap: initial; overflow: initial; overlay: initial; overscroll-behavior-block: initial; overscroll-behavior-inline: initial; overscroll-behavior: initial; padding-block: initial; padding: initial; padding-inline: initial; page: initial; page-orientation: initial; paint-order: initial; perspective: initial; perspective-origin: initial; pointer-events: initial; position-try: initial; position-visibility: initial; quotes: initial; r: initial; resize: initial; rotate: initial; ruby-position: initial; rx: initial; ry: initial; scale: initial; scroll-behavior: initial; scroll-margin-block: initial; scroll-margin: initial; scroll-margin-inline: initial; scroll-padding-block: initial; scroll-padding: initial; scroll-padding-inline: initial; scroll-snap-align: initial; scroll-snap-stop: initial; scroll-snap-type: initial; scroll-timeline: initial; scrollbar-color: initial; scrollbar-gutter: initial; scrollbar-width: initial; shape-image-threshold: initial; shape-margin: initial; shape-outside: initial; shape-rendering: initial; size: initial; speak: initial; stop-color: initial; stop-opacity: initial; stroke: initial; stroke-dasharray: initial; stroke-dashoffset: initial; stroke-linecap: initial; stroke-linejoin: initial; stroke-miterlimit: initial; stroke-opacity: initial; stroke-width: initial; tab-size: initial; table-layout: initial; text-align: initial; text-align-last: initial; text-anchor: initial; text-combine-upright: initial; text-decoration: initial; text-decoration-skip-ink: initial; text-emphasis: initial; text-emphasis-position: initial; text-indent: initial; text-overflow: initial; text-shadow: initial; text-size-adjust: initial; text-transform: initial; text-underline-offset: initial; text-underline-position: initial; white-space: initial; timeline-scope: initial; touch-action: initial; transform: initial; transform-box: initial; transform-origin: initial; transform-style: initial; transition: initial; translate: initial; user-select: initial; vector-effect: initial; vertical-align: initial; view-timeline: initial; view-transition-class: initial; view-transition-name: initial; visibility: initial; border-spacing: initial; -webkit-box-align: initial; -webkit-box-decoration-break: initial; -webkit-box-direction: initial; -webkit-box-flex: initial; -webkit-box-ordinal-group: initial; -webkit-box-orient: initial; -webkit-box-pack: initial; -webkit-box-reflect: initial; -webkit-line-break: initial; -webkit-line-clamp: initial; -webkit-mask-box-image: initial; -webkit-print-color-adjust: initial; -webkit-rtl-ordering: initial; -webkit-ruby-position: initial; -webkit-tap-highlight-color: initial; -webkit-text-combine: initial; -webkit-text-decorations-in-effect: initial; -webkit-text-fill-color: initial; -webkit-text-security: initial; -webkit-text-stroke: initial; -webkit-user-drag: initial; widows: initial; width: initial; will-change: initial; word-break: initial; word-spacing: initial; x: initial; y: initial; z-index: 2147483647;"><link rel="stylesheet" href="chrome-extension://hokifickgkhplphjiodbggjmoafhignh/fonts/fabric-icons.css"></div></div></editor-card></html> |
|
This constant Since you mentioned using 2.26.2, then maybe something went wrong when you applied the patch in PR https://github.com/mantisbt/mantisbt/pull/2010 (which is also targeted at 2.27.0), or when you reverted the change. In other words, the error you're seeing is IMO not related / caused by this patch. |
|
I just checked and the patch (https://github.com/mantisbt/mantisbt/pull/2010.patch) applies cleanly on top of release-2.26.2 tag. |
|
I did a compare of core/print_api.php between the version I got with 2.62.2 and the one I downloaded from github you published, I see more changes than the diff here gives (wich is logical I guess as you started from 2.27.0). I guess this is (one of) the hickups I struggle with using 2.62.2: |
|
Ah yes of course if you replaced individual (whole) files from the PR instead of applying changes as a patch, you are bound to face issues. I suggest you reinstall the 2.26.2 from the release tarball, then apply only the changes from the patch. In any case I believe the problems you're facing are a consequence of how you updated your system, and not caused by the patch itself so I'll resolve this ticket. |
|
Thanks, I guess I was a bit too enthusiastic :-) |
|
Thanks for the feedback, glad to read you sorted it out.
As mentioned before, this is outside of MantisBT control and there is unfortunately nothing we can do about it. |
|
yes, just wanted to point out this is resolved as intended now, not to pick up the old comment again ;-) |
|
MantisBT: master 4d2dd927 2024-06-15 04:08 Details Diff |
Adapt Dropzone template to display error message The dz-error-mark now displays an icon, and was moved within the dz-error-message div, which was moved up to be display below the dz-filename. Unnecessary div around the thumbnail img was also removed. Fixes 0034464 |
Affected Issues 0034464 |
|
mod - core/print_api.php | Diff File | ||
MantisBT: master 6435769c 2024-06-15 04:27 Details Diff |
Dropzone: adapt CSS to show errors Until now it was difficult for users to understand that a file was not successfully dropped, requiring use to hover the mouse over the preview box, with no visible clue that something went wrong. Errors occurring when adding a file are now clearly visible, with a light red background on the preview box, and a bright red error icon on with the error message displayed permanently next to it. Includes minor design adjustments, e.g. truncating file name if longer than preview box's maximum width Finally, the CSS was refactored to remove unused rules and regroup duplicate styles. Fixes 0034464 |
Affected Issues 0034464 |
|
mod - css/ace-mantis.css | Diff File | ||
MantisBT: master 62e782da 2024-06-15 04:28 Details Diff |
Dropzone template: remove unused Success Marks Issue 0034464 |
Affected Issues 0034464 |
|
mod - css/ace-mantis.css | Diff File |