Copied to clipboard

Flag this post as spam?

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

  • Harald Ulriksen 207 posts 248 karma points
    Dec 08, 2009 @ 22:02
    Harald Ulriksen

    ValidationValue throws object reference not set exception

    Hi there,

    I'm experiencing an error with the ValidationValue property on the dataeditor. The base.PostedFile is null, hence the line if (!string.IsNullOrEmpty(base.PostedFile.FileName)) causes an exception.

    This happens on a DocumentType which also uses the Tribal Relation Package. It happens when I try to move nodes between available items and selected items. The image is already corped (I have not tested without any image at all).

    I'm Umbraco version 4.0.3. I have multiple tabs on the document type (some inherited, some not) and the Tribal Relation Package.

    I've done a quick and dirty fix putting in an extra check for PostedFile so it's no big issue for me right now, but I expect this problem might occur with other packages and should perhaps be handled one way or the other if you decide to make a new version.

    Anyhow it is a nice crop package, like the scaling of large images to fit the editor window be fore croping.


  • Murray Roke 453 posts 840 karma points c-trib
    Jan 18, 2010 @ 02:01
    Murray Roke

    Hi Harald

    Thanks I'll put it on my list for the next version.

Please Sign in or register to post replies

Write your reply to: