[MGNLCDEP-24] Enable "dependencies" tab in DMS Created: 19/Sep/12  Updated: 21/Jun/19  Resolved: 15/Nov/13

Status: Closed
Project: Content Dependencies
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Magnolia International Assignee: Federico Grilli
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty

 Description   

The current dependencies tab/control can currently be used in a page property, to show where that page is used (IIRC?), as well as what assets that page links to (other pages, dms documents, ...)

It can not be used in the DMS dialog. I naively tried adding it to the default dms dialog, but a document would always claim to have no dependencies/references.

However, I found out that the info.magnolia.module.dependencies.Dependencies#getReferencesTo implementation should be finding those references. This method is apparently only used in DependenciesServlet. I'm not sure what the intended use of the servlet is (please enlighten me!), but indeed, pointing my browser to: http://localhost:8080/.magnolia/dependencies?repository=dms&path=/demo-docs/sheet-music/Bach/SonataIV-a4 – shows me a list of pages where that specific document has been used.

Therefore, I'm assuming the path to close the gap between the dialog control and those dms dependencies could be pretty small.

Users often ask about ways to figure out where documents are used.


Generated at Mon Feb 12 00:11:48 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.