<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : IdeaBlade.Verification.v4.VerifierResultException: Value is required</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : IdeaBlade.Verification.v4.VerifierResultException: Value is required</description>
  <pubDate>Sat, 11 Apr 2026 21:38:16 -700</pubDate>
  <lastBuildDate>Mon, 26 Jan 2009 17:24:07 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=1064</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>IdeaBlade.Verification.v4.VerifierResultException: Value is required : Currently this is by design;the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1064&amp;PID=3834#3834</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=51" rel="nofollow">eileenv</a><br /><strong>Subject:</strong> 1064<br /><strong>Posted:</strong> 26-Jan-2009 at 5:24pm<br /><br /><P>Currently this is by design;&nbsp;the Verification engine&nbsp;treats empty (blank) strings as null. We have an open Feature request in our Classic product&nbsp;that would&nbsp;give users the ability to specify whether or not they want the Verification engine to allow empty strings for non-nullable string types. I will open a Feature request in our EF product so that we can address this issue there as well.</P><DIV>One alternative workaround you may consider in the interim is to "turn the verifier off" for the string properties in which you want to allow empty strings:</DIV><DIV>&nbsp;</DIV><P =Ms&#111;normal style="MARGIN: 0.75pt 1.5pt"><FONT face=Verdana color=black size=1><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">1. Open up the Object Mapper.<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal style="MARGIN: 0.75pt 1.5pt"><FONT face=Verdana color=black size=1><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">2. Go to the property for which you want to allow the empty string.<o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal style="MARGIN: 0.75pt 1.5pt"><FONT face=Verdana color=black size=1><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">3. In the </SPAN></FONT><B><FONT face=Verdana color=black size=1><SPAN lang=EN style="FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN; mso-bidi-font-size: 12.0pt">Verification Setter Mode</SPAN></FONT></B><FONT face=Verdana color=black size=1><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN"> column, set the value to </SPAN></FONT><B><FONT face=Verdana color=black size=1><SPAN lang=EN style="FONT-WEIGHT: bold; FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN; mso-bidi-font-size: 12.0pt">None</SPAN></FONT></B><FONT face=Verdana color=black size=1><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">.<o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal style="MARGIN: 0.75pt 1.5pt"><FONT face=Verdana color=black size=1><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">4. Click Save to regenerate your model.</P><DIV></DIV><P>Of course,&nbsp;this may not be feasible if you have hundreds of String properties in question. And, keep in mind,&nbsp;turning off verification for those properties could allow bad data, e.g. null values or strings exceeding the maxlength, to get passed to the database. </SPAN></FONT></P>]]>
   </description>
   <pubDate>Mon, 26 Jan 2009 17:24:07 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1064&amp;PID=3834#3834</guid>
  </item> 
  <item>
   <title>IdeaBlade.Verification.v4.VerifierResultException: Value is required : I have an entity with a string...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1064&amp;PID=3819#3819</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=299" rel="nofollow">smiller</a><br /><strong>Subject:</strong> 1064<br /><strong>Posted:</strong> 21-Jan-2009 at 10:34am<br /><br />I have an entity with a string property.&nbsp; In my EF model on the S-side and C-side it's nullable attribute is set to "false".&nbsp; When I try to set the value of this property to String.Empty I get a "<FONT face=Arial>IdeaBlade.Verification.v4.VerifierResultException: Value is required" exception from "IdeaBlade.EntityModel.v4.Entity.BeforeSet(SetterArgs`1 setterArgs) +181" <DIV>&nbsp;</DIV><DIV>I would expect this exception&nbsp;if I tried to set the value to null, but I'm surprised by this exception when I try to set the value to String.Empty.</DIV><DIV>&nbsp;</DIV><DIV>In order for me to workaround this issue I have to modify my EF model to set this properties nullable attribute to "true" on both the S-side and C-side.&nbsp; This seems like an indesirable change to make because it would seem to modify the model in a way that's not consistent with the database schema.</DIV><DIV>&nbsp;</DIV><DIV>Is this behavior by design?</DIV></FONT><span style="font-size:10px"><br /><br />Edited by smiller - 21-Jan-2009 at 10:37am</span>]]>
   </description>
   <pubDate>Wed, 21 Jan 2009 10:34:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1064&amp;PID=3819#3819</guid>
  </item> 
 </channel>
</rss>