Quantcast
Viewing all 9076 articles
Browse latest View live

Force Refresh of Language Files

Hello - 

I am using language files (Resources/LanguageFiles) to manage some content. I built a tool to clear cache. When I clear, it takes the ISynchronizedObjectInstanceCache and removes everything. When I did this, I lost my LanguageFile content - on the front end. Labels were missing etc... The only way I could force a refresh of this was to restart the AppPool.

Aside from the obvious (Dont clear the cache that way again) is it possible to force EPiServer to retrieve this content from the Xml files?

Ethan


Episerver 11 CMS edit/admin Direction - Right to left

hi

Our edit/admin/dashboard is changed the RTL(right to left) direction (our Editor site use ar-AE as default culture)

We tried to use this below config (web.config) to change the direction back to LTR (Left To Right)

<location path="episerver"><system.web>
 ...<globalization culture="en-US" uiCulture="en" requestEncoding="utf-8" responseEncoding="utf-8" />
 ...</system.web>
...</location>

=> Bu it still does not work. (in <head> tag, we saw some RTL css files - ShellCore-RTL.css .... )

Does anyone know why Episerver include these *-RTL.css file ?

Thank you for your help

Episerver 11 CMS edit/dashboard/admin Direction - Right to left

hi

Our edit/admin/dashboard is changed the RTL(right to left) direction (our Editor site use ar-AE as default culture)

We tried to use this below config (web.config) to change the direction back to LTR (Left To Right)

<location path="episerver"><system.web>
 ...<globalization culture="en-US" uiCulture="en" requestEncoding="utf-8" responseEncoding="utf-8" />
 ...</system.web>
...</location>

=> Bu it still does not work. (in <head> tag, we saw some RTL css files - ShellCore-RTL.css .... )

Does anyone know why Episerver include these *-RTL.css file ?

Thank you for your help

Issue with Using IProfileMigrator in Episerver Commerce when migrating/merging an anonymous Cart to a logged in user cart

Hello, I am currently having an issue with the IProfileMigrator I have implemented. It seems that no methods get called in this when I am migrating carts. I have implemented the IProfileMigrator because we have some custom logic needed for line items that have custom meta properties. (the default logic collapses them into a single line item when those meta properties are supposed to be unique) It seems that it only calls the base logic from

  <add name="ProfileModule" type="EPiServer.Business.Commerce.HttpModules.ProfileModule, EPiServer.Business.Commerce" />

inside the web config. I have tried removing this from the web config but it still never hits my IProfileMigrator.

The migrator looks like this:

    [ServiceConfiguration(typeof(IProfileMigrator), Lifecycle = ServiceInstanceScope.Hybrid)]
    public class CEProfileMigrator: IProfileMigrator
    {
      //blah blah my 3 methods
    }

The dev I am working with set the lifecycle as such but I am not sure that is correct.

And its even more apparent in the initializable module where we have it added as a singleton.

        public void ConfigureContainer(ServiceConfigurationContext context)
        {
            context.Services.AddSingleton<IProfileMigrator, CEProfileMigrator>();
        }

Any insight as to why my profile migrators logic does not get called when the anonymous user logs in? I am out of ideas as to why its not being intercepted.

Add currency to Catalog Currency Directory

Hi,

i want to add Currenca to Catalog Currency Catalog programmatically. Because i want to enable it when adding new Market (also done from code)
Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

I have found CurrencyManager but it does not feel right :-/

So what repo/service/Mgr should i use in order to add a currency to the  Catalog Currency Directory?

Best Bets - Episerver Find

Hi,

We are using the best bets on our web site. we need an additional field(Example Thumbnail image).

Is there any possible way to add additional field to best bets?

Thanks in Advance.

Regards,

Mekala.

Expired pages are still appearing in the search bar at the front end

Expired pages are still appearing in the search bar at the front end

How to trigger content save from custom TinyMCE button (old version)?

Hi!

I've created a custom button for the TinyMCE editor in Episerver v10 (and therefore using the old verison of TinyMCE). When adding an event handler for the Changed-event, I can see that the modification performed by my button to the contents is seend by TinyMCE. But Episerver doesn't respond to the change (by giving me the possiblity to publish the contents).

The custom button inserts an input-field in the XhtmlString. I use the TinyMCE command mceInsertContent to perform the update. In addition I call ed.undoManager.add() after the update has been completed.

Any ideas on how to make Episerver react on the change?

Regards,

Bjørn Terje Svennes


'Default membership provider must be specified' error when creating an account

I've configured my Commerce site to use Asp.NET Identity and it all seems to be OK: I can create contacts, organizations etc and view all other Commerce content OK.

However, if I create a contact and then choose 'Create account' for the contact the 'Create Account' dialog appears correctly but when I fill in the detilas and click 'OK',

I get the following error: 

Server Error in '/' Application.

Default Membership Provider must be specified.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Configuration.Provider.ProviderException: Default Membership Provider must be specified.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

[ProviderException: Default Membership Provider must be specified.]
   System.Web.Security.Membership.Initialize() +534
   Mediachase.Commerce.Security.SecurityContext.ValidateMembershipUserPassword(String password) +17
   Mediachase.Commerce.Manager.Apps.Customer.Modules.MembershipAccountEdit.UserPassword_ServerValidate(Object source, ServerValidateEventArgs args) +66
   System.Web.UI.WebControls.CustomValidator.OnServerValidate(String value) +173
   System.Web.UI.WebControls.BaseValidator.Validate() +134
   System.Web.UI.Page.Validate() +200
   System.Web.UI.HtmlControls.HtmlButton.RaisePostBackEvent(String eventArgument) +111
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1890


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4001.0

I've seen this error mentioned in the forums in connection with the login page, but not with this dialog - any ideas anyone?

Content Delivery API Search: Internal Server Error

Hello,

I'm running a clean install of Alloy with Episerver.ContentDeliveryApi.CMS, .Core, .OAuth, .Search installed with contentapiread user group setup and created an Initialization module that sets the default minimum role to Empty. 

For some reason when I try to run a GET Request like http://localhost:{number}/api/episerver/v2.0/search/content/?filter=ContentType/any(t:t eq 'StartPage')

in Postman I get {"error":{"code":"InternalServerError","message":"Unable to retrieve search response"}}.

Screenshot: https://drive.google.com/file/d/1qOtI6PoQ1Bk3CWUZRnFkp3RIzgssRWB7/view?usp=sharing

Why is this occuring? 

Upgrading Commerce: Migration failure on Serializable Cart. Upgrading from version 11.2.6 to version 13.3.1

The migration seems to be failing when trying to migrate the carts over to the new version.

3:31:05 PM: Completed migration step: Migrates existing serializable carts.

3:31:05 PM: Failed to migrate existing serializable carts: System.NullReferenceException: Object reference not set to an instance of an object. at EPiServer.Commerce.Serialization.Json.HashTableJsonConverter.ReadHashtableItem(JsonReader reader, Hashtable hashTable, JsonSerializer serializer) at EPiServer.Commerce.Serialization.Json.HashTableJsonConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolvePropertyAndCreatorValues(JsonObjectContract contract, JsonProperty containerProperty, JsonReader reader, Type objectType) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters(JsonReader reader, JsonObjectContract contract, JsonProperty containerProperty, ObjectConstructor`1 creator, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at EPiServer.Commerce.Order.Internal.DataAccess.SerializableCartDB.CreateCarts(DataTable cartData) at EPiServer.Commerce.Order.Internal.DataAccess.SerializableCartDB.FindCarts(CartFilter cartFilter) at EPiServer.Commerce.Internal.Migration.Steps.MigrateExistingSerializableCartsStep.Execute(IProgressMessenger progressMessenger)

3:31:05 PM: Start migrating serializable carts...

3:31:05 PM: Starting migration step: Migrates existing serializable carts.

Has anyone had an issue like this? Is there any way to get more details on this error?

Episerver commerce catalog not loading in Url property

Image may be NSFW.
Clik here to view.

Hey all, I am having an issue where the catalog is greyed out and wont load when trying to add catalog content to a EPiServer.Url property. However we can see the full catalog in the cms and that loads just fine:

Image may be NSFW.
Clik here to view.

Does anyone know the reason as to why the commerce catalog would hang here but not on the episerver panel?

Which file types can the Crawler Connector extract text content from?

Some quick investigation seems to suggest that crawled Word documents get their content extracted but not PDFs.

Can't find (hehe) anything on this in the docs it seems.

500 error on loading /EPiServer.Forms/DataSubmit/GetFormInitScript

I have just installed Episerver Forms and when I try it out (without any customization) I get this error:

Process information: 
    Process ID: 9628 
    Process name: w3wp.exe 
Exception information: 
    Exception type: HttpUnhandledException 
    Exception message: Exception of type 'System.Web.HttpUnhandledException' was thrown.
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.<>c__DisplayClass5_0.<Wrap>b__0()
   at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.Wrap[TResult](Func`1 func)
   at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
Type 'EPiServer.Forms.Core.Models.ValidationModelBase' with data contract name 'ValidationModelBase:http://schemas.datacontract.org/2004/07/EPiServer.Forms.Core.Models' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteValidatorInfoToJson(XmlWriterDelegator , Object , XmlObjectSerializerWriteContextComplexJson , ClassDataContract , XmlDictionaryString[] )
   at System.Runtime.Serialization.Json.JsonClassDataContract.WriteJsonValueCore(XmlWriterDelegator jsonWriter, Object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteArrayOfValidatorInfoToJson(XmlWriterDelegator , Object , XmlObjectSerializerWriteContextComplexJson , CollectionDataContract )
   at System.Runtime.Serialization.Json.JsonCollectionDataContract.WriteJsonValueCore(XmlWriterDelegator jsonWriter, Object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteValidationDescriptorToJson(XmlWriterDelegator , Object , XmlObjectSerializerWriteContextComplexJson , ClassDataContract , XmlDictionaryString[] )
   at System.Runtime.Serialization.Json.JsonClassDataContract.WriteJsonValueCore(XmlWriterDelegator jsonWriter, Object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteArrayOfValidationDescriptorToJson(XmlWriterDelegator , Object , XmlObjectSerializerWriteContextComplexJson , CollectionDataContract )
   at System.Runtime.Serialization.Json.JsonCollectionDataContract.WriteJsonValueCore(XmlWriterDelegator jsonWriter, Object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.SerializeWithXsiTypeAtTopLevel(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle originalDeclaredTypeHandle, Type graphType)
   at
Request information: 
    Request URL: https://[CustomerUrl]/EPiServer.Forms/DataSubmit/GetFormInitScript?formGuid=[GUID]&formLanguage=en 
    Request path: /EPiServer.Forms/DataSubmit/GetFormInitScript 

That (I think) make me ge another error in javascript:

Cannot set property '$workingForm' of undefined

And that is happening in this function

function x(e) {
    var t = N.getFormIdentifier(e)
      , n = epi.EPiServer.Forms[t];
      return n.$workingForm = e, <-- Here
      n
}

I am using:
<package id="EPiServer.Forms" version="4.25.1" targetFramework="net472" />
<package id="EPiServer.Forms.Core" version="4.25.1" targetFramework="net472" />
<package id="EPiServer.Forms.UI" version="4.25.1" targetFramework="net472" />

500 error on loading /EPiServer.Forms/DataSubmit/GetFormInitScript

I have just installed Episerver Forms and when I try it out (without any customization) I get this error:

Process information: 
    Process ID: 9628 
    Process name: w3wp.exe 
Exception information: 
    Exception type: HttpUnhandledException 
    Exception message: Exception of type 'System.Web.HttpUnhandledException' was thrown.
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.<>c__DisplayClass5_0.<Wrap>b__0()
   at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.Wrap[TResult](Func`1 func)
   at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
Type 'EPiServer.Forms.Core.Models.ValidationModelBase' with data contract name 'ValidationModelBase:http://schemas.datacontract.org/2004/07/EPiServer.Forms.Core.Models' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteValidatorInfoToJson(XmlWriterDelegator , Object , XmlObjectSerializerWriteContextComplexJson , ClassDataContract , XmlDictionaryString[] )
   at System.Runtime.Serialization.Json.JsonClassDataContract.WriteJsonValueCore(XmlWriterDelegator jsonWriter, Object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteArrayOfValidatorInfoToJson(XmlWriterDelegator , Object , XmlObjectSerializerWriteContextComplexJson , CollectionDataContract )
   at System.Runtime.Serialization.Json.JsonCollectionDataContract.WriteJsonValueCore(XmlWriterDelegator jsonWriter, Object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.SerializeWithXsiType(XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerializeReference(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteValidationDescriptorToJson(XmlWriterDelegator , Object , XmlObjectSerializerWriteContextComplexJson , ClassDataContract , XmlDictionaryString[] )
   at System.Runtime.Serialization.Json.JsonClassDataContract.WriteJsonValueCore(XmlWriterDelegator jsonWriter, Object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(XmlWriterDelegator xmlWriter, Object obj, Boolean isDeclaredType, Boolean writeXsiType, Int32 declaredTypeID, RuntimeTypeHandle declaredTypeHandle)
   at WriteArrayOfValidationDescriptorToJson(XmlWriterDelegator , Object , XmlObjectSerializerWriteContextComplexJson , CollectionDataContract )
   at System.Runtime.Serialization.Json.JsonCollectionDataContract.WriteJsonValueCore(XmlWriterDelegator jsonWriter, Object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
   at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
   at System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.SerializeWithXsiTypeAtTopLevel(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle originalDeclaredTypeHandle, Type graphType)
   at
Request information: 
    Request URL: https://[CustomerUrl]/EPiServer.Forms/DataSubmit/GetFormInitScript?formGuid=[GUID]&formLanguage=en 
    Request path: /EPiServer.Forms/DataSubmit/GetFormInitScript 

That (I think) make me ge another error in javascript:

Cannot set property '$workingForm' of undefined

And that is happening in this function

function x(e) {
    var t = N.getFormIdentifier(e)
      , n = epi.EPiServer.Forms[t];
      return n.$workingForm = e, <-- Here
      n
}

I am using:
<package id="EPiServer.Forms" version="4.25.1" targetFramework="net472" />
<package id="EPiServer.Forms.Core" version="4.25.1" targetFramework="net472" />
<package id="EPiServer.Forms.UI" version="4.25.1" targetFramework="net472" />


Stuck on login page in Quicksilver on Azure

Hi!
I am trying to deploy Quicksilver on azure. All was good until first run after deploy.

I am stuck on login page. Default credentials do not work.
The adress bar shows adress : xxx.azurewebsites.net/Login?ReturnUrl=%2Fepiserver%2FCommerce%2FMigrate

Does that mean I am stuck on migrate and some other error is messing the migrate process?

I have tried to set  <allow users="*"/> in web.config but that does nothing.

Updating Episerver to latest version - Backend UI issue

Hi team,

When episerver is updated (including CMS,Commerce,Find) to the latest version with all the dependencies , the backend theme has been changed.

The package EPiServer.CMS.UI is updated to 11.21.5v, but when find is opened in the backend it is redirected to the old UI theme.Please help me with this issue.

Thanks in Advance.

Can I filter by "EndsWith" on PageName?

I'm using:

SearchClient.Instance.UnifiedSearch().For(searchQ)

as the basis for my search, afterwhich I've a bunch of filters I've already implented, but now I need to filter pages OUT that have a PageName that ends with "_Compare"...

I tried using "MatchContainedCaseInsensitive" like soo...

.Filter(x => !((PageData) x).PageName.MatchContainedCaseInsensitive(c => c.ToString(),"_Compare"));

but "c.ToString()" is wrong I think and I dont know what is the correct thing to put in there as "fieldSelector" as I've already selected "pagename".

Any help would be great please.

Episerver Insight relies on ASP.NET Role Provider

Hi there.

We see that during evaluation of the MenuProvider, the ProfilesMenuProvider within EPiServer.Insight.UI verifies:
1. if (PrincipalInfo.HasAdminAccess()), it adds the Menu

2. if above is not true, it goes to ProfilesRolesRepository.GetRolesForUser to verify the users access.

Within ProfilesRolesRepository.GetRolesForUser, you have a reference to Roles.GetRolesForUser(userName), which is the old ASP.NET Role Provider. It is _not_ active if we are using ASP.NET Identity (like Quicksilver) or any type of SSO integration. It means that if a user is not "HasAdminAccess", the Episerver Shell breaks as long as we do not have ASP.NET Role Providers activated.

Observed in EPiServer.Insight.UI.1.6.0

We do not see this tracked as a defect anywhere. It would not be expected due to the support of federated identity.

Casper

(Multi-site scenario) Is it possible using Find to index categories/products for each site?

Hi guys,

Currently I am working on a multiple websites project . 

Image may be NSFW.
Clik here to view.

Each site has a own catalog and each catalog has differnet categories.

There are products that sharing between catalog as a noderelation (additional categories).

Image may be NSFW.
Clik here to view.

In episerver Find, I see all three sites share the same cateogry and articles find index. 

Is it possible to index the categories and products for each site?

Is it possible to implement that the search result on each site only includes the categories/products that exists on its own catalog ?

Image may be NSFW.
Clik here to view.

Thanks, 

ChiChing

Viewing all 9076 articles
Browse latest View live