Duplicate command throws a System.FormatException

Hi,

I'm currently testing your WPF Diagram library (18.1.0.46) and i'm facing a problem with the native Duplicate command on Nodes.
When i click on the Duplicate command, i get a "System.FormatException" in PresentationCore.dll :

L'exception System.FormatException n'a pas été gérée
Message: Une exception non gérée du type 'System.FormatException' s'est produite dans PresentationCore.dll
Informations supplémentaires : Jeton 'M242;1078L231;1078 231;1067 242;1067z' inattendu rencontré à la position '3'.

The issue disappears when i change the currentCulture :
System.Threading.Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
But i don't think that's a good solution.

I didn't provide you a example because i can reproduce the issue on all of your samples (without any change) and i think it's relative to my culture configuration (windows 10 french).

Thanks for your help,

Flo




3 Replies

RA Ranjitha Amirthalingam Syncfusion Team May 5, 2020 11:18 AM UTC

Hi Florider, 
 
Reported Issue: System format exception occurs while performing duplicate in French culture. 
 
 
We were able to reproduce the reported issue. Currently, we are validating the root cause of the reported issue. We will update the details on May 7,2020. 
 
 
Regards, 
Ranjitha A. 
 



RA Ranjitha Amirthalingam Syncfusion Team May 7, 2020 01:16 PM UTC

Hi Florider,  
  
Reported Issue: System format exception occurs while duplicate the node through quick-command in French culture.  
  
We have confirmed that the reported issue is a bug and logged defect report regarding this. We will fix the issue and provide patch for the issue on May 28, 2020.  
Now you can track the status of this request through the below feedback link:      
 
  
Regards,  
Ranjitha A.


RA Ranjitha Amirthalingam Syncfusion Team May 28, 2020 01:34 PM UTC

Hi Florider, 
 
The reported issue “System format exception occurs while duplicate the node through quick-command in French culture" has been fixed and the patch for this fix can be downloaded from the following location.     
 
Recommended approach - exe will perform automatic configuration        
Please find the patch setup from below location:        
      
Advanced approach – use only if you have specific needs and can directly replace existing assemblies for your build environment        
Please find the patch assemblies alone from below location:        
    
      
Please find the feedback link for this from below,        
         
Assembly Version: 18.1.0.42           
Installation Directions :         
This patch should replace the files “Syncfusion.Pdf.Base.dll” under the following folder.        
$system drive:\ Files\Syncfusion\Essential Studio\$Version # \precompiledassemblies\$Version#\4.6       
Eg : $system drive:\Program Files\Syncfusion\Essential Studio\18.1.0.42\precompiledassemblies\18.1.0.42\4.6      
      
To automatically run the Assembly Manager, please check the Run assembly manager checkbox option while installing the patch. If this option is unchecked, the patch will replace the assemblies in precompiled assemblies’ folder only. Then, you will have to manually copy and paste them to the preferred location or you will have to run the Syncfusion Assembly Manager application (available from the Syncfusion Dashboard, installed as a shortcut in the Application menu) to re-install assemblies.        
       
Disclaimer :         
Please note that we have created this patch for version 18.1.0.42 specifically to resolve the following issue(s) reported in this/the Forum(s).153925       
If you have received other patches for the same version for other products, please apply all patches in the order received.        
      
This fix will be included in our 2020 Volume 2 release which will be available by end of June 2020 tentatively.       
     
Regards, 
Ranjitha A. 


Loader.
Up arrow icon