| Anonymous | Login | Signup for a new account | 2010-07-29 10:09 EDT | ![]() |
| Main | My View | View Issues | Change Log | Roadmap | Wiki | ManTweet | Repositories |
| View Issue Details [ Jump to Notes ] [ Wiki ] | [ Issue History ] [ Print ] | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |
| 0010564 | mantisbt | other | public | 2009-06-05 06:36 | 2009-06-26 11:59 | |
| Reporter | Jimi_Joma | |||||
| Assigned To | jreese | |||||
| Priority | normal | Severity | tweak | Reproducibility | always | |
| Status | closed | Resolution | unable to reproduce | |||
| Platform | OS | OS Version | ||||
| Product Version | 1.1.7 | |||||
| Target Version | Fixed in Version | |||||
| Summary | 0010564: Mantis is generating empty spaces in field description, summary (all textareafields) | |||||
| Description | While adding a new bug there are many empty spaces in all textfields at the beginning of each field. When you want to enter for example summary the mousepointer starts at about 16 blanks. Each time you update a bug, Mantis adds more empty spaces. | |||||
| Additional Information | This problem could be solved by changing the files: bug_report_page.php; bug_report_advanced_page.php;bug_update_page.php and bug_update_advanced_page.php For example: Change this piece of sourcecode <!-- Description --> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php echo lang_get( 'description' ) ?> </td> <td colspan="5"> <textarea <?php echo helper_get_tab_index() ?> cols="80" rows="10" name="description"><?php echo $t_bug->description ?></textarea> </td> </tr> into: <!-- Description --> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php echo lang_get( 'description' ) ?> </td> <td colspan="5"> <textarea <?php echo helper_get_tab_index() ?> cols="80" rows="10" name="description"><?php echo $t_bug->description ?></textarea> </td> </tr> without a line break in the textarea and you wont have empty spaces in your textarea. | |||||
| Tags | No tags attached. | |||||
| Attached Files | ||||||
Notes |
|
|
jreese (administrator) 2009-06-05 09:36 |
I can't reproduce this in any version of Mantis, not to mention that a line break in the middle of an HTML tag like that should never cause random spaces to be inserted into the text field. It's part of the HTML specification that whitespace between tag attributes is insignificant. |
|
Jimi_Joma (reporter) 2009-06-06 06:15 |
This problem could not reproduced with the original mantis files, you are right. In my files I had that line break and two tabs and W3C says: "The TEXTAREA element creates a multi-line text input control. User agents should use the contents of this element as the initial value of the control and should render this text initially.(http://www.w3.org/TR/html401/interact/forms.html#h-17.7 [^])" So the empty spaces are produced by line break with two tabs in the middle of these HTML Tags. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-06-05 06:36 | Jimi_Joma | New Issue | |
| 2009-06-05 06:36 | Jimi_Joma | File Added: Mantis.doc | |
| 2009-06-05 09:36 | jreese | Note Added: 0022051 | |
| 2009-06-05 09:36 | jreese | Status | new => resolved |
| 2009-06-05 09:36 | jreese | Resolution | open => unable to reproduce |
| 2009-06-05 09:36 | jreese | Assigned To | => jreese |
| 2009-06-06 06:15 | Jimi_Joma | Note Added: 0022053 | |
| 2009-06-26 11:59 | vboctor | Status | resolved => closed |
| MantisBT 1.2.2 git master-1.2.x[^]
Copyright © 2000 - 2010 MantisBT Group
Time: 0.2240 seconds. memory usage: 1,942 KB |