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

"Attach" and "Cancel" buttons are displayed in Attachment Tab when in-place edit mode is cancelled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 15.0-rc-1, 14.10.2
    • 14.8
    • Windows 11 Pro 64 bit, Firefox 107, using a local instance of XWiki 14.10.1 on MariaDB 10.6, Tomcat 9.0.70, reproducible also on Jetty/HSQL
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      STEPS TO REPRODUCE

      1. Go to a page
      2. On that page, click on Attachments Tab
      3. Click 'Edit' button to edit the page in-place mode
      4. Click 'Cancel'

      EXPECTED RESULTS

      The page is directed to View Mode, no other buttons are displayed in Attachments Tab section.

      ACTUAL RESULTS

      The page is directed to View Mode, but on Attachment Tab, below the "Browse" button are displayed another 2 buttons: "Attach" and "Cancel".

      If clicked on "Cancel", the page is refreshed and these 2 buttons disappear, but when click on "Attach", the user is directed to a LD containing attachments for the respective page.

      It is to be mentioned that "Attach" and "Cancel" buttons disappear if the page is refreshed (F5), as the page directs to Comments Tab.

      The issue also reproduced on XWiki 14.8, but could not be reproduced on XWiki 14.7 or XWiki 14.4.7.

      Attachments

        Activity

          People

            mleduc Manuel Leduc
            iandriuta Ilie Andriuta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: