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

Character replacement strategy configuration erroring with cyrillic characters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Solved By
    • Affects Version/s: 12.10.4
    • Fix Version/s: None
    • Component/s: Model
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      I try to use Character Replacement Strategy for replace cyrillic symbols to latin.

      this is ok for case: A->a, Б->b, В->v, Г->g etc.
      but is no propertly work for case when inserting rules for replace special chars, for example “space”->"_", and next attempt to insert a new rule breaks the data structure, see screenshot:

      https://ibb.co/LvpCrkH
      https://ibb.co/j45zPvt
      https://ibb.co/HpDDZtJ
      https://ibb.co/p01sRMG
      https://ibb.co/94TkV78

      What’s going on? Where is a problem?
      Windows Server + Tomacat 9 + Postgree 11(Encoding: UTF-8, collation:Russian_Russia.1251, character type:Russian_Russia.1251)

      There are other ways to convert Cyrillic to Latin for URLs?

      https://forum.xwiki.org/t/page-naming-strategies-api-not-work-propertly/8299

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              surli Simon Urli
              Reporter:
              DenisF Denis F
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: