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

Cannot delete a translated xclass document

    XMLWordPrintable

Details

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

    Description

      Reproduction steps:

      1. Using an Admin user being an advanced user
      2. Create a page Main.XClass with a single property
      3. Create a page Main.XObject containing an xobject of type Main.XClass
      4. Go to administration -> Content -> Localization, and configure the wiki to multilingual with French and English languages
      5. Go to Main.XClass and translate the page in french
      6. From the french version of Main.XClass click on Other actions -> Delete
      7. When asking for removing the xclass, click on the checkbox to select the page and then click on confirm

      Obtained result:

      • the UI displays done, but nothing has been deleted

      Expected result:

      • there's two possibilities:
        1. either the deletion on step 6 should be immediate and should concern only the translation page, since the translation itself does not contain the xclass properties, so it's safe and there should not be any question
        2. or the deletion should actually delete all translation pages

      Note that solution 1 probably makes more sense since when deleting a translation page, it only deletes the translation, not all pages.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: