<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Item.apply overwriting action, has it always done this?</title><link>https://www.aras.com/community/f/development/55432/item-apply-overwriting-action-has-it-always-done-this</link><description>After upgrading from version 12 to 31, we started getting an error when saving a certain custom datastructure, developed for us by Minerva back in the day: 
 
 Failed to execute &amp;#39;serializeToString&amp;#39; on &amp;#39;XMLSerializer&amp;#39;: parameter 1 is not of type &amp;#39;Node</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Item.apply overwriting action, has it always done this?</title><link>https://www.aras.com/community/thread/10907?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 08:40:33 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:7b455aa7-3194-4170-893f-d4a327da8be6</guid><dc:creator>AngelaIp</dc:creator><description>&lt;p&gt;When you upgrade via the regular Aras upgrade service, this one is an Aras problem, not a YOU problem :).&lt;/p&gt;
&lt;p&gt;I right now would expect that the error happens in the Method &amp;quot;VE_GetCopyTreeGridHeader&amp;quot; itself. When you come from I12 and upgrade to I31, it&amp;acute;s probably a typical issue caused by obsolete functions. Typical something .NET Core related, but in your case the error message doesn&amp;acute;t match so I can&amp;acute;t tell.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;document&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;thisItem&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;apply is nothing unusual. Instead of &amp;quot;get&amp;quot;,&amp;quot;edit&amp;quot;,etc. you&amp;nbsp;do something custom. Very often the custom code might do something very similar like regular edits and gets, but does something additional.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;When I look at my own code for something comparable I found one Method that use this exact technique for replacement of the regular &amp;quot;promote&amp;quot; button. The Method does some validation, opens a custom promote Form, than does the original &amp;quot;promote&amp;quot; action and a few additional relationship edits and returns the same item that would have been returned when doing a regular promote.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>