[ACE-4327] Folder Links Broken in Document Details Page Created: 29-Sep-15  Updated: 19-Jan-17

Status: Open
Project: Alfresco One Platform
Component/s: Document Library
Affects Version/s: Community Edition 201508 EA
Fix Version/s: None

Type: Bug Priority: Unprioritized
Reporter: David Webster [X] (Inactive) Assignee: PO Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

All


Issue Links:
Blocks
Regression Since:
5.0
Affects:
User Interface
Cloud or Enterprise: Cloud and Enterprise

 Description   

This issue was raised in RM as RM-2609, but reproduces without the RM module installed.

The folder links on the document details page are encoded twice. This means that when the link is clicked, instead of correctly processing the filter, the Document Library is unable to find the correct page.

Steps to reproduce

  1. Within a site, create a folder containing a document.
  2. Visit the Document details page for that document
  3. Click the folder link in the node header to visit the containing folder.

Expected Result:

  • The folder is loaded in the document library

Actual Result:

  • The site root folder is loaded because the URL is incorrect

Note: This issues does not reproduce on the Shared Files doc lib.

Expected URL:

http://localhost:8080/share/page/site/12345/documentlibrary?file=wefwef&path=%2Ftestsetset%2Festest

Actual URL:

http://localhost:18080/share/page/site/12345/documentlibrary?file=wefwef&path=%2Ftestsetset%2Festest

Cause of the issue:
The fix in r110048 adds more proactive encoding within alfresco-macros.lib.ftl, this means that some things that shouldn't be encoded actually are.


Generated at Tue Jul 07 03:26:09 BST 2020 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.