Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-969

Output connectors that use a JSON description string likely to fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • ManifoldCF 1.6.1
    • ManifoldCF 2.0
    • File system connector
    • None

    Description

      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.

      Attachments

        Activity

          People

            kwright@metacarta.com Karl Wright
            kwright@metacarta.com Karl Wright
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: