Base solution for your next web application
Open Closed

ASPNET Core & Angular V5.0.3 Errors #4238


User avatar
0
gbadenhorst created

Hi,

Can anyone actually log in with the latest version?

When I started the project up, unlike 5.0.2 the scenario is reversed for me. 5.0.2: Here the UI worked with errors on the Backend side. 5.0.3: Now the UI does not work and the backend seems to be working.

I am not sure if I am handling something different from how it is supposed to be done.

Currently when I start the UI project the following errors:

This is a new segment to 5.0.3 and I could not find something relating to it in 5.0.2 and lower. I imported lodash (This is the part that I am not sure if it is the correct item to import for this.

Besides for that, I can't log in after I run the UI project:

<a class="postlink" href="http://localhost:22742/api/services/app/Session/GetCurrentLoginInformations">http://localhost:22742/api/services/app ... formations</a> {"result":null,"targetUrl":null,"success":false,"error":{"code":0,"message":"An internal error occurred during your request!","details":null,"validationErrors":null},"unAuthorizedRequest":false,"__abp":true}

Anyone maybe knows how to get out of this situation with 5.0.3 or if I am just doing something wrong?

Regards, Gideon Badenhorst


4 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team
  • User Avatar
    0
    gbadenhorst created

    Hi,

    Thank you for the link. Seems like all the action happens on Github.

    I managed to log in on FireFox which is quite interesting. Ill clear all my cookies etc on chrome and have a look.

    Another issue I encountered now is in the editions. The config for Paid side does not save at all.

    Is the paid side functionality supposed to be default for the template or is it a self-implementation item? (from what I understand it should be included but would just like to confirm?)

  • User Avatar
    0
    aaron created
    Support Team

    Here's the partial fix:

    solution seems to be adding below mapping into CustomDtoMappings class

    configuration.CreateMap<Edition, EditionInfoDto>();
    
  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks @aaron :),

    The final solution seems to be adding below mapping:

    configuration.CreateMap<Edition, EditionInfoDto>().Include<SubscribableEdition, EditionInfoDto>();