Help - Search - Members - Calendar
Full Version: Safari Bug that Affects MT Users
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
garrett
Here’s what happens:

Movable Type uses the same name for its textarea on both the Edit Comment page and the Edit Entry page. Both are named “text.� When you view the Edit Comment page to delete a comment, Safari caches the text inside that textarea. Then, immediately after clicking the Delete button, MT forwards you to the comment’s related entry.

This is where the problem starts. Safari loads the cached comment text into the “text� textarea on the Edit Entry page.

I've verified this by viewing the source of a page on which the entry's content was replaced by comment content, and the source does indeed contain the proper content even though the page itself does not. You can view an example here: http://www.maniacalrage.net/archives/2003/...g_reduction.php

If you hit save, you’ll post the text in the actual box to your server, and overwrite your entry.

So the problem is Safari. And it’s a cache problem. I’ve reported a bug to Apple, trackbacked an entry to Dave Hyatt, so hopefully at least someone will fix this in the long run. In the meantime, just be careful if you’re a Safari/MT user.
mcroft
Good catch! I can duplicate this using v85.5 Anyone care to try on Panther? I hear it's a later build of Safari

A workaround is to use the checkbox/delete function on the entry page.
maddy
Already noted. smile.gif In that thread I link to a weblog page where both Mena and Anil have commented. smile.gif
garrett
Maddy,

Okay, glad to know it's already been reported. I am surprised, however, that MT hasn't been updated to fix this situation.

As you can read from my bug report, caching seems to occur because both textareas are named "text." Changing one of them might solve this problem, so I think it's a good idea to keep this bug in the limelight.

And this problem still occurs in Panther (Safari 1.1).
maddy
QUOTE (garrett @ Oct 31 2003, 04:01 AM)
Okay, glad to know it's already been reported. I am surprised, however, that MT hasn't been updated to fix this situation.

I'm sure it 's on the list of things to do. In the mean time, it's not a critical bug that is going to affect the vast majority of users... wink.gif Perhaps Safari will be upgraded to fix the bug?

QUOTE
caching seems to occur because both textareas are named "text." Changing one of them might solve this problem

Have you tried making a back up copy of, and editing tmpl/edit_comment.tmpl or edit_entry.tmpl to see if that will work? huh.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.