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

Attachments appear with version 1.2 when creating a page using a template that already has attachments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Solved By
    • Major
    • None
    • 10.4, 11.10.4, 11.10.12, 12.6.5
    • Attachments
    • None
    • Windows 10, XWiki 10.4, 10.5, 11.10.4, 11.10.12, 12.6.5 Standard, IE 11 / Chrome 87 / Firefox 82
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:

      1. Create a page and add some attachments (pdf, doc, jpeg eg.)
      2. Observe the versions with which the attachments are created
      3. Go to "Administer Wiki"
      4. Go to Content and click on Page Templates
      5. Write a "Template Provider" name in the Page field
      6. Click on Create
      7. Write a name in the "Template name" field
      8. In the "Template to use" field, put the PageName.Space of the previously created page
      9. Click "Save and View"
      10. Create a new page using the template
      11. Observe the version with which the attachments are created

      Expected results: The attachments are created with version 1.1 in both cases.

      Actual results:

      1. The attachments are created with version 1.1 when uploaded on the page that is used as template
      2. The attachments appear with version 1.2 ONLY, on the page created using the template.
        Version 1.1 doesn't appear at all

      Attachments

        1. TemplatePage.jpg
          TemplatePage.jpg
          64 kB
        2. 11.10.2.jpg
          11.10.2.jpg
          79 kB
        3. 10.4.jpg
          10.4.jpg
          40 kB
        4. 10.5.jpg
          10.5.jpg
          32 kB
        5. 12.6.5.jpg
          12.6.5.jpg
          74 kB
        6. No 1.1 version.jpg
          No 1.1 version.jpg
          48 kB

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              ganechitoaei Gabriela Anechitoaei
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: