+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Can't config valication in dynamicModules > MoreOptions > UrlName. It not work for Thai language

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

7 posts, 0 answered
  1. mrth
    mrth avatar
    4 posts
    Registered:
    28 Dec 2015
    29 Jan
    Link to this post

    But i can use this  RegularExpressionFilter in FrontendPages  

    http://screencast.com/t/U1FI7hKIMFwg

  2. worapong
    worapong avatar
    1 posts
    Registered:
    25 Aug 2015
    30 Jan in reply to mrth
    Link to this post

    If you look at the attached photos.

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

    <reference - https://github.com/Sitefinity-SDK/Telerik.Sitefinity.Samples.BugTracker/blob/master/SitefinityWebApp/Sitefinity/Services/DynamicModules/Data.svc >

  3. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    07 Dec 2016
    03 Feb
    Link to this post
    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
     
  4. mrth
    mrth avatar
    4 posts
    Registered:
    28 Dec 2015
    12 Feb
    Link to this post

    Sample URL:

    http://www.sample.com/คอนโดมิเนียม/สุขุมวิท39

    It can't save thai word in urlName of dynamicModules

  5. Svetoslav Manchev
    Svetoslav Manchev avatar
    735 posts
    Registered:
    07 Dec 2016
    16 Feb
    Link to this post
    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
     
  6. mrth
    mrth avatar
    4 posts
    Registered:
    28 Dec 2015
    24 Feb
    Link to this post

    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

  7. mrth
    mrth avatar
    4 posts
    Registered:
    28 Dec 2015
    29 Feb in reply to mrth
    Link to this post
    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 : http://202.183.180.133/Sitefinity/Services/DynamicModules/Data.svc/00000000-0000-0000-0000-000000000000/?itemType=Telerik.Sitefinity.DynamicTypes.Model.Brands.Brands&providerName=OpenAccessProvider&managerType=Telerik.Sitefinity.DynamicModules.DynamicModuleManager&provider=OpenAccessProvider&workflowOperation=Publish


    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 - /สุขุมวิท

    ----------------------------------------
7 posts, 0 answered