<?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 : Random Validation Issue</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Random Validation Issue</description>
  <pubDate>Wed, 10 Jun 2026 14:25:34 -700</pubDate>
  <lastBuildDate>Wed, 16 Jun 2010 13:44:08 -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=1896</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>Random Validation Issue : Well, apologies, but I don&amp;#039;t...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1896&amp;PID=7339#7339</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=4" rel="nofollow">GregD</a><br /><strong>Subject:</strong> 1896<br /><strong>Posted:</strong> 16-Jun-2010 at 1:44pm<br /><br />Well, apologies, but I don't know how to repro this issue. Can you send us a small console app & database (minimal, preferably just one table) that does so?]]>
   </description>
   <pubDate>Wed, 16 Jun 2010 13:44:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1896&amp;PID=7339#7339</guid>
  </item> 
  <item>
   <title>Random Validation Issue : Regardless of how validation is...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1896&amp;PID=7334#7334</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 1896<br /><strong>Posted:</strong> 16-Jun-2010 at 7:02am<br /><br />Regardless of how validation is being performed. The data is valid. And it is throwing a generic error that I can not track. It is a DevForce error.<DIV>&nbsp;</DIV><DIV>Every value in the PM DataSet is valid. They all pass validation but fail on save.</DIV>]]>
   </description>
   <pubDate>Wed, 16 Jun 2010 07:02:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1896&amp;PID=7334#7334</guid>
  </item> 
  <item>
   <title>Random Validation Issue : Instance and OnPostSet, applied...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1896&amp;PID=7330#7330</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=4" rel="nofollow">GregD</a><br /><strong>Subject:</strong> 1896<br /><strong>Posted:</strong> 15-Jun-2010 at 10:11pm<br /><br />Instance and OnPostSet, applied to a particular verifier, means that verifier will be run after a set of the triggering property (OnPostSet), and also when instance validation is ordered (Instance). But you still have to order instance validation explicitly (unlike triggered validation); and it seems to be instance validation that is at issue here. What is ordering the instance validation?  (It is not DevForce!)<br /><br />&gt;&gt;  No change. User was using it successfully one day then the next it wouldn't work.<br /><br />Code doesn't change spontaneously, so the only thing that could account for that would be that the data was somehow put into an invalid state, so that a test that was passed yesterday is not being passed today.<br /><br />Suppose an invalid value were introduced outside your app (so that no triggered validation occurred at the time the value was changed). This still wouldn't cause Devforce to reject the save unless you order successful instance validation as a condition for the save. Of course, the back-end database could still reject the save it it contained data that broke *it's* rules.<br />]]>
   </description>
   <pubDate>Tue, 15 Jun 2010 22:11:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1896&amp;PID=7330#7330</guid>
  </item> 
  <item>
   <title>Random Validation Issue : 1. No change. User was usinging...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1896&amp;PID=7326#7326</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 1896<br /><strong>Posted:</strong> 15-Jun-2010 at 5:18pm<br /><br /><P>1. No change. User was usinging it successfully one day then the next it wouldn't work.</P><DIV>2. Triggered Validation. Instance and OnPostSet</DIV><DIV>&nbsp;</DIV><DIV>3. I have looked at all entities in the dataset being saved. No entity should fail validation. The specific entity that is failing, at the time, has valid data.</DIV>]]>
   </description>
   <pubDate>Tue, 15 Jun 2010 17:18:59 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1896&amp;PID=7326#7326</guid>
  </item> 
  <item>
   <title>Random Validation Issue :  Originally posted by orcitiesMy...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1896&amp;PID=7325#7325</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=4" rel="nofollow">GregD</a><br /><strong>Subject:</strong> 1896<br /><strong>Posted:</strong> 15-Jun-2010 at 4:05pm<br /><br /><table width="99%"><tr><td class="BBquote"><strong><em>Originally posted by orcities</strong></em><br /><br />My product has been live for quite some time. I am now getting an error thrown on validation<br /></td></tr></table> <br /><br />After what change did this start happening?<br /><br /><br /> <table width="99%"><tr><td class="BBquote"><strong><em>Originally posted by orcities</strong></em><br /><br />When the user modifies one specific entity and tries to save a "Save failed - Entity Validation Failure(s)" error is thrown. <br />The problem is that it doesn't say which entity. I have checked the entire PersistenceManager.DataSet to see if I could find the issue and I cannot.</td></tr></table> <br /><br />What is causing the validation to be run? DevForce Classic doesn't perform validation on a save unless your code asks it to.<br /><br /><br /><br /><table width="99%"><tr><td class="BBquote"><strong><em>Originally posted by orcities</strong></em><br /><br />I have tried looking for the entities in the PM with the rowstate of modified and looking at it's properties and there is no issue. <br /></td></tr></table> <br /><br />You have access to the collection of entities being saved in the PersistenceManager's Saving event. Normally that's where people perform instance validation in DFClassic.]]>
   </description>
   <pubDate>Tue, 15 Jun 2010 16:05:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1896&amp;PID=7325#7325</guid>
  </item> 
  <item>
   <title>Random Validation Issue : My product has been live for quite...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1896&amp;PID=7318#7318</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 1896<br /><strong>Posted:</strong> 14-Jun-2010 at 9:11am<br /><br />My product has been live for quite some time. I am now getting an error thrown on validation, which I doubt it actually is. When the user modifies one specific entity and tries to save a "Save failed - Entity Validation Failure(s)" error is thrown. <DIV>&nbsp;</DIV><DIV>The problem is that it doesn't say which entity. I have checked the entire PersistenceManager.DataSet to see if I could find the issue and I cannot.</DIV><DIV>&nbsp;</DIV><DIV>I have tried looking for the entities in the PM with the rowstate of modified and looking at it's properties and there is no issue. I have validated that entity by forcing validation to see if it returns the validation error and it does not. But, on save after this entity has been modified there is an error. </DIV><DIV>&nbsp;</DIV><DIV>SaveResult:</DIV><DIV>Failed - Normal Error: Save failed - Entity Validation Failure(s)</DIV><DIV>&nbsp;</DIV><DIV>Stack Trace:</DIV><DIV>&nbsp;&nbsp; at IdeaBlade.Persistence.PersistenceManager.DoSaveDataSet(IEnumerable pDataRows, SaveOptions pSaveOptions)<BR>&nbsp;&nbsp; at IdeaBlade.Persistence.PersistenceManager.SaveChanges(IEnumerable pDataRows, SaveOptions pSaveOptions)<BR>&nbsp;&nbsp; at IdeaBlade.Persistence.PersistenceManager.SaveChanges()<BR>&nbsp;&nbsp; at LOC.CEMS.EventManagement.EventManagementPageController.SaveHandler(Object sender, EventArgs e) in C:\Development\CEMS\Source\UI\EventManagement\PageControllers\Event\EventManagementPageController.cs:line 3</DIV>]]>
   </description>
   <pubDate>Mon, 14 Jun 2010 09:11:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1896&amp;PID=7318#7318</guid>
  </item> 
 </channel>
</rss>