Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 013FC1792A for ; Mon, 2 Feb 2015 20:51:35 +0000 (UTC) Received: (qmail 17746 invoked by uid 500); 2 Feb 2015 20:51:35 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 17708 invoked by uid 500); 2 Feb 2015 20:51:35 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 17697 invoked by uid 99); 2 Feb 2015 20:51:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2015 20:51:35 +0000 Date: Mon, 2 Feb 2015 20:51:35 +0000 (UTC) From: "Hudson (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4452) s:optiontransferselect javascript functions no longer work with negative integer keys MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14301901#comment-14301901 ] Hudson commented on WW-4452: ---------------------------- SUCCESS: Integrated in Struts-JDK6-develop #129 (See [https://builds.apache.org/job/Struts-JDK6-develop/129/]) WW-4452 Solves problem with using -1 as headerKey (lukaszlenart: rev 312a2717cf2f7094e42a83f7f05cb493c3d393c8) * core/src/main/resources/org/apache/struts2/static/optiontransferselect.js * core/src/main/resources/org/apache/struts2/static/inputtransferselect.js > s:optiontransferselect javascript functions no longer work with negative integer keys > ------------------------------------------------------------------------------------- > > Key: WW-4452 > URL: https://issues.apache.org/jira/browse/WW-4452 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.3.20 > Reporter: Brent N Atkinson > Assignee: Lukasz Lenart > Fix For: 2.3.22 > > > It appears that the change made to fix WW-4365 broke the javascript functions used to implement onclick handlers for the s:optiontransferselect tag. > While attempting an upgrade to 2.3.20 from 2.3.16.3, all pages containing tags like the following are broken (tests fail): > {code} > > {code} > Since the regular expression used to match the header keys now always attempts to match on word boundary, the change introduced in WW-4365, it will not match negative numbers like '-1'. This is likely to break a number of applications since [the struts 2 documentation for optiontransferselect|https://cwiki.apache.org/confluence/display/WW/optiontransferselect] suggests using '-1'. -- This message was sent by Atlassian JIRA (v6.3.4#6332)