Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Stefan Kip 1614 posts 4131 karma points c-trib
    Oct 23, 2009 @ 14:54
    Stefan Kip
    1

    Member group with ampersand (&) in name

    Hi people!

    I'm using Umbraco version 4.0.2.1 (Assembly version: 1.0.3441.17657) on asp.net 3.5 sp1, Windows 7 and Server 2008, SQL Server 2008 and IIS 7 and 7.5.
    Wow, what an intro, isn't it? ;-)

    Now to the issue:
    I created a member group with an ampersand in the name, when trying to edit the member group via the Umbraco back-end (members -> member groups -> click on a member group) I get an error, probably because of the following url:
    umbraco/members/editMemberGroup.aspx?id=Communications+&+Stakeholders
    The name isn't encoded.

    So the following code will fail (in umbraco.presentation.members.EditMemberGroup line 35:
    _memberGroup = MemberGroup.GetByName(Request.QueryString["id"]);

    I get a NullReferenceException, which is obvious.

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Oct 23, 2009 @ 16:25
    Dirk De Grave
    1

    Report on Codeplex please.

     

    TIA,

    /Dirk

  • FarmFreshCode 225 posts 422 karma points
    May 12, 2011 @ 16:37
    FarmFreshCode
    0

    Was this issue ever reported? I had a similar issue with a member group I set up that had a ' in the name (example: Dave's). This member group would thow an error and was one that could not be deleted from the Member Groups section. I had to get into the database and mannually delete the record of it to finally get it to go away.

    If this bug was reported, I would love to see the report/fix.

    Thanks!

  • FarmFreshCode 225 posts 422 karma points
    May 12, 2011 @ 16:42
    FarmFreshCode
    0

    Ok So I found the bug report which is located here: http://umbraco.codeplex.com/workitem/21616

    If anyone else comes across this issue feel free to vote for it, or post your comments

Please Sign in or register to post replies

Write your reply to:

Draft