When pressing the SAVE button for node edit, the message warning "If you proceed all of your changes will be lost" pops up. If you select OK, the changes are saved properly.
This message does not happen in Firefox, but does appear in IE7, IE8.

CommentFileSizeAuthor
save-error.JPG35.87 KBGRRaka

Comments

GRRaka’s picture

Project: Drupal core » Content locking (anti-concurrent editing)
Version: 6.22 » 6.x-2.6
Component: node system » User interface
eugenmayer’s picture

CL tries to match your patch and white-lists specific paths the user can "change to". Those paths are mostly generic, like node/add//edit, but we had some issues in the paths. Please tell us, what is the path you are currently using? Are you using any weired redirects?

UPDATE: well, if FF works, our regexp might be flaky for IE? We are actually using CL with IE8 on a D 6.22 without any issues. IE7 is, for "authors", not part of what i would go for support here, i dont care about this browser and wont actually actively fix anything for it :)

ohnobinki’s picture

This is fixed in f5d88cd which will appear in 6.x-2.8 and fb06fe4 which will appear in 7.x-1.3.

A related issue that needs to be looked at is how content_lock uses certain JS libraries. For example, this bug appears to be caused by a misfunctioning (and possibly outdated?) onUserExit.js jQuery plugin.

ohnobinki’s picture

Also, another note, I encounterred this error in seamonkey-2.7.1 which should function in the same way as firefox. I'm not sure if the fix handles IE, it doesn't fix it on IE6 for me—but few people seem to support IE6 nowadays. Yet I was unable to test it on IE7 or IE8 just yet because that platform is inaccessible to me at the moment.

GRRaka’s picture

Status: Active » Closed (fixed)