Hi Claudio, ccoreggioli wrote: > Hi Marius, > > i prepared a test environment where i can always reproduce the problem, if > you want to try it. > > You can edit this page: > > https://www.gidi.it/xwiki/bin/view/Claudio/ProvaLink
I managed to reproduce the issue on a virtual machine with IE7. Sorry for not letting you know. I've been busy all day debugging. It seems IE7's implementation of cloneNode and removeAttribute is buggy. For instance the following code crashes the browser: {{html}} <script type="text/javascript"> function testRemoveAttribute(element, attributeName) { var clone = element.cloneNode(); clone.removeAttribute(attributeName); var attrNode = element.getAttributeNode(attributeName); return !!attrNode ? attrNode.specified : 'missing'; } function action(hook) { var attrName = 'foobar'; var element = document.createElement('span'); element.setAttribute(attrName, 'xwiki'); alert(testRemoveAttribute(element, attrName)); alert(testRemoveAttribute(element, attrName)); alert(testRemoveAttribute(element, attrName)); } </script> <button onclick="action(this)">Action</button> {{/html}} The behavior is really strange. I'm just cloning an element and removing an attribute from the clone. The first time the original element still has the attribute, the second time the attribute appears as unspecified, and the third time the browser crashes. I rely on cloneNode and removeAttribute for "serializing" the content before submitting it. I still don't understand why the "serialization" doesn't fail all the time but just when you edit the text around the link. I'm still investigating. I'll try to fix this issue asap. > > since i made you admin of "Claudio" space. The site is quite slow, due to a > couple of "bounces" before the real server (proxying & mod_jk), but i assure > you that i face the same behaviour going directly to it. Site is in https, > but after logon you'll be redirected to the http version, that doesn't work > from outside my company (public site cannot be touched). Simply change the > protocol back to https and you'll be in again. > > You can use marius for both username and password. Thanks again for your support. I hope to have a fix asap. I'll continue debugging on my virtual machine. Thanks, Marius > > As said, the issue is with IE7. I got version 7.0.5730.13 running on XP sp3. > Every other browsers work fine. > > Thanks again, > claudio > _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users