[MGNLSTK-993] Website URL of a contact is not displayed Created: 16/Aug/12  Updated: 24/Aug/12  Resolved: 16/Aug/12

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: paragraphs
Affects Version/s: 2.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4
Fix Version/s: 2.0.5

Type: Bug Priority: Neutral
Reporter: Samuel Schmitt Assignee: Samuel Schmitt
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
dependency
Template:
Acceptance criteria:
Empty

 Description   

The problem comes from the model info.magnolia.module.templatingkit.templates.components.ContactModel.
The method getWebsite must search in the contact and not in the content.

Replace this method with:

    public String getWebsite() {
        return templatingFunctions.externalLink(contact, "web");
    }

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