Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-15497

Keyword tags generated from metadata extraction are formed into a single string rather than split on delimiter

    Details

      Description

      Description

      Multiple keyword tags are not being split on the comma delimiter, instead they are being added as one long tag (that includes the comma)

      In 5.0.1, the behavior is different as only the first word is used as a tag, the rest are ignored.

      Steps to reproduce
      1. Install 5.0.2.5 Alfresco
      2. Place the attached 'metadata-context.xml' and 'TikaAutoMetadataExtracter.properties' into the ~/shared/classes/alfresco/extension
      3. Upload various documents containing metadata to repository (example PDF attached)
      4. Browse to document library, select a document and view its tags
      Expected behaviour

      All tags are separated and individual tags created for each string

      Observed Behaviour

      Metadata tags are not being split on delimiter (comma) and are shown as one long tag, made up of all the tags (see attached error.png)

        Attachments

        1. after_fix.png
          after_fix.png
          29 kB
        2. Bacon Ipsum.pdf
          30 kB
        3. error.png
          error.png
          28 kB
        4. metadata-context.xml
          2 kB
        5. TikaAutoMetadataExtracter.properties
          2 kB

          Issue Links

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                jtsmith John-Taylor Smith
              • Votes:
                6 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 6 hours, 30 minutes
                  2d 6h 30m