You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2014/06/18 15:12:02 UTC
[jira] [Created] (CONNECTORS-969) Output connectors that use a JSON
description string likely to fail
Karl Wright created CONNECTORS-969:
--------------------------------------
Summary: 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 1.7
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.2#6252)