Copied to clipboard

Flag this post as spam?

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


  • John C Scott 457 posts 1157 karma points
    Dec 07, 2011 @ 00:23
    John C Scott
    0

    Unable to find control referenced by the 'ControlToValidate' property of 'mandatory'.

    I'm maintaining a one year old form.

    I made a copy and have to update this for the following years event.

    There is no copy feature. So did export and changed all references to the name to import it again. I do need to copy it really.

    I've been through and made a number of changes. I've spent all this evening from 7pm to 11pm making these changes. It's been generally OK. There are quite a few things the client would like that I can't do, but that's ok. EG to add a link or to bold some words in the tool-tip. The most tricky is that they would like some questions to have a larger text-area but not all text-areas to be larger. No idea how to do this.

    Then after making the changes, I tested the macro that displays the form. This gives the error now:

     

    Unable to find control id '744dffd4_d71d_4fa1_a1d5_c3e7c049f7c0' referenced by the 'ControlToValidate' property of 'mandatory'.

     

    Now also if I try to edit the form in the Contour section I get the error:

     

    Object reference not set to an instance of an object.

     

    I saved the form regularly as I went through and tested it and it worked ok. I didn't make any obvious change to cause this error. I did add some regex validation as "^\d+$" for a numeric value with decimal points.

    The final change (which was a caption title) then gave me a "Failed to Save" error.

    And then everything went wrong.

    Has a new version that's less flakey been released in the past year? And how do I find which version I am currently using.

    These changes are incredibly urgent for the customer as the process of them getting their changes together has been difficult and slow for them and they now need their website changed very quickly. It's very difficulty to know what I will say to them in the morning.

    As far as I can tell I have now just lost the whole nights work. It's not even as if starting again seems like a good idea. I have 16 pages of Word document of changes to re-enter. And no time to do it tomorrow anyway.

    This is poor. Terrible experience.

     

  • John C Scott 457 posts 1157 karma points
    Dec 07, 2011 @ 03:54
    John C Scott
    0

    i worked out why it was blowing up in my face

    the caption and the tool-tip text for the last but one question was far far far too long

    yep - that seems to get me a form not saved error - followed by a set of YSOD errors 

    i did look in the log for some extra info

    (edited as I regret some of the language I used in this post that was not appropriate)

  • Niels Hartvig 1951 posts 2391 karma points admin hq c-trib
    Dec 07, 2011 @ 09:58
    Niels Hartvig
    0

    Hi John!

    Sorry you had a bad experience - I can understand that it's frustrating that some software fails when you're on a tight deadline.

    However, no software is free of bugs and it's the first time we hear about this error and we'll fix it of course.

    Send me an e-mail if you want a refund!

    Cheers,
    Niels... 

  • John C Scott 457 posts 1157 karma points
    Dec 07, 2011 @ 10:04
    John C Scott
    1

    No refund needed. Not least as ever I am recommending it to others who pay the bill anyway, and I just take responsibility for guiding their decisions. In fact just about to recommend another purchase today. But it is great to know you are listening. Sorry I didn't mean to cause offence, was just very frustrated, not really so much by the bug but the error message, to me the major bug is that the "Save Form Failed" does not tell you which field it has a problem with. Contour represents amazing value for money and the fact that you are listening make Umbraco continue to be better than anything money can buy :)

     

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Dec 07, 2011 @ 10:16
    Tim Geyssens
    2

    Hi John,

    Sorry to hear about the bad experience but looks like you are running an older version of Contour since this is a bug that was reported in the past and has already been fixed a couple of versions ago.

    You can simply upgrade to the latest version by downloading the upgrade archive on the Contour project page: http://our.umbraco.org/projects/umbraco-pro/contour 

    (it's not a package but an archive containing all the files so you can simply overwrite the existing ones)

    To check the Contour version number before performing an update you can check the \umbraco\plugins\umbracoContour\UmbracoContour.config file

     

     

  • Dan 1250 posts 3747 karma points admin c-trib
    Dec 07, 2011 @ 10:46
    Dan
    2

    Hi John,

    Just a quick pointer on the styling...  Contour is better than it used to be in terms of class attributes to hook into via your CSS.  Things like styling some labels differently to others should be very much possible as Contour injects a class attribute into the div tag surrounding each input 'group' (lablel, input, error message span), which is the name of your field, all lowercase with punctuation removed.  So you should be able to do something like this with your CSS:

    div.mycontourfieldinputname label {
        font-size: 20px;
    }
    div.myothercontourfieldinputname label {
        font-size: 12px;
    }

    Regarding tool-tips, although you can do a certain amount of element content manipulation now with CSS3, it's poorly supported so I think javascript would be your friend in most cases.  I've done stuff like this with jQuery before and it was pretty trivial, albeit not the most ideal solution in terms of logic/content/style separation of course.

    I'd back Tim's post up by saying that I recently upgraded a very active 2 year old Contour package to the latest version and it went smoothly, so I'd recommend doing that too so you know you're playing with the most advanced and stable version.

    Hope this helps anyhow.

  • John C Scott 457 posts 1157 karma points
    Dec 07, 2011 @ 12:17
    John C Scott
    0

    Brilliant thanks Dan much appreciated that will really help

  • John C Scott 457 posts 1157 karma points
    Dec 07, 2011 @ 12:21
    John C Scott
    1

    in all it seems i was wrong and everyone else was right :)

    this whole episode is just an unpleasant echo of the past 

  • 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