[MGNLTPLSMPL-29] Adjust to the Content API removal from LinkUtil Created: 15/Sep/17  Updated: 25/Sep/17  Resolved: 22/Sep/17

Status: Closed
Project: Freemarker Templating Samples
Component/s: None
Affects Version/s: None
Fix Version/s: 5.4

Type: Task Priority: Neutral
Reporter: Michael Mühlebach Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: tech-debt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
caused by MAGNOLIA-7146 Remove Content API from info/magnolia... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: Remove Content API
Sprint: Kromeriz 114
Story Points: 0.5

 Description   
[ERROR] /Users/romankovarik/git/templating-samples/src/main/java/info/magnolia/module/samples/model/InternalLinkModel.java:[97,42] no suitable method found for createLink(info.magnolia.cms.core.DefaultContent)
    method info.magnolia.link.LinkUtil.createLink(javax.jcr.Node) is not applicable
      (argument mismatch; info.magnolia.cms.core.DefaultContent cannot be converted to javax.jcr.Node)
    method info.magnolia.link.LinkUtil.createLink(javax.jcr.Property) is not applicable
      (argument mismatch; info.magnolia.cms.core.DefaultContent cannot be converted to javax.jcr.Property)

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