Closed Bug 369217 Opened 18 years ago Closed 17 years ago

Changed case in functions name "LoadMsgWithRemoteContent()" != "loadMsgWithRemoteContent()"

Categories

(Thunderbird :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird2.0

People

(Reporter: Thunderbird_Mail_DE, Assigned: mscott)

Details

(Keywords: verified1.8.1.4)

Attachments

(1 file)

In Mozilla_1.8.0_Branch the function is spelled "LoadMsgWithRemoteContent()", but in Mozilla_1.8_Branch the function is spelled "loadMsgWithRemoteContent()".

This case change breaks all Add-ons using the function (e.g. "Allow HTML temp").

Was it intended to change the case? Why?
Flags: blocking-thunderbird2?
In LXR both the upper case and the lower case can be found in 1.8_Branch.
Maybe it's a result of Bug 246077
ah sorry - false Bug in comment #2

The problem could be the result of Bug 357321
Moving off bugs that didn't make the deadline for Thunderbird 2. 
Flags: blocking-thunderbird2? → blocking-thunderbird2-
5 weeks ago I've reported this Bug and today we've still no Thunderbird 2.0 RC candidate. IMHO the functions case change breaks the API.

Scott, you could give a one sentence statement, if this case change was intended or not? 
5 weeks ago I've reported this Bug and today we've still no Thunderbird 2.0 RC candidate. IMHO the functions case change breaks the API.

Scott, you could give a one sentence statement, if this case change was intended or not?
I found this addon by Alexander on the website:

https://addons.mozilla.org/thunderbird/1556/

There's a comment that says 'finaly fixed a bug with remote content code'. Does that mean you've worked around this in your extension?
(In reply to comment #7)
> There's a comment that says 'finaly fixed a bug with remote content code'. Does
> that mean you've worked around this in your extension?

At the moment (AllowHTMLtemp 1.0) the extension checks Thunderbirds version and build date to distinguish between the different cases.
I can fix this for tb2 but you'd have to tweak your extension again. is that ok?
I'll adapt the version/build check in the extension to match the correct case. Thanks
Alexander, I apologize, but I'm still confused (it happens to me near release time :)). Would you like to see this patch still get checked in?

Thanks!
-Scott
If the case change was not intended by any reason, than I'd like to see the checkin.
Attachment #258710 - Flags: superreview?(bienvenu)
Attachment #258710 - Flags: superreview?(bienvenu) → superreview+
fixed branch and trunk.
Status: NEW → RESOLVED
Closed: 17 years ago
Keywords: fixed1.8.1.4
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird2.0
Just wondering, what is with these two code lines in LXR:

/mailnews/base/resources/content/mailWindowOverlay.js, line 2187 -- * loadMsgWithRemoteContent

/mailnews/base/resources/content/mailWindowOverlay.js, line 2190 -- function loadMsgWithRemoteContent()
didn't find it in lines 2187 and 2190, but lines 2278 and 2281

http://lxr.mozilla.org/mozilla/source/mail/base/content/mailWindowOverlay.js#2277

2277 /**
2278  * loadMsgWithRemoteContent
2279  *   Reload the current message, allowing remote content
2280  */
2281 function loadMsgWithRemoteContent()
(In reply to comment #16)
> didn't find it in lines 2187 and 2190, but lines 2278 and 2281

/mail/  is not  /mailnews/
v.fixed based on code inspection
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: