Copied to clipboard

Flag this post as spam?

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

  • Chizzl 36 posts 107 karma points
    Oct 05, 2012 @ 01:09

    umbraco v 4.7.0 - ucomponents 2.1 (Member) autocomplete bug?


    Im' using umbraco v 4.7.0 (Assembly version: 1.0.4090.38017) with uComponents 2.1

    I have a document type using this autocomplete to select multiple members

    and use the follow script to display them;

    @inherits umbraco.MacroEngines.DynamicNodeContext   
    @using umbraco.cms.businesslogic.member  
      if(Model.acteurs.ToString() != string.Empty)
        var tokenSeperatedList = Model.acteurs.ToString().Split(',');
                 @foreach (var item in tokenSeperatedList)
            try {
                           var member = new Member(Convert.ToInt32(item)).Text;
                 <li><a href="/statistieken/actors-statistics.aspx?member=@item">@member</a></li>
            catch {

    I noticed that Model.acteurs.ToString() sometimes show a comma separeted list of id's (and then the members are displayed correctly) but also randomly forget's to add the comma's between the id's, which makes the script fail to render the actors.

    So it goes wrong on the input : why are the comma's not always added?

    Anyone had this problem before?

    Kind regards,


Please Sign in or register to post replies

Write your reply to: