Copied to clipboard

Flag this post as spam?

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


  • Greg Berlin 818 posts 634 karma points
    Oct 04, 2010 @ 11:35
    Greg Berlin
    0

    FieldSetting.Pickers.Content not working for custom field type

    I've created a custom field type, and trying to send the ID of a content node to my field type, so that i can render that ID when validation fails.  However the Content picker acts strangely, namely:

    1. When i save the form in contour after selecting a node, the selected node name changes back to "Content"

    2. Nothing is passed to my custom field type.

    Is this a bug in Contour?  I'm running the latest version (1.1.3 i think it is - upgraded a week or so ago), on Umbraco 4.0.5.1.

    Here's my code to collect the field setting:

            [Umbraco.Forms.Core.Attributes.Setting("Validation Failure Message",
                description = "HTML Message to display to user if they select the Not Found List Value.",
                control = "Umbraco.Forms.Core.FieldSetting.Pickers.Content")]
            public string ValidationFailureMessage { get; set; }
    
    If i change it to a FieldSetting.TextField and enter a value, it comes through fine.
    Thanks heaps
    Greg
  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Oct 04, 2010 @ 11:41
    Tim Geyssens
    0

    Hi Greg,

    Yeah think it's a bug, looks like it needs a small js update.

    Will check and report back.

    Cheers,
    Tim

  • Greg Berlin 818 posts 634 karma points
    Oct 04, 2010 @ 12:22
    Greg Berlin
    0

    Thanks Tim

  • Mads Krohn 211 posts 501 karma points c-trib
    Oct 18, 2010 @ 22:46
    Mads Krohn
    0

    Any news on this one? Would really like the content picker to work properly :)

    Cheers,
    Mads

  • Greg Berlin 818 posts 634 karma points
    Oct 19, 2010 @ 01:47
    Greg Berlin
    0

    I second that notion....

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Oct 19, 2010 @ 08:07
    Tim Geyssens
    0

    Hi,

    Will take a look next week and will post fix here.

    Regards,
    Tim

  • Mads Krohn 211 posts 501 karma points c-trib
    Oct 19, 2010 @ 08:12
    Mads Krohn
    0

    Much appreciated :)

  • Mads Krohn 211 posts 501 karma points c-trib
    Nov 11, 2010 @ 17:05
    Mads Krohn
    0

    Should we count on this not being fixed in the near future?

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Nov 15, 2010 @ 08:50
    Tim Geyssens
    0

    Looking into it this week, so should be part of the maintenance release that is coming this week

  • Mads Krohn 211 posts 501 karma points c-trib
    Nov 15, 2010 @ 09:11
    Mads Krohn
    0

    Thansk Tim, I'm glad to hear a new release is coming soon.

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Nov 15, 2010 @ 10:26
    Tim Geyssens
    0

    Hi Mads,

    I just fixed the bug, if you could test it, simply upgrade to the latest wip version http://nightly.umbraco.org/Umbraco%20Contour/1.1.4%20WIP/ ; (use build from today)

    (make sure to clear browser cache after upgrade)

    Cheers,
    Tim

  • Mads Krohn 211 posts 501 karma points c-trib
    Nov 15, 2010 @ 10:28
    Mads Krohn
    0

    Hi Tim

     

    Thanks a lot! Will test it asap!

  • Mads Krohn 211 posts 501 karma points c-trib
    Nov 15, 2010 @ 22:30
    Mads Krohn
    0

    Works like a charm, thanks a lot Tim! :)

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Nov 16, 2010 @ 10:16
    Tim Geyssens
    0

    Great, glad it's working!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies