Uploaded image for project: 'Freemarker Templating Samples'
  1. Freemarker Templating Samples
  2. MGNLTPLSMPL-29

Adjust to the Content API removal from LinkUtil

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • 5.4
    • None
    • Kromeriz 114
    • 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)
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rkovarik Roman Kovařík
                mmuehlebach Michael Mühlebach
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR