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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 12.10.7, 13.4-rc-1
    • 13.2-rc-1, 12.10.6
    • Windows 10 Pro 64 bit, Firefox 88, using a local instance XWiki 13.3 on Oracle 19c, Tomcat 9.0.45
    • High
    • Trivial
    • N/A
    • N/A

    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
      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 clicked on "Attach", a warning is displayed for the request containing an invalid authentication information.

      At this point if clicked "Yes" the user is directed to a page titled 'Uploading files to $escapetool.xml($redirect)' (with a notice about no files being found on the request) and if clicked "No", the user is directed to "$escapetool.xml($redirect)" (non existent page).

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

      The issue doesn't reproduce on XWiki 12.10.5 and XWiki 13.1.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: