Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19352

Indexing of the attachments usage on the wiki

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 13.10.2
    • Fix Version/s: 14.2-rc-1
    • Component/s: Attachments
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Pull Request Status:
      Pull Request accepted
    • Similar issues:

      Description

      In order to easily identify documents that needs to be refactored when an attachment is moved or renamed, we need to store a map of the places where attachments are used, and there current locations.

      On a live wiki, this mapping can be maintained by scanning documents when they are saved.
      We also need to have a background process close to what we already have for solr indexing, to also scan documents existing prior to the introduction of this mechanism.

      Additionally, a full indexation must be done once at migration time to distinguish document references from attachment references.

       

      See https://design.xwiki.org/xwiki/bin/view/Proposal/Attachmentsmoveandrename#HDatabase

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mleduc Manuel Leduc
              Reporter:
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: