found a core bug in MT (4.xx and 5.0)

bill george's Avatar

bill george

18 Jan, 2011 05:01 PM

I've been trying to pass the word on this for awhile.

there are internal meta varibles to represent the root,support and archive paths.

(%r, %s, %s)

there is code in MT/ (file_path) that seems to get this wrong (around line 67):

return $path if defined($path) && ($path !~ m!^\$!) && (-f $path);

should be:

return $path if defined($path) && ($path !~ m!^\%!) && (-f $path);

You guys might want to check Melody and throw in a few comments in this area to help explain WTF is going on. Lemme know what you decide to do.


Bill George

  1. 1 Posted by Rick on 31 Jan, 2011 05:53 PM

    Rick's Avatar

    So Bill, have you noticed any problems resulting from this bug? You should post this to the pronet at list also.

  2. 2 Posted by William George on 04 Feb, 2011 12:56 AM

    William George's Avatar

    I bumped into this while testing something or other (error message in the log). I really don't remember. My goal is to make the mte.log actually be usable as an error log. I've pulled out dozens of relatively small bugs. This one was a particularly easy one to verify.

    I entered it into the 6a bug system (the japanese one?). Needless to say, no response from the 6a MT team, and (when I last checked) its still in the MT5 code.



    -----Original Message-----
    From: Rick [mailto:[email blocked]]
    Sent: Mon 1/31/2011 12:53 PM
    To: William George
    Subject: Re: found a core bug in MT (4.xx and 5.0) [Problems]

  3. Support Staff 3 Posted by Jay Allen on 30 Nov, 2011 06:52 PM

    Jay Allen's Avatar

    Hi Bill, sorry to have missed your post. You did the right thing by entering the problem into Six Apart's FogBugz account as they maintain MT. We have no power to do anything other than exactly what you did.

  4. Jay Allen closed this discussion on 30 Nov, 2011 06:52 PM.

  5. William George re-opened this discussion on 30 Nov, 2011 07:28 PM

  6. 4 Posted by William George on 30 Nov, 2011 07:28 PM

    William George's Avatar

    You did see the date on this, right?

    Almost 10 months old. Did you even check the code?


  7. Support Staff 5 Posted by Jay Allen on 30 Nov, 2011 07:54 PM

    Jay Allen's Avatar

    I saw the date which is why I apologized for missing your post and I did not, in fact, check the code because, as I mentioned, we have absolutely nothing to do with developing or maintaining Movable Type.

    If I misunderstood what you were trying to communicate please clarify. Thanks

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac