Closed
Bug 484963
Opened 16 years ago
Closed 13 years ago
Extra Rows and Columns in HTML tables when sending from MS Access
Categories
(MailNews Core :: Simple MAPI, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: franc.sutherland, Unassigned)
Details
(Whiteboard: [closeme 2012-04-15])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Build Identifier: version 2.0.0.21 (20090302)
Prior to the latest update of Thunderbird, I could send HTML email from MS Access using the SendObject command without problem.
It copied and pasted some source-code from within Access into the body of an HTML email and it displayed fine.
Now, when I use this command, Thunderbird is adding in extra columns and rows. It may be mis-reading formatting within the source-code as code itself. e.g. It is seeing a carriage return as a <br/> tag. I can't say for sure, but the transposed source-code is littered with <br/> tags, which weren't there before the copy across.
Reproducible: Always
Steps to Reproduce:
1. Type an HTML coded table into a text box in MS Access
e.g.
<table>
<tr>
<td>
Here
</td>
<td>
There
</td>
</tr>
<tr>
<td>
And
</td>
<td>
Everywhere
</td>
</tr>
</table>
2. Use the SendObject command (acFormatHTML) to generate an HTML email with the default email client, pasting in the HTML coded table into the body of the email.
3.
Actual Results:
This generates a 5 x 5 table, with the expected content in the 2 and 4 rows, 2 and 4 columns.
i.e.
row 1 empty
row 2 c1 empty c2 'Here' c3 empty c4 'There' c5 empty
row 3 empty
row 4 c1 empty c2 'And' c3 empty c4 'Everywhere' c5 empty
row 5 empty.
I hope this is clear.
It is a 5x5 matrix and the cells containing words have one empty cell in all directions around them.
Expected Results:
The HTML code should generate a 2 x 2 table.
I don't remember any Access 2003 updates lately, so I'm reporting the problem here just because there was a few Thunderbird updates lately, and on the Access forum I use, someone suggested it was more likely.
I've tried this on Shredder and SeaMonkey and the problem is replicated in both.
I've put this down as a major problem as it is for me, and I'm guessing that it will be for others too, but just guessing.
| Reporter | ||
Updated•16 years ago
|
Comment 1•16 years ago
|
||
access and html4 keywords have nothing to do with this bug.
| Reporter | ||
Comment 2•16 years ago
|
||
Sorry Mark. No harm intended.
Have you tried pasting the table into any other client and checking the code?
Could you try pasting it into TinyMCE or another editor and checking the code:
http://tinymce.moxiecode.com/examples/simple.php
Comment 4•16 years ago
|
||
Reporter could you answer to comment #3, please?
Could you try to see if it still happens with
http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-comm-1.9.1/ ?
| Reporter | ||
Comment 5•16 years ago
|
||
Hello hansen and Aureliano,
Sorry for my slow replies.
hansen, to answer your question, I tried the same exercise with Shredder and Seamonkey and got the same problem with both.
I pasted the table into TinyMCE following your link and the Source Output from the Post was:
------
<p><img style="float: right; margin: 5px;" src="img/logo.jpg" alt=" " width="250" height="48" /></p>
<table border="0" cellspacing="0" cellpadding="0">
<br />
<tbody>
<tr>
<br />
<td><br /> Here <br /></td>
<br />
<td><br /> There <br /></td>
<br />
</tr>
<br />
<tr>
<br />
<td><br /> And <br /></td>
<br />
<td><br /> Everywhere <br /></td>
<br />
</tr>
<br />
</tbody>
</table>
-----
As you can see this is quite different from the original HTML which was put in to the email.
Aureliano,
I've downloaded and installed the latest version of Shredder as you suggested.
I tried the same exercise, generating the HTML table from the text box in MS Access. It worked differently, but still not correctly, at least as far as I can tell. It still have extra rows and breaks. I copied the table into TinyMCE as before and the generated source was:
----
<p><img style="float: right; margin: 5px;" src="img/logo.jpg" alt=" " width="250" height="48" /></p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<tr>
<br />
<td><br /> Here <br /></td>
<br />
<td><br /> There <br /></td>
<br />
</tr>
<tr>
<td><br /> There <br /></td>
</tr>
<tr>
<br />
<td><br /> And <br /></td>
<br />
<td><br /> Everywhere <br /></td>
<br />
</tr>
<tr>
<td><br /> Everywhere <br /></td>
</tr>
</tr>
</tbody>
</table>
----
Thanks for taking the time to look into this.
All the best,
Franc.
| Reporter | ||
Comment 6•16 years ago
|
||
I meant to mention that I added the cellpadding="0" and cellspacing="0" to see if that helped, but it didn't.
All the best,
Franc,
Comment 7•16 years ago
|
||
So either something is broken in simple mapi - but I doubt that or something is broken in Core. Sid do you think this could come from simple mapi ?
| Reporter | ||
Comment 8•16 years ago
|
||
Hello everyone,
Is there any update on this bug?
All the best,
Franc.
Comment 9•13 years ago
|
||
Franc, do you still see this problem?
Component: Message Compose Window → Simple MAPI
Product: Thunderbird → MailNews Core
QA Contact: message-compose → simple-mapi
Comment 10•13 years ago
|
||
Franc we've fixed simple mapi recently could you test http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/ and let us know if it works better ?
Whiteboard: [closeme 2012-04-15]
| Reporter | ||
Comment 11•13 years ago
|
||
Hi Ludovic,
I'm just about to go on holiday, but I will test it out next week.
Thanks to everyone for sticking with this one.
All the best,
Franc.
Comment 12•13 years ago
|
||
Franc ?
| Reporter | ||
Comment 13•13 years ago
|
||
Hi Ludovic.
I'll be testing it this evening (UK time) and will report the result.
Thanks again,
Franc.
| Reporter | ||
Comment 14•13 years ago
|
||
Hi Ludovic,
Sorry for delay, crazy times.
I followed the link to download the nightly but I don't know which one to download. I use version 2.0.0.24 and don't want it overwritten. Can I install the nightly without losing my version 2? (I couldn't get to grips with the tabs instead of windows)
Thanks, Franc.
Comment 15•13 years ago
|
||
Yes just be carefull when you install :-)
Comment 16•13 years ago
|
||
RESOLVED INCOMPLETE due to lack of response to previous question. If you feel this change was made in error, please respond to this bug with your reasons why.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
| Reporter | ||
Comment 17•13 years ago
|
||
Hi Wayne and Ludovic,
Sorry for the delay guys. I finally got round to testing it this morning.
It has been fixed. A 2 x 2 html table is generated.
Excellent. Thanks for sorting it out.
Franc.
Resolution: INCOMPLETE → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•