Return-Path: X-Original-To: apmail-manifoldcf-dev-archive@www.apache.org Delivered-To: apmail-manifoldcf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1DBADC749 for ; Sun, 30 Nov 2014 12:55:13 +0000 (UTC) Received: (qmail 15977 invoked by uid 500); 30 Nov 2014 12:55:12 -0000 Delivered-To: apmail-manifoldcf-dev-archive@manifoldcf.apache.org Received: (qmail 15920 invoked by uid 500); 30 Nov 2014 12:55:12 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 15909 invoked by uid 99); 30 Nov 2014 12:55:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Nov 2014 12:55:12 +0000 Date: Sun, 30 Nov 2014 12:55:12 +0000 (UTC) From: "Karl Wright (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CONNECTORS-969) Output connectors that use a JSON description string likely to fail 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/CONNECTORS-969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Karl Wright resolved CONNECTORS-969. ------------------------------------ Resolution: Fixed r1642540 (trunk) > Output connectors that use a JSON description string likely to fail > ------------------------------------------------------------------- > > Key: CONNECTORS-969 > URL: https://issues.apache.org/jira/browse/CONNECTORS-969 > Project: ManifoldCF > Issue Type: Bug > Components: File system connector > Affects Versions: ManifoldCF 1.6.1 > Reporter: Karl Wright > Assignee: Karl Wright > Fix For: ManifoldCF 2.0 > > > When JSON is used as a description string, the order of terms in JSON is not determined - it is hashmap dependent. This means that the strings cannot be compared reliably between different versions of Java. Since these strings are stored in the database, upgrading java versions for these connectors might well cause all records going to them to be reindexed. > JSON is also quite wordy (although better than XML) and is not a great fit for database storage for this reason. > The alternative is to use the pack primitives that are available from the base connector class. -- This message was sent by Atlassian JIRA (v6.3.4#6332)