Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONFLUENCE-295

Handle page reference collisions related page naming strategies that are not injective functions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 9.57.0
    • XML
    • None
    • Unknown

    Description

      Currently, in import, the name strategy set on the wiki is used to generate page names (apparently since CONFLUENCE-61).
      If the current naming strategy can produce the same target name from two different origin names, things will probably not go well.

      We should handle the situation by either:

      • issuing a warning
      • producing a new name to avoid the collision,
        • this needs to be deterministic. Maybe by using the Confluence page id.

      Note that all default provided name strategies for XWiki are not injective functions (same output can be obtained for 2 different inputs), but for some the transformation / collision risk is higher than others. Slug name strategy has a higher risk of collision than the character suppression strategy

      Attachments

        Activity

          People

            Unassigned Unassigned
            rjakse Raphaƫl Jakse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: