[MAGNOLIA-4759] Provide method to add a fingerprint to an url (e.g. for Assets) Created: 03/Jan/13  Updated: 20/Mar/15  Resolved: 08/Jan/13

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0

Type: Improvement Priority: Neutral
Reporter: Christopher Zimmermann Assignee: Christopher Zimmermann
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MAGNOLIA-6136 Consolidate info.magnolia.cms.util.Li... Closed
dependency
is depended upon by MGNLUI-340 Images and assets should be cached on... Closed
is depended upon by MGNLSTK-1063 InternalAssetVariation should add a f... Closed
relation
is related to MGNLSTK-1066 Propagate LinkUtil Renaming from core... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

We need a method that is available to STK and Magnolia UI, and possibly other modules that will take the lastModified value of a node and insert it as text into an existing link.
Create static method addAssetCacheFingerprintToLink to new class LinkUtilAsset.



 Comments   
Comment by Christopher Zimmermann [ 03/Jan/13 ]

Added addAssetCacheFingerprintToLink method.

Comment by Daniel Lipp [ 08/Jan/13 ]

That type should be renamed to info.magnolia.cms.util.LinkUtil as it's not really restricted to Assets. The name clash with the existing LinkUtil will be eliminated with MAGNOLIA-4765.

Comment by Christopher Zimmermann [ 08/Jan/13 ]

type renamed to info.magnolia.cms.util.LinkUtil.
Tests moved.
Tests improved with explicit test of fingerprint text.

Generated at Mon Feb 12 03:58:46 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.