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

Class properties with double-underscores should not be underlined

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.2
    • Fix Version/s: 7.4-milestone-1
    • Component/s: XClass
    • Labels:
      None
    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Steps to reproduce:

      1. Go to /xwiki/bin/view/XWiki/XWikiClasses
      2. Create a class named "Test"
      3. Add a class property to TestClass named foo__bar (note the double underscores)
      4. Save and view the class

      Expected results: The property should be listed as

      foo__bar (foo__bar: Email)

      Actual results: The property is listed as

      foo<ins>bar (foo</ins>bar: Email)

      See the attached screenshots.

      This bug is a real problem for PhenoTips, which frequently uses double underscores in property names.

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              alex.henrie Alex Henrie
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: