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

Add support for Nested Documents in the Download Action

    Details

    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Implementation note: We should stop having Actions do the parsing of the URL and instead use the already parsed reference which can be retrieved with:

      ResourceReference resourceReference = Utils.getComponent(ResourceReferenceManager.class).getResourceReference();
      EntityResourceReference entityResource = (EntityResourceReference) resourceReference;
      entityResource.getEntityReference()...
      

      Note that ideally the Actions would need to be rewritten by implementing ResourceReferenceHandler<EntityResourceAction>.

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

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

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h