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

HeadingNameNamingCriterion use an hardcoded value for the maximum size of document name

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.10.5
    • Fix Version/s: None
    • Component/s: Refactoring
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Instead of using an hardcoded value it should use the store API to ask what is the actual limit.

      Also since it only check the document name it's not really accurate since the name of a document cannot have the maximum size of the whole reference.

      See https://github.com/xwiki/xwiki-platform/blob/749e2e388b4ce27d598b9b1ebedee7f7ec188f1e/xwiki-platform-core/xwiki-platform-refactoring/xwiki-platform-refactoring-api/src/main/java/org/xwiki/refactoring/splitter/criterion/naming/HeadingNameNamingCriterion.java#L142

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: