Can't config valication in dynamicModules > MoreOptio

Posted by Community Admin on 04-Aug-2018 13:34

Can't config valication in dynamicModules > MoreOptions > UrlName. It not work for Thai language

All Replies

Posted by Community Admin on 29-Jan-2016 00:00

But i can use this  RegularExpressionFilter in FrontendPages  

screencast.com/.../U1FI7hKIMFwg

Posted by Community Admin on 30-Jan-2016 00:00

If you look at the attached photos.

We can inspect the error 500 from Telerik.Sitefinity.DynamicModules.Web.Services.DataService.

<reference - github.com/.../Data.svc >

Posted by Community Admin on 03-Feb-2016 00:00

Hi,

Testing the case with random Thai text and the default validation seems works fine. In some cases there are symbols that are replaced by dash, which characters could cause such invalidation. So please check and ensure that all the symbols are valid for URL.

In case the issue persists can you provide a sample url that you have issue with, in order to test it on my side.

Regards,
Svetoslav Manchev
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

Posted by Community Admin on 12-Feb-2016 00:00

Sample URL:

www.sample.com/.../สุขุมวิท39

It can't save thai word in urlName of dynamicModules

Posted by Community Admin on 16-Feb-2016 00:00

Hi,

The Url provided contains some invalid symbols e..g. slash. When create a new Item that symbols is replaced and works fine. When edit the Item and change the Url this symbol could not be accepted. Even if you stop the client side validation server side validation will prevent such slash symbol validation.
Here is a short video demonstration where you can see the replaced symbols.

I hope the information was useful.

Regards,
Svetoslav Manchev
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

Posted by Community Admin on 24-Feb-2016 00:00

Thank you for your reply, 

I try to use word 'สุขุมวิท39' but sitefinity change it to 'ส-ขมว-ท39'. it don't have meaning in Thai language. Then i try to config RegularExpressionFilter for special character but it still not work.

Regards,

Mrth

Posted by Community Admin on 29-Feb-2016 00:00

I found server log file 

For more information: 

----------------------------------------
Timestamp: 2/29/2016 3:56:22 PM

Message: HandlingInstanceID: 1a2f768f-f80b-427e-8f2d-bb8549937344
An exception of type 'Telerik.Sitefinity.Utilities.MS.ServiceModel.Web.WebProtocolException' occurred and was caught.
---------------------------------------------------------------------------------------------------------------------
02/29/2016 22:56:22
Type : Telerik.Sitefinity.Utilities.MS.ServiceModel.Web.WebProtocolException, Telerik.Sitefinity.Utilities, Version=8.2.5900.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
Message : The URL: '/สุขุมวิท' is not valid.
Source : Telerik.Sitefinity
Help link : 
StatusCode : InternalServerError
StatusDescription : The URL: '/สุขุมวิท' is not valid.
IsDetailXhtml : True
Data : System.Collections.ListDictionaryInternal
TargetSite : Void ThrowDuplicateUrlException(System.String, System.String)
HResult : -2146233087
detailWriterInstance : Telerik.Sitefinity.Utilities.MS.ServiceModel.Web.WebProtocolException+StringDetailWriter
Stack Trace :    at Telerik.Sitefinity.DynamicModules.Web.Services.DataService.ThrowDuplicateUrlException(String messageFormat, String url)
   at Telerik.Sitefinity.DynamicModules.Web.Services.DataService.CheckIfUrlIsValid(DynamicModuleManager manager, DynamicContent dataItem, Type itemType, Guid itemMasterId)
   at Telerik.Sitefinity.DynamicModules.Web.Services.DataService.SaveDataItemInternal(DynamicItemContext dataItem, String itemType, String provider, String workflowOperation, String parentId, String parentType, String newParentId)
   at Telerik.Sitefinity.DynamicModules.Web.Services.DataService.SaveDataItem(DynamicItemContext dataItem, String dataItemId, String provider, String itemType, String workflowOperation)
   at SyncInvokeSaveDataItem(Object , Object[] , Object[] )
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

Additional Info:

MachineName : Test-WEB
TimeStamp : 2/29/2016 3:56:22 PM
FullName : Telerik.Sitefinity.Utilities, Version=8.2.5900.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
AppDomainName : /LM/W3SVC/1/ROOT-2-131012329693225586
ThreadIdentity : 
WindowsIdentity : IIS APPPOOL\test.co.th
Requested URL : 202.183.180.133/.../


Category: ErrorLog

Priority: 0

EventId: 90000

Severity: Error

Title:Enterprise Library Exception Handling

Machine: Test-WEB

App Domain: /LM/W3SVC/1/ROOT-2-131012329693225586

ProcessId: 4872

Process Name: c:\windows\system32\inetsrv\w3wp.exe

Thread Name: 

Win32 ThreadId:2480

Extended Properties: Url - /สุขุมวิท

----------------------------------------

This thread is closed