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

Adding a class property that already exists succeeds without errors, although the property wasn't really added

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      1. Open a document in the class editor
      2. Add a property named "prop"; success
      3. Add a property named "prop", with a different type; apparently success, but only one of the two properties really exists, usually the first one.

      Ideally, step 3 should fail with a warning, "Property <<prop>> already exists"

      Attachments

        1. duplicate.png
          69 kB
          Ecaterina Moraru (Valica)
        2. XWIKI-5524Patch
          2 kB
          Stefan Abageru

        Issue Links

          Activity

            People

              sdumitriu Sergiu Dumitriu
              sdumitriu Sergiu Dumitriu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: