Skip to content

Adding non alphanumeric characters causes error in Gen Link #10

Description

@blipson89

Quote from Suhas Muralidhara

Hi Team,

I see that when ever we add characters like & ,<,>,",' in the text field of general link we get the below issue "Field control has failed to render: An error occurred while parsing EntityName. Line 1, position 75." .Can you help us out with this?

Thanks,
Suhas

Activity

  1. gerjanlonink commented on Nov 6, 2014

    @gerjanlonink

    Hello Team,

    Is there any update on this?

    Thanks,

    Gerjan

  2. AaronFredetteVelir commented on Dec 17, 2014

    @AaronFredetteVelir
    Contributor

    Hi Gerjan,
    I've just checked in a fix for this issue. If you pull the latest branch you should be good to go.

    Thanks,
    Aaron F.

  3. beansman commented on Dec 17, 2014

    @beansman

    Hi Aaron,

    I'm not sure that fix is enough, i was actually investigating this exact issue today.
    I ended up with some double encoding and issues when trying to edit an existing link.

    I have ended up only encoding & signs as a workaround, not pretty but it works.
    If anyone is interested i can put it online tommorow.

    Niels

  4. AaronFredetteVelir commented on Dec 17, 2014

    @AaronFredetteVelir
    Contributor

    Hi Niels,
    I was just doing some more testing and noticed the ‘&’ signs were causing some issues as well. If you want to put that online tomorrow I’d be happy to take a look at it.

    Aaron Fredette
    Developer

    VELIR

    From: beansman [mailto:notifications@github.com]
    Sent: Wednesday, December 17, 2014 4:50 PM
    To: Velir/SitecoreFieldSuite
    Cc: Aaron Fredette
    Subject: Re: [SitecoreFieldSuite] Adding non alphanumeric characters causes error in Gen Link (#10)

    Hi Aaron,

    I'm not sure that fix is enough, i was actually investigating this exact issue today.
    I ended up with some double encoding and issues when trying to edit an existing link.

    I have ended up only encoding & signs as a workaround, not pretty but it works.
    If anyone is interested i can put it online tommorow.

    Niels

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-67401072.

  5. beansman commented on Dec 18, 2014

    @beansman

    Hi Aaron,

    I have forked and committed my changes here https://github.com/beansman/SitecoreFieldSuite
    Please note, i have also added so that the "Link Text" is shown in the popup textbox.

    There is changes in js and c# code.

    Niels

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions