XWiki Platform
  1. XWiki Platform
  2. XWIKI-7719

Modifing attachments when viewing only attachments for a page with ?viewer=attachments redirects to the Document#Attachments url instead of the ?viewer=attachments

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:
      XWIKI-7674Attach files problem on Glassfish 3.1.2
      XWIKI-7933Sort document attachments by filename
      XWIKI-4988After deleting an imported attachment the user is redirected to the Global Administration
      XWIKI-286added parameter to save action to allow redirect to edit action instead of view
      XWIKI-816Exception when deleting attachments from the Import page
      XWIKI-1394Login redirect problem
      XWIKI-873A Page created via an attachment gets no creator
      XWIKI-4495Can't delete page with attached image
      XWIKI-7753Newer versions of (doc, docx) attachments are not indexed by Lucene
      XWIKI-1976Importing attachments will increase the attachment version

      Description

      To reproduce:

      • go to a page's attachments view (through the viewer), say xwiki/bin/view/Sandbox/WebHome?viewer=attachments
      • upload a new attachment
      • now you're on xwiki/bin/view/Sandbox/WebHome#Attachments instead of back on xwiki/bin/view/Sandbox/WebHome?viewer=attachments

      This is annoying in the following situations:
      1/ when you want to only handle attachments for a page, you're not interested in the content of a page. In this case you might see things that you're not interested in and loose the focus / not find the list of attachments anymore (if you have a big screen and few attachments, the attachments list is all the way at the bottom when it was high up in the top of the page before)
      2/ when you have a different skin applied on the wiki and the attachments tab doesn't exist, therefore #Attachments doesn't make sense. In this case, if you need to make more attachments operations, you need to reput ?viewer=attachments manually at the end of the url every time

      Same happens for ?viewer=attachmentsinline and it can be equally annoying.

        Activity

        Hide
        Sergiu Dumitriu added a comment -

        Fixed in 7e29672.

        Show
        Sergiu Dumitriu added a comment - Fixed in 7e29672.

          People

          • Assignee:
            Sergiu Dumitriu
            Reporter:
            Anca Luca
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response: