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

Data being removed when a property is renamed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 2.0 M3
    • Old Core
    • mysql, case-insensitive databases
    • class property rename
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:

      1. make a class and add a Number property named Test (with a capital T)
      2. make another page, where you add the class you just created and set a value for Test
      3. set the wiki code to view the object property
      $doc.use("PropertyRenameTest")

      • $doc.display("Test")
      • $doc.display("test")
        4. rename the name of the property from Test to test (with a small t).
        5. the value will be lost

      When you display the instance at step 3, you will see a value at the first list item. When you view the instance after step 4, you will see no value for either Test or test.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              jpeeters Johannes Peeters
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: