[MAGNOLIA-6136] Consolidate info.magnolia.cms.util.LinkUtil into info.magnolia.link.LinkUtil Created: 20/Mar/15  Updated: 06/Aug/15  Resolved: 06/Aug/15

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

Type: Improvement Priority: Neutral
Reporter: Philip Mundt Assignee: Evzen Fochr
Resolution: Fixed Votes: 0
Labels: cleanup, improvement, quickwin
Remaining Estimate: 0d
Time Spent: 0.25h
Original Estimate: Not Specified

Issue Links:
Relates
relates to MAGNOLIA-4759 Provide method to add a fingerprint t... Closed
dependency
is depended upon by MGNLDAM-608 Use info.magnolia.link.LinkUtil inste... Closed
is depended upon by MGNLSTK-1502 Use info.magnolia.link.LinkUtil inste... Closed
is depended upon by MGNLUI-3514 Use info.magnolia.link.LinkUtil inste... 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:
Sprint: Sprint 4 (Kromeriz)
Story Points: 2

 Description   

Both classes provide (mainly) static method related to links. info.magnolia.cms.util.LinkUtil in particual only provides two methods for adding and removing fingerprints (timestamps) to links.



 Comments   
Comment by Magnolia International [ 20/Mar/15 ]

There is much work needed in terms of link. See ARCHI-4 and https://wiki.magnolia-cms.com/display/DEV/Concept+-+Link+API+overhaul

Comment by Jan Haderka [ 29/Jul/15 ]

Actually irrespective of the other improvements described in concept page, LinkUtil in cms package was deleted long time ago and was reintroduced only with MAGNOLIA-4759 because someone didn't look/find the preferred one in link package and reviewer of the ticket didn't spot the mistake either. So the cms one should be marked deprecated and methods of it moved to the link based one and deleted again later.

Comment by Jaroslav Simak [ 06/Aug/15 ]

Since all methods in info.magnolia.cms.util.LinkUtil are deprecated, please deprecate also class itself.

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