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

$xwiki.getConfiguredSyntaxes() not equals to $services.rendering.getConfiguredSyntaxes()

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 8.4.1, 8.2.2
    • Fix Version/s: None
    • Component/s: Configuration
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      When xwiki.cfg and xwiki.properties contains no clue about the configured syntax (core.defaultDocumentSyntax and xwiki.rendering.syntaxes commented), the list of configured syntax reported by $xwiki.getConfiguredSyntaxes() is xwiki/1.0 while the list reported by $services.rendering.getConfiguredSyntaxes() is xwiki/2.1
      The first one is deprecated, but it should not be different than the second one.
      Moreover, user upgrading their wiki from older version might end up having the first one used in the displayer of the XWikiPreferences class, since no update is applied apparently.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              softec Denis Gervalle
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: