Crash when search special character.

When search '\'



Attachment: 20240905223933_WindowShot_471df136.zip

6 Replies

MS Malini Selvarasu Syncfusion Team September 6, 2024 01:49 PM UTC

Hi crosslife,

We have investigated the reported issue and have successfully replicated it on our end. In order to further diagnose the problem, we need to examine the issue at the source level. As a result, we require some time to validate and will provide an update on or before September 10, 2024.

Regards,
Malini Selvarasu


MS Malini Selvarasu Syncfusion Team September 10, 2024 01:58 PM UTC

Hi crosslife,
Sorry for the inconvenience caused. We need more time to validate the scenario. We will provide further details by September 12, 2024.
Regards,
Malini Selvarasu



MS Malini Selvarasu Syncfusion Team September 12, 2024 02:47 PM UTC

Hi crosslife,
We have checked the reported issue "ArgumentOutOfRangeException is thrown while replacing special character" as a defect. We have logged a bug, and it will be fixed in our NuGet release scheduled for September 30, 2024.
You can track the status of this report through the following feedback link,
Note: The provided feedback link is private, and you need to log in to view this feedback.
We will let you know once it is released. We appreciate your patience until then.
Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.
Regards,
Malini Selvarasu

 



MS Malini Selvarasu Syncfusion Team September 30, 2024 05:05 PM UTC

Hi crosslife,
We would like to let you know that Essential Studio Weekly NuGet packages (v27.1.51) has been published in nuget.org with the fix for the issue “ArgumentOutOfRangeException is thrown while replacing special character”. Please let us know if you have any concerns in this.
Root Cause Details:
While replacing the character "\\" , the regex pattern to replace the string caused an exception to be thrown because the special character was not accepted.
Additionally, we would like to inform you that while the "\\" character can be replaced using the Replace All function, the issue still persists when using Replace individually. Upon analysis, we identified that in C#, backslashes are treated as escape characters in both strings and regular expressions. This means that when using a backslash in a regular expression, it needs to be escaped twice: the first escape is for the string itself, and the second is for the regular expression. In our case, the backslash was only escaped once. We are currently working on correcting this by properly escaping the backslash in the regular expression. Further updates will be provided on October 3, 2024.

Regards,
Malini Selvarasu


MS Malini Selvarasu Syncfusion Team October 3, 2024 02:22 PM UTC

Hi crosslife,

We would like to inform you that we have fixed the issue where an ArgumentOutOfRangeException was thrown while replacing a special character using the replace function individually.
This fix will be included in our weekly NuGet release, scheduled for October 8, 2024. We will let you know once it is released. We appreciate your patience until then.
Regards,
Malini Selvarasu

 



MS Malini Selvarasu Syncfusion Team October 8, 2024 12:24 PM UTC

Hi crosslife,
We would like to let you know that Essential Studio Weekly NuGet packages (v27.1.52) has been published in nuget.org with the fix for the issue “ArgumentOutOfRangeException was thrown while replacing a special character using the replace function individually”. Please let us know if you have any concerns in this.
Root Cause Details:
We identified that the issue arose from improper escaping of backslashes in the regular expression used in the replace function. To resolve this, we implemented a method that correctly escapes special characters in the regular expression utilized in the replace function.
Regards,
Malini Selvarasu

 


Loader.
Up arrow icon