View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0020352 | mantisbt | ui | public | 2015-12-07 05:52 | 2016-06-12 00:43 |
Reporter | Filippo | Assigned To | dregad | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.0-beta.1 | ||||
Target Version | 1.3.0-rc.2 | Fixed in Version | 1.3.0-rc.2 | ||
Summary | 0020352: bug_report_page.php is broken when 'attachments' field is hidden | ||||
Description | My local installation of Mantis BT, after upgrading to 1.3.0-rc.1, show a broken bug_report_page.php | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Greetings, I am not able to reproduce this issue on a fresh install of 1.3.0-rc.1. Looking at your screenshot, I'm not seeing 2 standard fields "Steps To Reproduce" and "Additional Information", did you customize MantisBT ? From what version did you upgrade ? |
|
I've a standard version of Mantis. I've only changed config.inc in order to hide those 2 fields. As you can see, there are also 2 custom fields ("Cliente" and "Ore stimate"), that I added with the normal interface of Mantis. Nuova anomalia - FB Bug Tracker.htm (15,644 bytes)
<!DOCTYPE html> <html><head> <meta http-equiv="Content-type" content="text/html; charset=UTF-8"> <meta name="robots" content="noindex,follow"> <title>Nuova anomalia - FB Bug Tracker</title> <link rel="stylesheet" type="text/css" href="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/default.css"> <link rel="stylesheet" type="text/css" href="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/jquery-ui-1.css"> <link rel="stylesheet" type="text/css" href="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/common_config.css"> <link rel="stylesheet" type="text/css" href="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/status_config.css"> <link rel="shortcut icon" href="http://www.probussrl.it/mantis/images/favicon.ico" type="image/x-icon"> <link rel="search" type="application/opensearchdescription+xml" title="MantisBT: Text Search" href="http://www.probussrl.it/mantis/browser_search_plugin.php?type=text"> <link rel="search" type="application/opensearchdescription+xml" title="MantisBT: Issue Id" href="http://www.probussrl.it/mantis/browser_search_plugin.php?type=id"> <script type="text/javascript" src="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/javascript_config.php"></script><style>#content > #right > .dose > .dosesingle, #content > #center > .dose > .dosesingle {display:none !important;}</style> <script type="text/javascript" src="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/javascript_translations.php"></script> <script type="text/javascript" src="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/jquery-1.js"></script> <script type="text/javascript" src="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/jquery-ui-1.js"></script> <script type="text/javascript" src="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/common.js"></script> </head> <body> <div id="mantis"> <div id="banner"><a id="logo-link" href="http://www.probussrl.it/mantis/my_view_page.php"><img id="logo-image" alt="FB Bug Tracker" src="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/logo.png"></a></div><div class="info-bar"> <div id="login-info"> <span id="logged-in-label">Utente</span> <span id="logged-in-user">Filippo</span> <span id="logged-in"> <span id="logged-in-realname">Filippo Mannino</span> <span id="logged-in-accesslevel" class="amministratore">amministratore</span> </span> </div> <div id="rss-feed"> <a href="http://www.probussrl.it/mantis/issues_rss.php?username=Filippo&key=ambFhkh2vjn-UX83xQjgF0prpey3m8Vpj6lJj6rJwKuAFUdgRL69XrtfnqLpd7z2txB2IOpjCeIf6nkdgsNC&project_id=8"> <img src="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/rss.png" alt="RSS" title="RSS"> </a> </div> <div id="project-selector-div"><form method="post" id="form-set-project" action="/mantis/set_project.php"><fieldset id="project-selector"><label for="form-set-project-id">Progetto</label><select id="form-set-project-id" name="project_id"><option value="0">Tutti i progetti</option> <option value="8" selected="selected">EHS</option> <option value="8;31"> » EHS - CdM</option> <option value="8;29"> » EHS - Gibiino</option> <option value="8;24"> » EHS - Mater Dei</option> <option value="8;32"> » EHS - SBH</option> <option value="8;27"> » EHS - VDG</option> <option value="30">EHS MS</option> <option value="28">Gestisco</option> <option value="10">MCD</option> </select> <input style="display: none;" class="button" value="Cambia" type="submit"></fieldset></form></div><div id="current-time">07 Dec 2015 16:11 CET</div></div> <div class="main-menu"> <ul id="menu-items"> <li><a href="http://www.probussrl.it/mantis/my_view_page.php">Riepilogo personale</a></li> <li><a href="http://www.probussrl.it/mantis/view_all_bug_page.php">Visualizza anomalie</a></li> <li><a href="http://www.probussrl.it/mantis/bug_report_page.php">Nuova anomalia</a></li> <li><a href="http://www.probussrl.it/mantis/changelog_page.php">Registro modifiche</a></li> <li><a href="http://www.probussrl.it/mantis/roadmap_page.php">Rilasci</a></li> <li><a href="http://www.probussrl.it/mantis/summary_page.php">Sommario</a></li> <li><a class="manage-menu-link" href="http://www.probussrl.it/mantis/manage_overview_page.php">Amministra</a></li> <li><a class="account-menu-link" href="http://www.probussrl.it/mantis/account_page.php">Account</a></li> <li><a href="http://www.probussrl.it/mantis/billing_page.php">Tempistiche</a></li> <li><a id="logout-link" href="http://www.probussrl.it/mantis/logout_page.php">Esci</a></li> </ul> <div id="bug-jump"><form method="post" class="bug-jump-form" action="/mantis/jump_to_bug.php"><fieldset class="bug-jump"><input name="bug_label" value="Anomalia #" type="hidden"><input value="Anomalia #" class="field-default" name="bug_id" size="8" type="text"> <input value="Vai" type="submit"> </fieldset></form></div> </div> <div id="content"> <div class="recently-visited">Esaminate di recente: <a href="http://www.probussrl.it/mantis/view.php?id=5142" title="[chiusa] SDO 1622/2015 NON E' POSSIBILE FIRMARE LA SCHEDA INTERVENTO CHIRURGICO" class="resolved">5142</a>, <a href="http://www.probussrl.it/mantis/view.php?id=5141" title="[confermata] La stored XML_DOC_EMESSO_DATI_PAGAMENTO va riscritta">5141</a></div><div id="report-bug-div" class="form-container"> <form id="report-bug-form" method="post" action="bug_report.php?posted=1"> <fieldset class="has-required"> <legend><span>Report dettagliato</span></legend> <input name="bug_report_token" value="201512078CgxCOmfGcL2vu7G_ej1FmICR2MlCZyb" type="hidden"> <input name="m_id" value="0" type="hidden"> <input name="project_id" value="8" type="hidden"> <div class="field-container"> <label><span><span class="required">*</span>Categoria</span></label> <span class="select"> <select tabindex="1" id="category_id" name="category_id" class="autofocus"> <option value="0" selected="selected">(seleziona)</option><option value="52">Attività</option><option value="57">Idee</option><option value="53">Personalizzazione</option><option value="58">Prestazioni</option><option value="55">Revisione</option><option value="56">Sviluppo</option> </select> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span>Riproducibilità</span></label> <span class="input"> <select tabindex="2" id="reproducibility" name="reproducibility"> <option value="10">sempre</option><option value="30">qualche volta</option><option value="50">casuale</option><option value="70">non testato</option><option value="90">non riproducibile</option><option value="100" selected="selected">non pertinente</option> </select> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span>Gravità</span></label> <span class="input"> <select tabindex="3" id="severity" name="severity"> <option value="10" selected="selected">nuova funzionalità</option><option value="20">banale</option><option value="30">ortografia</option><option value="40">ritocco</option><option value="50">minore</option><option value="60">maggiore</option><option value="70">crash</option><option value="80">blocco</option> </select> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span>Priorità</span></label> <span class="input"> <select tabindex="4" id="priority" name="priority"> <option value="10">nessuna</option><option value="20">bassa</option><option value="30" selected="selected">normale</option><option value="40">alta</option><option value="50">urgente</option><option value="60">immediata</option> </select> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span>Seleziona il profilo</span></label> <span class="select"> <select tabindex="5" id="profile_id" name="profile_id"> <option selected="selected" value="">(seleziona)</option><option value="1">PC Tutti Tutte</option> </select> <a style="display: inline; cursor: pointer;" id="profile_closed_link" class="collapse-link"><img src="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/plus.png" alt="+"></a>oppure completa </span> <span class="label-style"></span> </div> <div style="display: none;" id="profile_open" class=" collapse-closed"> <div class="field-container"> <label><span>Piattaforma</span></label> <span class="input"> <input autocomplete="off" id="platform" name="platform" class="autocomplete ui-autocomplete-input" size="32" maxlength="32" tabindex="6" type="text"> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span>S.O.</span></label> <span class="input"> <input autocomplete="off" id="os" name="os" class="autocomplete ui-autocomplete-input" size="32" maxlength="32" tabindex="7" type="text"> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span>Versione</span></label> <span class="input"> <input autocomplete="off" id="os_build" name="os_build" class="autocomplete ui-autocomplete-input" size="16" maxlength="16" tabindex="8" type="text"> </span> <span class="label-style"></span> </div> </div> <div style="display: block;" id="profile_closed" class="collapse-section-closed collapse-open"> </div> <div class="field-container"> <label><span>Versione del prodotto</span></label> <span class="select"> <select tabindex="9" id="product_version" name="product_version"> <option selected="selected" value=""></option><option value="1.0">1.0</option> </select> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span>Assegna a</span></label> <span class="select"> <select tabindex="10" id="handler_id" name="handler_id"> <option value="0" selected="selected"></option> <option value="3">Beppe</option><option value="8">Dario</option><option value="2">Filippo</option><option value="13">Piero</option><option value="10">Stefano</option> </select> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span>Assegnata alla versione</span></label> <span class="select"> <select tabindex="11" id="target_version" name="target_version"> <option selected="selected" value=""></option> </select> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span class="required">*</span><span>Riassunto</span></label> <span class="input"> <input tabindex="12" id="summary" name="summary" size="105" maxlength="128" type="text"> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span><span class="required">*</span>Descrizione</span></label> <span class="textarea"> <textarea tabindex="13" id="description" name="description" cols="80" rows="10"></textarea> </span> <span class="label-style"></span> </div> <div class="field-container"> <label> <span> <label for="custom_field_4">Cliente</label> </span> </label> <span class="input"> <select tabindex="14" id="custom_field_4" name="custom_field_4[]" size="5" multiple="multiple"><option value="(Globale)">(Globale)</option><option value="ASP-SR">ASP-SR</option><option value="Candela">Candela</option><option value="CTAVillaSantAntonio">CTAVillaSantAntonio</option><option value="Day Hospital">Day Hospital</option><option value="Finazzo">Finazzo</option><option value="Gibiino">Gibiino</option><option value="Locorotondo">Locorotondo</option><option value="MaterDei">MaterDei</option><option value="Mediterraneo">Mediterraneo</option><option value="Morana">Morana</option><option value="Orestano">Orestano</option><option value="Pamafir">Pamafir</option><option value="RSASantAntonio">RSASantAntonio</option><option value="RSAVillaSanGiorgio">RSAVillaSanGiorgio</option><option value="SanCamillo">SanCamillo</option><option value="SantaRita">SantaRita</option><option value="SoGeSa">SoGeSa</option><option value="Tirri">Tirri</option><option value="Triolo">Triolo</option><option value="Vanico">Vanico</option><option value="VillaDeiGerani">VillaDeiGerani</option><option value="VillaMargherita">VillaMargherita</option></select><input name="custom_field_4_presence" value="1" type="hidden"> </span> <span class="label-style"></span> </div> <div class="field-container"> <label> <span> <label for="custom_field_5">Ore stimate</label> </span> </label> <span class="input"> <input tabindex="15" id="custom_field_5" name="custom_field_5" size="80" maxlength="255" type="text"><input name="custom_field_5_presence" value="1" type="hidden"> </span> <span class="label-style"></span> </div> <span class="label-style"></span> </fieldset></form></div> <div class="field-container"> <label><span>Visibilità</span></label> <span class="input"> <label><input tabindex="16" name="view_state" value="10" checked="checked" type="radio"> pubblico</label> <label><input tabindex="17" name="view_state" value="50" type="radio"> privato</label> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span>Rimani sul report</span></label> <span class="input"> <label><input tabindex="18" id="report_stay" name="report_stay" type="checkbox"> attiva per notificare più anomalie</label> </span> <span class="label-style"></span> </div> <span class="submit-button"> <input tabindex="19" class="button" value="Invia la segnalazione" type="submit"> </span> </div> </div> <div id="footer"> <hr> <div id="powered-by-mantisbt-logo"> <a href="http://www.mantisbt.org/" title="Mantis Bug Tracker: a free and open source web based bug tracking system."> <img src="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/mantis_logo.png" alt="Powered by Mantis Bug Tracker: a free and open source web based bug tracking system." height="35" width="102"> </a> </div> <address id="mantisbt-copyright"> <address id="version">Powered by <a href="http://www.mantisbt.org/" title="bug tracking software">MantisBT </a></address> Copyright © 2000 - 2015 MantisBT Team</address> <address id="webmaster-contact-information">Contattare <a href="mailto:%3Cspan%20class=" notranslate"="" translate="no">info@probussrl.it" title="Contatta il webmaster via e-mail.">amministratore</a> per assistenza</address> </div> <ul style="display: none;" tabindex="0" id="ui-id-1" class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content"></ul><span class="ui-helper-hidden-accessible" aria-relevant="additions" aria-live="assertive" role="status"></span><ul style="display: none;" tabindex="0" id="ui-id-2" class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content"></ul><span class="ui-helper-hidden-accessible" aria-relevant="additions" aria-live="assertive" role="status"></span><ul style="display: none;" tabindex="0" id="ui-id-3" class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content"></ul><span class="ui-helper-hidden-accessible" aria-relevant="additions" aria-live="assertive" role="status"></span></body></html> |
|
Filippo, |
|
Yes, absolutely, I had the problem also with the standard css. |
|
I tried that too, but I'm not seeing these artifacts here. I'll have a look at the provided html and see if I can find the cause there.
The beta is there to let users test things, in the hope they will let us know when something's wrong, so ideally you could (should) have reported this earlier. |
|
You're right, in fact I'm gonna report some other little bug (for example, a problme regarding the administrator e-mail link not showing correctly in the footer with the italian translation). |
|
OK, so looking at the HTML, I see
If I move the </fieldset></form></div> (line 203) below the submit-button span (line 223) and remove the isolated label-style span (line 202), then the page displays properly. I can only explain this by customized code. Even the HTML layout does not match what is generated by the PHP script. Are you absolutely sure you did not modify bug_report_page.php in any way ? |
|
Believe me, I didn't touch any php file. If you want, I can attach all the mantis directory of my website. |
|
I filed another bug regarding an "html corruption" with the italian translation of mantis. Could it be the case for this bug too? |
|
|
|
Same problem with english version. |
|
Sorry but I cannot think of any other way to explain the differences in generated HTML. Do you apply any javascript / jQuery ?
Not the whole directory if you assure me it is standard MantisBT, but for sure the config file(s) and any other customization you may have done. For the record: this is your file
And this is what I get from a standard install:
|
|
Here is it my config.inc file. config_inc.php (4,532 bytes)
<?php $g_hostname = 'xxx.xxx.xxx.xxx'; $g_db_type = 'mysql'; $g_database_name = 'xxxxxxxxxxxxx'; $g_db_username = 'xxxxxxxxxxxxx'; $g_db_password = 'xxxxxxxxxxxx'; $g_allow_signup = OFF; $g_send_reset_password = ON; $g_lost_password_feature = OFF; $g_default_language = 'italian'; $g_window_title = 'FB Bug Tracker'; $g_manual_url = 'http://www.probussrl.it/mantis/'; $g_enable_project_documentation = OFF; $g_show_footer_menu = OFF; $g_status_legend_position = STATUS_LEGEND_POSITION_BOTTOM; $g_filter_position = FILTER_POSITION_TOP; $g_show_queries_count = OFF; $g_my_view_bug_count = 8; $g_logo_image = 'images/logo.png'; $g_favicon_image = 'images/favicon.ico'; $g_my_view_boxes = array ( 'assigned' => '1', 'feedback' => '2', 'recent_mod' => '3', 'reported' => '4', 'unassigned' => '5', 'monitored' => '6', 'resolved' => '7', 'verify' => '8'); $g_short_date_format = 'd M Y'; $g_normal_date_format = 'd M Y H:i'; $g_complete_date_format = 'd M Y H:i T'; $g_status_colors = array( 'new' => '#f8f8ff', 'feedback' => '#c4f8ba', 'acknowledged' => '#ffffb0', 'confirmed' => '#E6C44F', 'assigned' => '#A7BFED', 'resolved' => '#8ACA8A', 'closed' => '#679867'); $g_default_bug_severity = FEATURE; $g_default_bug_reproducibility = REPRODUCIBILITY_NOTAPPLICABLE; $g_display_bug_padding = 4; $g_enable_email_notification = ON; # select the method to mail by: # 0 - mail() # 1 - sendmail # 2 - SMTP $g_phpMailer_method = 0; $g_administrator_email = 'info@probussrl.it'; $g_webmaster_email = 'info@probussrl.it'; # the sender email, part of 'From: ' header in emails $g_from_email = 'info@probussrl.it'; # the sender name, part of 'From: ' header in emails $g_from_name = 'FB Bug Tracker'; # the return address for bounced mail $g_return_path_email = 'info@probussrl.it'; $g_view_issues_page_columns = array ( 'selection', 'id', 'summary', 'priority', 'category_id', 'handler_id', 'last_updated' ); $g_print_issues_page_columns = array ( 'id', 'summary', 'description', 'category_id', 'severity', 'resolution' ); $g_bug_report_page_fields = array( 'category_id', 'view_state', 'handler', 'priority', 'severity', 'reproducibility', 'platform', 'os', 'os_version', 'product_version', 'product_build', 'target_version', 'summary', 'description' ); $g_bug_view_page_fields = array ( 'id', 'project', 'category_id', 'view_state', 'date_submitted', 'last_updated', 'reporter', 'handler', 'priority', 'severity', 'reproducibility', 'status', 'resolution', 'projection', 'platform', 'os', 'os_version', 'product_version', 'product_build', 'target_version', 'fixed_in_version', 'summary', 'description', 'attachments', 'tags' ); $g_bug_update_page_fields = array ( 'id', 'project', 'category_id', 'view_state', 'date_submitted', 'last_updated', 'reporter', 'handler', 'priority', 'severity', 'reproducibility', 'status', 'resolution', 'projection', 'platform', 'os', 'os_version', 'product_version', 'product_build', 'target_version', 'fixed_in_version', 'summary', 'description', 'attachments', ); $g_bug_change_status_page_fields = array ( 'id', 'project', 'category_id', 'view_state', 'date_submitted', 'last_updated', 'reporter', 'handler', 'priority', 'severity', 'reproducibility', 'status', 'resolution', 'projection', 'platform', 'os', 'os_version', 'product_version', 'product_build', 'target_version', 'fixed_in_version', 'summary', 'description', 'attachments', 'tags', ); $g_time_tracking_enabled = ON; $g_crypto_master_salt = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; $g_default_bug_relationship_clone = BUG_BLOCKS; ?> |
|
I didn't include my custom css file because I've the same problem with the original css. |
|
@Filippo, |
|
At this moment I don't remember (I'll check later), but I'm pretty sure that it's 5.6. |
|
OK, I've checked my PHP version. It's 5.6.3 5.2.14 I'll try all these versions and will report you if there are any differences. |
|
I've tested all PHP versions from 5.2.14 to 5.6.3. |
|
Could you please check if changing line 370 in core/cfdefs/cfdef_standard.php
fixes the issue? |
|
No, it doesn't. Nuova anomalia - FB Bug Tracker rev 2.htm (15,992 bytes)
<!DOCTYPE html> <html><head> <meta http-equiv="Content-type" content="text/html; charset=UTF-8"> <meta name="robots" content="noindex,follow"> <title>Nuova anomalia - FB Bug Tracker</title> <link rel="stylesheet" type="text/css" href="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/default.css"> <link rel="stylesheet" type="text/css" href="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/jquery-ui-1.css"> <link rel="stylesheet" type="text/css" href="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/common_config.css"> <link rel="stylesheet" type="text/css" href="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/status_config.css"> <link rel="shortcut icon" href="http://www.probussrl.it/mantis/images/favicon.ico" type="image/x-icon"> <link rel="search" type="application/opensearchdescription+xml" title="MantisBT: Text Search" href="http://www.probussrl.it/mantis/browser_search_plugin.php?type=text"> <link rel="search" type="application/opensearchdescription+xml" title="MantisBT: Issue Id" href="http://www.probussrl.it/mantis/browser_search_plugin.php?type=id"> <script type="text/javascript" src="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/javascript_config.php"></script><style>#content > #right > .dose > .dosesingle, #content > #center > .dose > .dosesingle {display:none !important;}</style> <script type="text/javascript" src="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/javascript_translations.php"></script> <script type="text/javascript" src="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/jquery-1.js"></script> <script type="text/javascript" src="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/jquery-ui-1.js"></script> <script type="text/javascript" src="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/common.js"></script> </head> <body> <div id="mantis"> <div id="banner"><a id="logo-link" href="http://www.probussrl.it/mantis/my_view_page.php"><img id="logo-image" alt="FB Bug Tracker" src="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/logo.png"></a></div><div class="info-bar"> <div id="login-info"> <span id="logged-in-label">Utente</span> <span id="logged-in-user">Filippo</span> <span id="logged-in"> <span id="logged-in-realname">Filippo Mannino</span> <span id="logged-in-accesslevel" class="amministratore">amministratore</span> </span> </div> <div id="rss-feed"> <a href="http://www.probussrl.it/mantis/issues_rss.php?username=Filippo&key=ambFhkh2vjn-UX83xQjgF0prpey3m8Vpj6lJj6rJwKuAFUdgRL69XrtfnqLpd7z2txB2IOpjCeIf6nkdgsNC&project_id=8"> <img src="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/rss.png" alt="RSS" title="RSS"> </a> </div> <div id="project-selector-div"><form method="post" id="form-set-project" action="/mantis/set_project.php"><fieldset id="project-selector"><label for="form-set-project-id">Progetto</label><select id="form-set-project-id" name="project_id"><option value="0">Tutti i progetti</option> <option value="8" selected="selected">EHS</option> <option value="8;31"> » EHS - CdM</option> <option value="8;29"> » EHS - Gibiino</option> <option value="8;24"> » EHS - Mater Dei</option> <option value="8;32"> » EHS - SBH</option> <option value="8;27"> » EHS - VDG</option> <option value="30">EHS MS</option> <option value="28">Gestisco</option> <option value="10">MCD</option> </select> <input style="display: none;" class="button" value="Cambia" type="submit"></fieldset></form></div><div id="current-time">08 Dec 2015 12:34 CET</div></div> <div class="main-menu"> <ul id="menu-items"> <li><a href="http://www.probussrl.it/mantis/my_view_page.php">Riepilogo personale</a></li> <li><a href="http://www.probussrl.it/mantis/view_all_bug_page.php">Visualizza anomalie</a></li> <li><a href="http://www.probussrl.it/mantis/bug_report_page.php">Nuova anomalia</a></li> <li><a href="http://www.probussrl.it/mantis/changelog_page.php">Registro modifiche</a></li> <li><a href="http://www.probussrl.it/mantis/roadmap_page.php">Rilasci</a></li> <li><a href="http://www.probussrl.it/mantis/summary_page.php">Sommario</a></li> <li><a class="manage-menu-link" href="http://www.probussrl.it/mantis/manage_overview_page.php">Amministra</a></li> <li><a class="account-menu-link" href="http://www.probussrl.it/mantis/account_page.php">Account</a></li> <li><a href="http://www.probussrl.it/mantis/billing_page.php">Tempistiche</a></li> <li><a id="logout-link" href="http://www.probussrl.it/mantis/logout_page.php">Esci</a></li> </ul> <div id="bug-jump"><form method="post" class="bug-jump-form" action="/mantis/jump_to_bug.php"><fieldset class="bug-jump"><input name="bug_label" value="Anomalia #" type="hidden"><input value="Anomalia #" class="field-default" name="bug_id" size="8" type="text"> <input value="Vai" type="submit"> </fieldset></form></div> </div> <div id="content"> <div class="recently-visited">Esaminate di recente: <a href="http://www.probussrl.it/mantis/view.php?id=5143" title="[nuova] SDAO 1282/2015 CORREZIONE DATA PRESCRIZIONE TERAPIA">5143</a>, <a href="http://www.probussrl.it/mantis/view.php?id=3133" title="[nuova] Nuova opzione struttura per vincolare la creazione della descrizione intervento solo in presenza di procedure di sala operatori">3133</a>, <a href="http://www.probussrl.it/mantis/view.php?id=5142" title="[chiusa] SDO 1622/2015 NON E' POSSIBILE FIRMARE LA SCHEDA INTERVENTO CHIRURGICO" class="resolved">5142</a>, <a href="http://www.probussrl.it/mantis/view.php?id=5141" title="[confermata] La stored XML_DOC_EMESSO_DATI_PAGAMENTO va riscritta">5141</a></div><div id="report-bug-div" class="form-container"> <form id="report-bug-form" method="post" action="bug_report.php?posted=1"> <fieldset class="has-required"> <legend><span>Report dettagliato</span></legend> <input name="bug_report_token" value="20151208HnH1BRjPU3esWGA41fYMg2ML0Ilkqemm" type="hidden"> <input name="m_id" value="0" type="hidden"> <input name="project_id" value="8" type="hidden"> <div class="field-container"> <label><span><span class="required">*</span>Categoria</span></label> <span class="select"> <select tabindex="1" id="category_id" name="category_id" class="autofocus"> <option value="0" selected="selected">(seleziona)</option><option value="52">Attività</option><option value="57">Idee</option><option value="53">Personalizzazione</option><option value="58">Prestazioni</option><option value="55">Revisione</option><option value="56">Sviluppo</option> </select> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span>Riproducibilità</span></label> <span class="input"> <select tabindex="2" id="reproducibility" name="reproducibility"> <option value="10">sempre</option><option value="30">qualche volta</option><option value="50">casuale</option><option value="70">non testato</option><option value="90">non riproducibile</option><option value="100" selected="selected">non pertinente</option> </select> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span>Gravità</span></label> <span class="input"> <select tabindex="3" id="severity" name="severity"> <option value="10" selected="selected">nuova funzionalità</option><option value="20">banale</option><option value="30">ortografia</option><option value="40">ritocco</option><option value="50">minore</option><option value="60">maggiore</option><option value="70">crash</option><option value="80">blocco</option> </select> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span>Priorità</span></label> <span class="input"> <select tabindex="4" id="priority" name="priority"> <option value="10">nessuna</option><option value="20">bassa</option><option value="30" selected="selected">normale</option><option value="40">alta</option><option value="50">urgente</option><option value="60">immediata</option> </select> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span>Seleziona il profilo</span></label> <span class="select"> <select tabindex="5" id="profile_id" name="profile_id"> <option selected="selected" value="">(seleziona)</option><option value="1">PC Tutti Tutte</option> </select> <a style="display: inline; cursor: pointer;" id="profile_closed_link" class="collapse-link"><img src="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/plus.png" alt="+"></a>oppure completa </span> <span class="label-style"></span> </div> <div style="display: none;" id="profile_open" class=" collapse-closed"> <div class="field-container"> <label><span>Piattaforma</span></label> <span class="input"> <input autocomplete="off" id="platform" name="platform" class="autocomplete ui-autocomplete-input" size="32" maxlength="32" tabindex="6" type="text"> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span>S.O.</span></label> <span class="input"> <input autocomplete="off" id="os" name="os" class="autocomplete ui-autocomplete-input" size="32" maxlength="32" tabindex="7" type="text"> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span>Versione</span></label> <span class="input"> <input autocomplete="off" id="os_build" name="os_build" class="autocomplete ui-autocomplete-input" size="16" maxlength="16" tabindex="8" type="text"> </span> <span class="label-style"></span> </div> </div> <div style="display: block;" id="profile_closed" class="collapse-section-closed collapse-open"> </div> <div class="field-container"> <label><span>Versione del prodotto</span></label> <span class="select"> <select tabindex="9" id="product_version" name="product_version"> <option selected="selected" value=""></option><option value="1.0">1.0</option> </select> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span>Assegna a</span></label> <span class="select"> <select tabindex="10" id="handler_id" name="handler_id"> <option value="0" selected="selected"></option> <option value="3">Beppe</option><option value="8">Dario</option><option value="2">Filippo</option><option value="13">Piero</option><option value="10">Stefano</option> </select> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span>Assegnata alla versione</span></label> <span class="select"> <select tabindex="11" id="target_version" name="target_version"> <option selected="selected" value=""></option> </select> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span class="required">*</span><span>Riassunto</span></label> <span class="input"> <input tabindex="12" id="summary" name="summary" size="105" maxlength="128" type="text"> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span><span class="required">*</span>Descrizione</span></label> <span class="textarea"> <textarea tabindex="13" id="description" name="description" cols="80" rows="10"></textarea> </span> <span class="label-style"></span> </div> <div class="field-container"> <label> <span> <label for="custom_field_4">Cliente</label> </span> </label> <span class="input"> <select tabindex="14" id="custom_field_4" name="custom_field_4[]" size="5" multiple="multiple"><option value="(Globale)">(Globale)</option><option value="ASP-SR">ASP-SR</option><option value="Candela">Candela</option><option value="CTAVillaSantAntonio">CTAVillaSantAntonio</option><option value="Day Hospital">Day Hospital</option><option value="Finazzo">Finazzo</option><option value="Gibiino">Gibiino</option><option value="Locorotondo">Locorotondo</option><option value="MaterDei">MaterDei</option><option value="Mediterraneo">Mediterraneo</option><option value="Morana">Morana</option><option value="Orestano">Orestano</option><option value="Pamafir">Pamafir</option><option value="RSASantAntonio">RSASantAntonio</option><option value="RSAVillaSanGiorgio">RSAVillaSanGiorgio</option><option value="SanCamillo">SanCamillo</option><option value="SantaRita">SantaRita</option><option value="SoGeSa">SoGeSa</option><option value="Tirri">Tirri</option><option value="Triolo">Triolo</option><option value="Vanico">Vanico</option><option value="VillaDeiGerani">VillaDeiGerani</option><option value="VillaMargherita">VillaMargherita</option></select><input name="custom_field_4_presence" value="1" type="hidden"> </span> <span class="label-style"></span> </div> <div class="field-container"> <label> <span> <label for="custom_field_5">Ore stimate</label> </span> </label> <span class="input"> <input tabindex="15" id="custom_field_5" name="custom_field_5" size="80" maxlength="255" type="text"><input name="custom_field_5_presence" value="1" type="hidden"> </span> <span class="label-style"></span> </div> <span class="label-style"></span> </fieldset></form></div> <div class="field-container"> <label><span>Visibilità</span></label> <span class="input"> <label><input tabindex="16" name="view_state" value="10" checked="checked" type="radio"> pubblico</label> <label><input tabindex="17" name="view_state" value="50" type="radio"> privato</label> </span> <span class="label-style"></span> </div> <div class="field-container"> <label><span>Rimani sul report</span></label> <span class="input"> <label><input tabindex="18" id="report_stay" name="report_stay" type="checkbox"> attiva per notificare più anomalie</label> </span> <span class="label-style"></span> </div> <span class="submit-button"> <input tabindex="19" class="button" value="Invia la segnalazione" type="submit"> </span> </div> </div> <div id="footer"> <hr> <div id="powered-by-mantisbt-logo"> <a href="http://www.mantisbt.org/" title="Mantis Bug Tracker: a free and open source web based bug tracking system."> <img src="Nuova%20anomalia%20-%20FB%20Bug%20Tracker_files/mantis_logo.png" alt="Powered by Mantis Bug Tracker: a free and open source web based bug tracking system." width="102" height="35"> </a> </div> <address id="mantisbt-copyright"> <address id="version">Powered by <a href="http://www.mantisbt.org/" title="bug tracking software">MantisBT </a></address> Copyright © 2000 - 2015 MantisBT Team</address> <address id="webmaster-contact-information">Contattare <a href="mailto:%3Cspan%20class=" notranslate"="" translate="no">info@probussrl.it" title="Contatta il webmaster via e-mail.">amministratore</a> per assistenza</address> </div> <ul style="display: none;" tabindex="0" id="ui-id-1" class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content"></ul><span class="ui-helper-hidden-accessible" aria-relevant="additions" aria-live="assertive" role="status"></span><ul style="display: none;" tabindex="0" id="ui-id-2" class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content"></ul><span class="ui-helper-hidden-accessible" aria-relevant="additions" aria-live="assertive" role="status"></span><ul style="display: none;" tabindex="0" id="ui-id-3" class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content"></ul><span class="ui-helper-hidden-accessible" aria-relevant="additions" aria-live="assertive" role="status"></span></body></html> |
|
OK, I got it. The problem occurs when hiding the 'attachments' field (in $g_bug_report_page_fields - did not test for others yet) |
|
MantisBT: master 9e9433a9 2015-12-08 03:54 Details Diff |
Fix HTML with hidden 'attachments' fields in report_page.php When the 'attachments' field is hidden from the Report Issue page (via $g_bug_report_page_fields config option), the code generated invalid HTML which caused a display artifact. Fixes 0020352 |
Affected Issues 0020352 |
|
mod - bug_report_page.php | Diff File |