Activities of "nhontran"

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v3.3.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi, I am working on my corporate laptop with have limit on the internet access, we have our own npm registry, what should I do to be able to run the abp generate-proxy without internet access, so far I got the error below:

[13:42:20 INF] ABP CLI (https://abp.io)
[13:42:21 INF] Version 3.3.2 (Stable)
[13:42:22 WRN] 1. HTTP request attempt failed to https://abp.io/api/app/nugetPackage/proPackageNames with an error: 403-Forbidden. Waiting 2 secs for the next try...
[13:42:25 WRN] 2. HTTP request attempt failed to https://abp.io/api/app/nugetPackage/proPackageNames with an error: 403-Forbidden. Waiting 4 secs for the next try...
[13:42:29 WRN] 3. HTTP request attempt failed to https://abp.io/api/app/nugetPackage/proPackageNames with an error: 403-Forbidden. Waiting 7 secs for the next try...
[13:42:36 ERR] Remote server returns '403-Forbidden'.
[13:42:37 WRN] 1. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.abp.cli/index.json with an error: 403-Forbidden. Waiting 2 secs for the next try...
[13:42:39 WRN] 2. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.abp.cli/index.json with an error: 403-Forbidden. Waiting 4 secs for the next try...
[13:42:43 WRN] 3. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.abp.cli/index.json with an error: 403-Forbidden. Waiting 7 secs for the next try...
[13:42:51 WRN] Unable to retrieve the latest version
[13:42:51 WRN] Remote server returns '403-Forbidden'.
[13:42:51 WRN] Couldn't determinate version of "@abp/ng.schematics" package.
[API Not Available] Please double-check the URL in the source project environment and make sure your application is up and running.

Thank you.

Hi @maliming, it works now.

Thank you.

Hi maliming, I have implemented as the guide but it does not work.

If you look at my post, I already called the MapExtraPropertiesTo method:

user.MapExtraPropertiesTo(userDto);

I also added the mapping in the Mapper Profile:

CreateMap<IdentityUser, IdentityUserDto>().MapExtraProperties();
  • ABP Framework version: v3.3.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi, I have overridden the CreateAsync method in IdentityUserAppService, and added an extra property named "isActiveDirectory":

public override async Task<IdentityUserDto> CreateAsync(IdentityUserCreateDto input)
{
    ...
    user.SetProperty(IsActiveDirectoryPropertyName, isActiveDirectory);
    ...
}

the extra property has been added successfully in db:

However, when we retrieve the mapping userDto, the ExtraProperties returned null

var userDto = ObjectMapper.Map<IdentityUser, IdentityUserDto>(user);
user.MapExtraPropertiesTo(userDto);
return userDto;

Could you please help me check?

Thank you.

Hi, I am looking for the other topics and found the answer, I have copied the access-token to the corp laptop

%UserProfile%\.abp\cli\access-token.bin

Hi, my corporate laptop has limited internet connection, it only allows to browse the internet using "virtual browser", the other tools such as cmd, powershell.... have been restricted to the internet connection which I could not login to abp using abp cli

I can access the abp openid using browser but could not with cmd:

Now I got stuck at license check and unable to launch the application using Visual Studio:

Is there any workaround to resolve this issue?

Thank you.

Hi, please ignore the question, I found that our license has been expired, we are trying to renew it.

Thank you.

Hi @maliming, it works now.

Thanks a lot for your support :)

just sent you the project, thanks.

Hi @maliming, it does not work.

First, the IFormApplicationService does not contain the GetCsvResponsesAsync() method:

        [HttpGet]
        [Route("{id}/download-responses-csv")]
        public Task<IRemoteStreamContent> GetCsvResponsesAsync(Guid id, GetResponseListInputDto input)
        {
            return FormAppService.GetCsvResponsesAsync(id, input);
        }

so, I have tried comment out this method and follow the rest, and got this error

Microsoft.AspNetCore.Routing.Matching.AmbiguousMatchException: The request matched multiple endpoints. Matches: 
Volo.Forms.Forms.FormController.GetListAsync (Volo.Forms.HttpApi)
test.formsurvey.Controllers.MyFormController.GetListAsync (test.formsurvey.HttpApi)

Can you help try on your side first?

Thank you.

Showing 101 to 110 of 199 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30