[xwiki-users] rollback problem wiht Chinese page and how I solved it
I found that when I rollback a page with Chinese name. It caused some exceptions, and the rollback action fails. This problem only takes place in IE6, in IE7, firefox, it's ok. I believed it's encoding proble. Without clicked the rollback button on the history page, I copied the rollback URL into IE6 adress field directly, and go. It's OK. The difference is that when I clicked the rollback, xwiki use pop-up window to confirm whether to rollback. But when I put the link in adress field, xwiki confirm with me by normal page with yes and no button. So I think the problem is the pop-up window. I go to historyinlin.vm and find <pre><td class="xwikibuttonlink"> $tdoc.getURL( $msg.get("core.versions.delete.single") </td></pre> I changed it to <pre><td class="xwikibuttonlink"> $tdoc.getURL( $msg.get("rollback")</pre> then it can rollback. -- View this message in context: http://www.nabble.com/rollback-problem-wiht-Chinese-page-and-how-I-solved-it... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi LiDan, Thanks for reporting this. Would be great if you could create a jira issue on http://jira.xwiki.org Thanks -Vincent On Jun 17, 2008, at 5:06 AM, LiDan wrote:
I found that when I rollback a page with Chinese name. It caused some exceptions, and the rollback action fails. This problem only takes place in IE6, in IE7, firefox, it's ok. I believed it's encoding proble. Without clicked the rollback button on the history page, I copied the rollback URL into IE6 adress field directly, and go. It's OK. The difference is that when I clicked the rollback, xwiki use pop-up window to confirm whether to rollback. But when I put the link in adress field, xwiki confirm with me by normal page with yes and no button. So I think the problem is the pop-up window. I go to historyinlin.vm and find <pre><td class="xwikibuttonlink"> $tdoc.getURL( $msg.get("core.versions.delete.single") </td></pre> I changed it to <pre><td class="xwikibuttonlink"> $tdoc.getURL( $msg.get("rollback")</pre> then it can rollback.
OK, I have created the issue. see http://jira.xwiki.org/jira/browse/XE-266 vmassol wrote:
Hi LiDan,
Thanks for reporting this. Would be great if you could create a jira issue on http://jira.xwiki.org
Thanks -Vincent
On Jun 17, 2008, at 5:06 AM, LiDan wrote:
I found that when I rollback a page with Chinese name. It caused some exceptions, and the rollback action fails. This problem only takes place in IE6, in IE7, firefox, it's ok. I believed it's encoding proble. Without clicked the rollback button on the history page, I copied the rollback URL into IE6 adress field directly, and go. It's OK. The difference is that when I clicked the rollback, xwiki use pop-up window to confirm whether to rollback. But when I put the link in adress field, xwiki confirm with me by normal page with yes and no button. So I think the problem is the pop-up window. I go to historyinlin.vm and find <pre><td class="xwikibuttonlink"> $tdoc.getURL( $msg.get("core.versions.delete.single") </td></pre> I changed it to <pre><td class="xwikibuttonlink"> $tdoc.getURL( $msg.get("rollback")</pre> then it can rollback.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://www.nabble.com/rollback-problem-wiht-Chinese-page-and-how-I-solved-it... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
LiDan -
Vincent Massol