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

Activities of "mika"

Hi

Angular + Core, v7.0.0 Android works, Angular client works, Postman api call from another computer works.

I try to debug my iOS mobile app but when I try to check if tenant is awailable I get this error on server:

:11,393 [172  ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 POST http://192.168.1.108:22742/api/services/app/Account/IsTenantAvailable application/json; charset=utf-8 27
INFO  2019-10-08 19:18:11,394 [172  ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'MyCompany.MyApp.Authorization.Accounts.AccountAppService.IsTenantAvailable (MyCompany.MyApp.Application)'
INFO  2019-10-08 19:18:11,403 [172  ] ore.Mvc.Internal.ControllerActionInvoker - Route matched with {area = "app", action = "IsTenantAvailable", controller = "Account"}. Executing action MyCompany.MyApp.Authorization.Accounts.AccountAppService.IsTenantAvailable (MyCompany.MyApp.Application)
ERROR 2019-10-08 19:18:11,435 [172  ] Mvc.ExceptionHandling.AbpExceptionFilter - Padding is invalid and cannot be removed.
System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.
   at Internal.Cryptography.UniversalCryptoDecryptor.DepadBlock(Byte[] block, Int32 offset, Int32 count)
   at Internal.Cryptography.UniversalCryptoDecryptor.UncheckedTransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
   at Internal.Cryptography.UniversalCryptoTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
   at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
   at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)
   at Abp.Runtime.Security.SimpleStringCipher.Decrypt(String cipherText, String passPhrase, Byte[] salt) in D:\Github\aspnetboilerplate\src\Abp\Runtime\Security\SimpleStringCipher_NetStandard.cs:line 132
   at Abp.MultiTenancy.TenantCache`2.CreateTenantCacheItem(TTenant tenant) in D:\Github\aspnetboilerplate\src\Abp.Zero.Common\MultiTenancy\TenantCache.cs:line 91
   at Castle.Proxies.Invocations.TenantCache`2_CreateTenantCacheItem.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at Castle.Proxies.TenantCache`2Proxy.CreateTenantCacheItem(Tenant tenant)
   at Abp.Runtime.Caching.CacheExtensions.&lt;&gt;c__DisplayClass5_0`2.<Get>b__0(String k) in D:\Github\aspnetboilerplate\src\Abp\Runtime\Caching\CacheExtensions.cs:line 40
   at Abp.Runtime.Caching.CacheBase.Get(String key, Func`2 factory) in D:\Github\aspnetboilerplate\src\Abp\Runtime\Caching\CacheBase.cs:line 68
   at Abp.Runtime.Caching.CacheExtensions.Get[TKey,TValue](ICache cache, TKey key, Func`2 factory) in D:\Github\aspnetboilerplate\src\Abp\Runtime\Caching\CacheExtensions.cs:line 40
   at Castle.Proxies.Invocations.ITenantCache_GetOrNull.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at Castle.Proxies.TenantCache`2Proxy.GetOrNull(Int32 tenantId)
   at Abp.MultiTenancy.TenantStore.Find(Int32 tenantId) in D:\Github\aspnetboilerplate\src\Abp.Zero.Common\MultiTenancy\TenantStore.cs:line 14
   at Abp.MultiTenancy.TenantResolver.GetTenantIdFromContributors() in D:\Github\aspnetboilerplate\src\Abp\MultiTenancy\TenantResolver.cs:line 88
   at Abp.MultiTenancy.TenantResolver.ResolveTenantId() in D:\Github\aspnetboilerplate\src\Abp\MultiTenancy\TenantResolver.cs:line 59
   at Abp.Runtime.Session.ClaimsAbpSession.get_TenantId() in D:\Github\aspnetboilerplate\src\Abp\Runtime\Session\ClaimsAbpSession.cs:line 62
   at Abp.Auditing.AuditingHelper.CreateAuditInfo(Type type, MethodInfo method, IDictionary`2 arguments) in D:\Github\aspnetboilerplate\src\Abp\Auditing\AuditingHelper.cs:line 104
   at Abp.AspNetCore.Mvc.Auditing.AbpAuditActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next) in D:\Github\aspnetboilerplate\src\Abp.AspNetCore\AspNetCore\Mvc\Auditing\AbpAuditActionFilter.cs:line 34
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextExceptionFilterAsync()

Any adwise?

I updated my Core+Angular project to V7.2.2 and now flaticons are wrong? Any adwise? For example I have flaticon2-trash being used but now the symbol looks like flaticon2-user-outline-symbol..

Our users complain that somethimes there is a notification that "Current user is not logged in", both mobile and angular pages. I have noticed couple of times when I have opened mobile app, but this happens during normal use.

Mika

Hi

We noticed that our Mobile app changes language to english randomly. We have updated our code with V7.1.0 version. Any adwise how to fix?

Mika

Hi

Angular (single solution) & Core

I have been updating our system to V7.0.0 and got everything to work locally. Then I published project to our staging server at Azure as usual, but Angular part was not working. It actually was the old version of angular project! I was able to tell that serverside was updated.

I noticed that wwwroot/dist is updating, but angular project was previously loaded from wwwroot and not wwwroot/dist. I copied wwwroot/dist to wwwroot and it started to work.

So there has been some changes that I haven't noticed. Can you help me with this?

Hi! I upgraded to V6.0 and now dropdowns are not showing text correctly.

Any adwise?

Hi

I try to get DateTime from client, send it to database and then edit same datetime. I use the demo datetimepicker and get the date and post it to backend.

Here are the post parameters: post_parameters.PNG eventDate is the datetime object and i wrote on eventText what I set on datetimepicker. So here, I set the time to 8:30 (GMT +2) and eventDate shows that date in UTC format. Everything ok.

These values are saved to database and model is full auditet entity so there is also creation time: database.PNG

There EventDate is saved as UTC format.

Question 1:

  • <ins>Why CreationTime is not UTC?</ins> I made the post 8.30 on local time (GMT+2).

Now I Get the date and here is result from backend: get_response.PNG

Again event date is UTC, but there is nothing to clarify that this is UTC time? Question 2:

  • What I should do at client end to set it as UTC time?

This is the input field I use.

<input class="form-control" #EditEventTimeInput name="EditEventTimeInput"
                               type="datetime" formControlName="eventDate">

Form creation, input initial value set.

eventDate: this.originalHistory.eventDate.format('L LT'),

after this form initialization, I set the datetime locale and format as demo site shows

$(this.eventTime.nativeElement).datetimepicker({
            locale: abp.localization.currentLanguage.name,
            format: 'L LT'
        });

Now when date is set on input it shows 03/16/2018 6:30 AM, so it shows UTC format, or it is not converted to local time.

Angular & Core

Showing 1 to 7 of 7 entries