Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 09EAA188C9 for ; Fri, 4 Dec 2015 20:34:13 +0000 (UTC) Received: (qmail 92121 invoked by uid 500); 4 Dec 2015 20:34:12 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 92044 invoked by uid 500); 4 Dec 2015 20:34:11 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 92013 invoked by uid 99); 4 Dec 2015 20:34:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Dec 2015 20:34:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 233D42C1F6E for ; Fri, 4 Dec 2015 20:34:11 +0000 (UTC) Date: Fri, 4 Dec 2015 20:34:11 +0000 (UTC) From: "Sam Tunnicliffe (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-8146) Fix validation of collections in TriggerExecutor 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/CASSANDRA-8146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sam Tunnicliffe updated CASSANDRA-8146: --------------------------------------- Component/s: Coordination > Fix validation of collections in TriggerExecutor > ------------------------------------------------ > > Key: CASSANDRA-8146 > URL: https://issues.apache.org/jira/browse/CASSANDRA-8146 > Project: Cassandra > Issue Type: Bug > Components: Coordination > Reporter: Sam Tunnicliffe > Assignee: Sam Tunnicliffe > Fix For: 2.1.1 > > Attachments: 8146.txt > > > TriggerExecutor.validate uses o.a.c.cql.QueryProcessor (i.e. the cql2 version) to validate cells in generated mutations. This suffers from the same issue with collections as described in CASSANDRA-7665. > With cql2 being removed in 3.0, TriggerExecutor in trunk does the right thing and uses the Cell's validateFields method, so we should just do the same thing in 2.1. -- This message was sent by Atlassian JIRA (v6.3.4#6332)