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

Remove deprecated properties reload the editor

    XMLWordPrintable

Details

    • Integration
    • Unknown
    • N/A
    • N/A

    Description

      Reproduction steps:

      • Create an xclass with 2 string properties "Foo" and "Bar"
      • Create an xobject for that xclass
      • Edit the xclass to remove "Foo"
      • Edit the xobject in the object editor
      • Edit the property "Bar"
      • Click on the link to remove deprecated properties

      Expected result:

      • the deprecated properties link should run in background, preserving the changes performed in the editor

      Obtained result:

      • a confirmation dialog is opened asking if the user wants to leave the editor, if the user refuses a notification appears saying that deprecated properties are removed, but in reality it's not the case
      • if the modified property was done in a select, then the editor is reloaded without confirmation dialog leading to loosing change (because of XWIKI-24319)

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: