Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "evbenerji"

Re-generate solve the problem. Thank you so much.

Hi, When you click the "kt_aside_toggler" button below the Brand, you sould take the error message.

Regards.

Hi @ryancyq This problem solved when I map the userContacts in _CreateOrEditModal.js like;

this.save = function () {
            ...
            var user = $('#UserInformationsForm,#UserDetailsForm').serializeFormToObject();
            var userCont = $.map(user.UserContacts, function (el) { return el });
            ...
            _userService.createOrUpdateUser({
                user: user,
                ...
                relatedUserContacts: userCont
            }).done(function () {
                abp.notify.info(app.localize('SavedSuccessfully'));
                _modalManager.close();
                abp.event.trigger('app.createOrEditUserModalSaved');
            }).always(function () {
                ...
            });
        };

Thanks for your suggestions and thanks for your interest.

Mvc.ExceptionHandling.AbpExceptionFilter - Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[Project.Resource.Dtos.UserContactDto]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'relatedUserContacts.0', line 1, position 667. (relatedUserContacts.0)

Hi, The problem before I wrote that Default Tenancy Code Name not change. When I add that code in the Tenant.cs file public new const string DefaultTenantName = "NewDefaultTenantName";

My process, Add related code in Tenan.cs (.Core/MultiTenancy/Tenant.cs) *Update-Database (First Time) *Login as Admin *Then Default Tenant comes again.

By the way, my project ASP.NET Core + Jquery

Thanks.

Showing 1 to 5 of 5 entries