Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Auto Suggestion editors does not handle content language

Found in

EPiServer 7.5

Created

Jan 30, 2015

Updated

Mar 06, 2015

Area

Falcon/CMS/Edit UI

State

Closed, Fixed and Tested


Steps to reproduce

Steps to reproduce

  1. Create a auto suggestion editor (http://world.episerver.com/blogs/Linus-Ekstrom/Dates/2014/7/Built-in-auto-suggestion-editor/)
  2. Set up two content languages.
  3. Switch between the languages in edit and notice how the content language does not follow in the service method GetItems (

    var a = ContentLanguage.PreferredCulture.TwoLetterISOLanguageName;)



Expected:

Actual: The content language should follow the content of the UI.


Note: We probably just need to create an EPiServer JSON REST store instead of the default Dojo stores to get the content language in the request. This should be done for the widgets "epi/shell/form/AutoCompleteSelectionEditor" and "epi/shell/form/SuggestionSelectionEditor".