<?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 : Intended behaviour?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Intended behaviour?</description>
  <pubDate>Wed, 29 Jul 2026 07:10:28 -700</pubDate>
  <lastBuildDate>Tue, 19 Oct 2010 18:13:27 -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=2158</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>Intended behaviour? : Version 6.0.6 is now available....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2158&amp;PID=8839#8839</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2158<br /><strong>Posted:</strong> 19-Oct-2010 at 6:13pm<br /><br /><P>Version 6.0.6 is now available.</P>]]>
   </description>
   <pubDate>Tue, 19 Oct 2010 18:13:27 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2158&amp;PID=8839#8839</guid>
  </item> 
  <item>
   <title>Intended behaviour? : We did fix the problem in 6.0.6,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2158&amp;PID=8836#8836</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2158<br /><strong>Posted:</strong> 19-Oct-2010 at 5:37pm<br /><br />We did fix the problem in 6.0.6, so you won't have to wait long.&nbsp; We'll post when 6.0.6 is up on the web site, but it should be real soon now.]]>
   </description>
   <pubDate>Tue, 19 Oct 2010 17:37:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2158&amp;PID=8836#8836</guid>
  </item> 
  <item>
   <title>Intended behaviour? : Two very recent postings here...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2158&amp;PID=8829#8829</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=485" rel="nofollow">jsobell</a><br /><strong>Subject:</strong> 2158<br /><strong>Posted:</strong> 19-Oct-2010 at 3:46pm<br /><br />Two very recent postings <a href="http://www.ideablade.com/forum/forum_posts.asp?TID=2222&amp;title=1n-relati&#111;n-does-not-validate" target="_blank">here</A> and <a href="http://www.ideablade.com/forum/forum_posts.asp?TID=2234&amp;title=invalidoperati&#111;nexcepti&#111;n-thrown-accessing-get-of-a-navigati&#111;n-property" target="_blank">here</A> also discuss the issue, but it's not going to be fixed until 6.0.7, so we'll have to wait.<DIV></DIV>]]>
   </description>
   <pubDate>Tue, 19 Oct 2010 15:46:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2158&amp;PID=8829#8829</guid>
  </item> 
  <item>
   <title>Intended behaviour? : Was this issue ever resolved?...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2158&amp;PID=8818#8818</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=587" rel="nofollow">cjohnson84</a><br /><strong>Subject:</strong> 2158<br /><strong>Posted:</strong> 19-Oct-2010 at 8:32am<br /><br />Was this issue ever resolved?&nbsp; I am now running into the "Null or pending entities cannot be modified" error.&nbsp; In my particular case I have bound an Employee&nbsp;entity to my UI.&nbsp; The Employee&nbsp;entity may or may not have a related Demographic entity.&nbsp;&nbsp;If the Employee entity does not have a related Demographic&nbsp;entity when I examine the contents of my EntityManager I see a "detached" Demographic entity related to the Employee&nbsp;entity.&nbsp; If I try to set a field in my UI (GenderID)&nbsp;that is in the Demographic entity I get the error.<DIV>&nbsp;</DIV><DIV>Here is my stack trace:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp; at IdeaBlade.EntityModel.EntityGroup.OnEntityPropertyChanging(EntityPropertyChangingEventArgs e)<BR>&nbsp;&nbsp; at IdeaBlade.EntityModel.EntityWrapper.SetValueWithChangeNotification(DataEntityProperty property, Object newValue)<BR>&nbsp;&nbsp; at IdeaBlade.EntityModel.EntityWrapper.IdeaBlade.EntityModel.IStructuralObject.SetValueWithChangeNotification(DataEntityProperty property, Object newValue)<BR>&nbsp;&nbsp; at IdeaBlade.EntityModel.DataEntityProperty`2.SetValueWithVerification(TInstance instance, TValue newValue)<BR>&nbsp;&nbsp; at IdeaBlade.EntityModel.DataEntityProperty`2.&lt;.ctor&gt;b__4(DataEntityPropertySetInterceptorArgs`2 args)<BR>&nbsp;&nbsp; at IdeaBlade.Core.PropertyInterceptor`3.HandleAction(Action`1 action, TArgs args)<BR>&nbsp;&nbsp; at IdeaBlade.Core.PropertyInterceptor`3.&lt;&gt;c__DisplayClassb.&lt;BuildTargetedCombinedAction&gt;b__5(TArgs args)<BR>&nbsp;&nbsp; at IdeaBlade.Core.PropertyInterceptor`3.ExecuteActions(TArgs args)<BR>&nbsp;&nbsp; at IdeaBlade.Core.PropertyInterceptor`3.SetValue(TInstance instance, Object context, TValue value)<BR>&nbsp;&nbsp; at IdeaBlade.Core.PropertyInterceptor`3.SetValue(TInstance instance, TValue value)<BR>&nbsp;&nbsp; at IdeaBlade.EntityModel.DataEntityProperty`2.SetValue(TInstance instance, TValue value)<BR>&nbsp;&nbsp; at OrianaHouse.CMIS.Data.DataModel.Demographic.set_GenderID(Byte value)</DIV>]]>
   </description>
   <pubDate>Tue, 19 Oct 2010 08:32:44 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2158&amp;PID=8818#8818</guid>
  </item> 
  <item>
   <title>Intended behaviour? : Yes, we&amp;#039;ve seen the same...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2158&amp;PID=8538#8538</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 2158<br /><strong>Posted:</strong> 16-Sep-2010 at 6:40pm<br /><br />Yes, we've seen the same artifiacts in binding where it is calling the 'set' even though it is only displaying and not modifying the value. &nbsp;I know you've been chatting with Ward - you might want to bounce this one off him.]]>
   </description>
   <pubDate>Thu, 16 Sep 2010 18:40:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2158&amp;PID=8538#8538</guid>
  </item> 
  <item>
   <title>Intended behaviour? : Sorry, should have posted the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2158&amp;PID=8524#8524</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=485" rel="nofollow">jsobell</a><br /><strong>Subject:</strong> 2158<br /><strong>Posted:</strong> 15-Sep-2010 at 11:57pm<br /><br />Sorry, should have posted the following exception text too.<br><br><font color="#000099">IdeaBlade.Core.IdeaBladeException occurred<br>&nbsp; Message=Null or pending entities cannot be modified<br>&nbsp; StackTrace:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at IdeaBlade.EntityModel.EntityGroup.OnEntityPropertyChanging(EntityPropertyChangingEventArgs e)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at IdeaBlade.EntityModel.EntityWrapper.SetValueWithChangeNotification(DataEntityProperty property, Object newValue)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at IdeaBlade.EntityModel.EntityWrapper.SetValue(DataEntityProperty targetProperty, EntityWrapper sourceEntity, DataEntityProperty sourceProperty)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at IdeaBlade.EntityModel.ScalarEntityReference`1.UpdateOtherProperties(EntityRelationLink relationLink, EntityWrapper fromEntity, EntityWrapper toEntity)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at IdeaBlade.EntityModel.ScalarEntityReference`1.UpdateFkForNewToEntity(EntityWrapper toEntity)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at IdeaBlade.EntityModel.ScalarEntityReference`1.SetEntity(T newValue, Boolean updateFkValues, Boolean updateInverseValues)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at IdeaBlade.EntityModel.ScalarEntityReference`1.CreateOrFindPendingEntity(EntityReferenceStrategy strategy)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at IdeaBlade.EntityModel.ScalarEntityReference`1.QueryForEntity(EntityReferenceStrategy strategy)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at IdeaBlade.EntityModel.ScalarEntityReference`1.GetEntity(EntityReferenceStrategy strategy)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at IdeaBlade.EntityModel.ScalarEntityReference`1.GetValue()<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at IdeaBlade.EntityModel.NavigationScalarEntityProperty`2.&lt;.ctor&gt;b__0(NavigationEntityPropertyGetInterceptorArgs`2 args)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at IdeaBlade.Core.PropertyInterceptor`3.HandleAction(Action`1 action, TArgs args)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at IdeaBlade.Core.PropertyInterceptor`3.&lt;BuildTargetedCombinedAction&gt;b__3(TArgs args)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at IdeaBlade.Core.PropertyInterceptor`3.ExecuteActions(TArgs args)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at IdeaBlade.Core.PropertyInterceptor`3.GetValue(TInstance instance, Object context)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at IdeaBlade.Core.PropertyInterceptor`3.GetValue(TInstance instance)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at IdeaBlade.EntityModel.NavigationScalarEntityProperty`2.GetValue(TInstance instance)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at RiskStructureEditor.Web.Node.get_NodeTarget()<br>&nbsp; InnerException: <br></font><br>]]>
   </description>
   <pubDate>Wed, 15 Sep 2010 23:57:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2158&amp;PID=8524#8524</guid>
  </item> 
  <item>
   <title>Intended behaviour? : Interestingly, calling the Get...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2158&amp;PID=8514#8514</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=485" rel="nofollow">jsobell</a><br /><strong>Subject:</strong> 2158<br /><strong>Posted:</strong> 14-Sep-2010 at 9:38pm<br /><br />Interestingly, calling the Get on this property in code does not generate this exception, but any binding to it does, and yet according to VS2010 the Set method is never called.<br>What circumstances might cause this exception to be thrown via the Get method? Why is databinding so damned difficult to debug in VS?<br>]]>
   </description>
   <pubDate>Tue, 14 Sep 2010 21:38:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2158&amp;PID=8514#8514</guid>
  </item> 
  <item>
   <title>Intended behaviour? : Just struck an intersting error...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2158&amp;PID=8513#8513</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=485" rel="nofollow">jsobell</a><br /><strong>Subject:</strong> 2158<br /><strong>Posted:</strong> 14-Sep-2010 at 9:24pm<br /><br />Just struck an intersting error message in a moderately simple binding situation:<br><br>I have a selected node from a tree that has an optional 'Target' entity as a property.<br>Targets may or may not exist for a node, and the display switches between showing the target data and hiding it through a behaviour.<br>Given that the visibility is programmatic, the bindings are obviously always there (but the text boxes hide and display), so the XAML for the enclosed textbox is:<br><br><i>Text="{Binding SelectedNode.NodeTarget.TARGET, Mode=TwoWay}"<br></i><br>When the code runs, we get the error<br>"Null or pending entities cannot be modified"<br>from the Get of the <br><i>&nbsp;&nbsp; public NodeTarget NodeTarget {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; get { return PropertyMetadata.NodeTarget.GetValue(this); } </i>&lt;==== Here<i><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set { PropertyMetadata.NodeTarget.SetValue(this, value); }<br>&nbsp;&nbsp;&nbsp; }<br></i><br>In this case 'this' is set to a valid entity, and this.NodeTarget is reported as <i>'{NodeTarget:0} - Detached entity'</i><br><br>Setting Mode=OneWay has the same problem, so is this really intended behaviour? Why is a call to fetch a property from a non-initialised entity raising this particular exception?<br>I understand that it doesn't make sense to read a property from what is effectively a NULL reference, but this is one of the issues with XAML binding.<br><br>Any suggestions?<br><br>Cheers,<br>&nbsp;Jason<br>]]>
   </description>
   <pubDate>Tue, 14 Sep 2010 21:24:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2158&amp;PID=8513#8513</guid>
  </item> 
 </channel>
</rss>