Activities of "FrancoisLabelle"

Hello,

I have issues trying to install ABP Suite using this dotnet command:

dotnet tool install -g Volo.Abp.Suite --add-source https://nuget.abp.io/[ourkey]/v3/index.json --version 5.3.5 --ignore-failed-sources ([ourkey] means I erased our guid it in this ticket).

I have to use this because abp suite install --version 5.3.5 fails too caused by a sources in my default nuget configuration that needs authentication (managed by VS but not on the command line),

By the way, I can install the latest version (7.0.2) without any problems, but none of the previous version (not even 6.0.0 or 7.0.0).

I still need previous versions !!!

Here are the error log:

C:\Program Files\Microsoft Visual Studio\2022\Professional>dotnet tool install -g Volo.Abp.Suite --add-source https://nuget.abp.io/[ourkey]/v3/index.json --version C:\Users\flabelle\AppData\Local\Temp\d060686e-24ca-4679-b255-310c5ff1ce11\restore.csproj : warning NU1801: Unable to lo ad the service index for source https://[cut...]v3/index.js on. C:\Users\flabelle\AppData\Local\Temp\d060686e-24ca-4679-b255-310c5ff1ce11\restore.csproj : warning NU1801: Unable to lo ad the service index for source https://p[cut...]/nuget/v3/index.js on. C:\Program Files\dotnet\sdk\7.0.103\NuGet.targets(132,5): error : Failed to download package 'volo.abp.suite.5.3.5' fro m 'https://nuget.abp.io/<ourkey>3/v3/package/volo.abp.suite/5.3.5/volo.abp.suite.5.3.5.nupkg '. [C:\Users\flabelle\AppData\Local\Temp\d060686e-24ca-4679-b255-310c5ff1ce11\restore.csproj] C:\Program Files\dotnet\sdk\7.0.103\NuGet.targets(132,5): error :** Response status code does not indicate success: 500 ( Internal Server Error**). [C:\Users\flabelle\AppData\Local\Temp\d060686e-24ca-4679-b255-310c5ff1ce11\restore.csproj] The tool package could not be restored. Tool 'volo.abp.suite' failed to install. This failure may have been caused by:

  • You are attempting to install a preview release and did not use the --version option to specify the version. (Yes, I did !)
  • A package by this name was found, but it was not a .NET tool. ** (It should still exists)**
  • The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem. (No, I can install the latest version)
  • You mistyped the name of the tool. (No, the name is OK)

I need this working again ASAP.

Regards

Hello,

  • ABP Framework version: v7.0
  • UI type: Blazor Server
  • DB provider: EF Core
  • **Tiered: Yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  • 1 - Create a new project using the app-pro template. DbMigrator. Run. Everything is fine.
  • 2 - Use ABP Suite, add the CmsKit Pro Module. The solution will not compile due to these errors about CmsKitProAdminBlazorServerModule and the namespace Volo.CmsKit.Pro.Admin.Blazor.Server.

By the way, during the process of adding the module... there is a prompt in background (command line window) asking to scroll and choose the version of the CmsKit pro... Why I should pick the version ?!?! Is this a default behavior of NuGet ?!?!

Thanks

I did another test using --with-public-website when creating my initial project, and then CmsKit Pro was already installed with all the needed package referenced.

But, let's say I don't want or need the public web site project in my solution...but still want to use some features of the CmsKit... Let's say I just want to use the UrlShorting feature in my Blazor project... Why adding the CmsKit Pro module is not worlking if my inital project don't have the public web part ? Should it work anyway ? I think so...

Any advice are welcome, thanks.

Hello,

I added this "question" just in case someone got this issue in the future... I already found found a work around...

But, maybe ABP Team can also do something to prevent this... ?

We have a non-tiered blazor server solution deployed in Azure, using version ABP 5.2.2. Everything is working well since months...

Nothing has changed recently (no new deployment) or any parameter changes on Azure.... (Well, something has changed... not in Azure...keep reading !)

But, we recently started to have a problem. We were not able anymore to access the /identity/users page anymore (where you can manage users). And other pages were all still working correctly...

This error was being logged in the default log file, but without any more details (before or after).

Unhandled exception rendering component: '0x1F' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.

System.Text.Json.JsonReaderException: '0x1F' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
   at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.Utf8JsonReader.Read()
   at System.Text.Json.JsonDocument.Parse(ReadOnlySpan`1 utf8JsonSpan, JsonReaderOptions readerOptions, MetadataDb& database, StackRowStack& stack)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 utf8Json, JsonReaderOptions readerOptions, Byte[] extraRentedArrayPoolBytes, PooledByteBufferWriter extraPooledByteBufferWriter)
   at System.Text.Json.JsonDocument.Parse(ReadOnlyMemory`1 json, JsonDocumentOptions options)
   at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options)
   at Volo.Abp.BlazoriseUI.Components.ObjectExtending.LookupExtensionProperty`2.GetLookupItemsAsync(String filter)
   at Volo.Abp.BlazoriseUI.Components.ObjectExtending.LookupExtensionProperty`2.SearchFilterChangedAsync(String filter)
   at Volo.Abp.BlazoriseUI.Components.ObjectExtending.LookupExtensionProperty`2.OnInitializedAsync()
   at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

After reading this post...

https://www.byteblocks.com/Post/0x1F-is-an-invalid-start-of-a-value (as of today, their TLS certificate is expired, continue on this site only if you want... I'm not telling you to do it).

... that is basically explaining that the issue might be related to compression / "gzip"... And, the post also mentioned that the person is using Cloudfare and that Coudfare might do compression while proxying the data in transit.

Bingo ! Lucky that I'm aware of this, but we recently moved some DNS management to Cloudfare... and all our DNS entries were set to their default mode "Proxied", meaning that the user does not directly hit Microsoft Azure server but reach Cloudfare server instead... Cloudfare doing the proxying.

Then. turning off the "proxied mode" to "DNS Only" fixed the issue instantly... The /identity/users pages restarted to work.

ABP Team, you appear to also use Cloudfare... so you could maybe try to reproduce this issue... or have already experienced it ?

Maybe you are already aware of this potential issue and maybe have already fixed it ?

By the way, we also have tiered solutions (api, ids, blazor server) deployed on Azure (but using 5.3.5) that were also "proxied" by Cloudfare and we did not had this issue... We did not took any chances and we turned off the proxy feature for now... but if ABP can confirm something about it, we might want to turn it back on in the future.

Regards

  • ABP Framework version: v6.0.1 (version of ABP CLI)
  • Steps to reproduce the issue:" > abp update -version 5.3.3

Is it possible to downgrade the Nuget packages of a solution ?

The documentation does not mention this... possible or impossible. Neither found a "support question" about this ?!?!?

I tried a downgrade, but I just received errors message without any detail: Unable to update package. (I woul like to know why).

E.g.

[10:38:41 WRN] Unable to update package "Volo.Abp.PermissionManagement.Application" version v5.3.4 to v5.3.3. [10:38:41 WRN] Unable to update package "Volo.Abp.PermissionManagement.Application.Contracts" version v5.3.4 to v5.3.3. [10:38:41 WRN] Unable to update package "Volo.Abp.FeatureManagement.Application" version v5.3.4 to v5.3.3. [10:38:41 WRN] Unable to update package "Volo.Abp.Caching.StackExchangeRedis" version v5.3.4 to v5.3.3. [10:38:41 WRN] Unable to update package "Volo.Abp.FeatureManagement.Application.Contracts" version v5.3.4 to v5.3.3.

Of course, I guess that when trying to do this, NuGet warns us about a package downgrade for other packages (not yet downgraded) ( NU1605 ) but this is something that I was expecting to be managed by the ABP CLI... There is certainly a way to ignore, at least temporary, these warning during the downgrade process ? I understand that we should not do this... (downgrade)... but let's say we are trying to debug something and we want to to try this downgrade... doing this manually is absolutely painful. !!!

At the same time. during an update procedure (even to upgrade to a higher version), there is a lot of these errorsthat I feel just slows down the overral process. Is this expected ? ...

[10:38:42 WRN] Unable to update package "Volo.Abp.BlobStoring.Database.Domain" version v5.3.4 to v5.3.3. [10:38:42 WRN] 1. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.abp.identity.pro.entityframeworkcore/index.json with an error: 404-Not Found. Waiting 2 secs for the next try... [10:38:42 WRN] 1. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.abp.identity.pro.domain/index.json with an error: 404-Not Found. Waiting 2 secs for the next try... [10:38:44 WRN] 2. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.saas.host.application/index.json with an error: 404-Not Found. Waiting 4 secs for the next try... [10:38:44 WRN] 2. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.saas.host.application.contracts/index.json with an error: 404-Not Found. Waiting 4 secs for the next try... [10:38:44 WRN] 2. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.abp.auditlogging.httpapi/index.json with an error: 404-Not Found. Waiting 4 secs for the next try... [10:38:44 WRN] 2. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.saas.host.httpapi.client/index.json with an error: 404-Not Found. Waiting 4 secs for the next try... [10:38:44 WRN] 2. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.abp.account.pro.public.application/index.json with an error: 404-Not Found. Waiting 4 secs for the next try... [10:38:44 WRN] 2. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.abp.aspnetcore.mvc.ui.theme.lepton/index.json with an error: 404-Not Found. Waiting 4 secs for the next try... [10:38:44 WRN] 2. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.abp.identity.pro.domain.shared/index.json with an error: 404-Not Found. Waiting 4 secs for the next try... [10:38:44 WRN] 2. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.abp.identity.pro.entityframeworkcore/index.json with an error: 404-Not Found. Waiting 4 secs for the next try... [10:38:44 WRN] 2. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.abp.identity.pro.domain/index.json with an error: 404-Not Found. Waiting 4 secs for the next try... [10:38:48 WRN] 3. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.saas.host.application/index.json with an error: 404-Not Found. Waiting 7 secs for the next try... [10:38:48 WRN] 3. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.saas.host.application.contracts/index.json with an error: 404-Not Found. Waiting 7 secs for the next try... [10:38:48 WRN] 3. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.saas.host.httpapi.client/index.json with an error: 404-Not Found. Waiting 7 secs for the next try... [10:38:48 WRN] 3. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.abp.account.pro.public.application/index.json with an error: 404-Not Found. Waiting 7 secs for the next try... [10:38:48 WRN] 3. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.abp.auditlogging.httpapi/index.json with an error: 404-Not Found. Waiting 7 secs for the next try... [10:38:48 WRN] 3. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.abp.identity.pro.domain.shared/index.json with an error: 404-Not Found. Waiting 7 secs for the next try... [10:38:48 WRN] 3. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.abp.aspnetcore.mvc.ui.theme.lepton/index.json with an error: 404-Not Found. Waiting 7 secs for the next try... [10:38:48 WRN] 3. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.abp.identity.pro.entityframeworkcore/index.json with an error: 404-Not Found. Waiting 7 secs for the next try... [10:38:48 WRN] 3. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.abp.identity.pro.domain/index.json with an error: 404-Not Found. Waiting 7 secs for the next try... [10:38:56 WRN] Unable to update package "Volo.Saas.Host.Application" version v5.3.4 to v5.3.3. [10:38:56 WRN] 1. HTTP request attempt failed to https://api.nuget.org/v3-flatcontainer/volo.abp.auditlogging.application/index.json with an error: 404-Not Found. Waiting 2 secs for the next try... [10:38:56 WRN] Unable to update package "Volo.Abp.Identity.Pro.Domain.Shared" version v5.3.4 to v5.3.3. ...

Thanks

  • ABP Framework version: v5.3.4, ABP Suite
  • Steps to reproduce the issue:"
  1. Start abp-suite
  2. Add an existing solution, eg. C:\Sources\ABigProject\ThBigSolution.sln
  3. Return to the main screen
  4. Click on the arrow beside the version number of the solution (for the solution just added)
  5. Click on Update NPM packages...

For an unknown reason, there is a recursive search for files/folders that goes OUT of the expected selected solution folder...

I understand that searching subfolders below is just normal... (E.g. C:\Sources\MyMainProject* )

But, how could you go one folder UP and do a recursive search OUTSIDE of the selected one ?!?!?! ( E.g. C:\Sources* !!!!) It makes no sense at all !!! How can this be a good idea ? You will ending up updating other projects that no one asked you to update (or never figured it will) !!! Let's image how many updates will be done if someone, like me, has unziped all the samples projects, downloaded all modules source code, has made a lot of "test projects" as proof of concepts, has made backup of the main project, etc !!!

I have this issue since a long time... That is not a new bug. can't understand how no one has complained about it yet. That should have been noticed and fixed a long time ago !

That's a major issue. Please, make sure this is fixed soon and that will never occur again.

After waiting almost an hour... a message is displaying "The xxx solutions is updated !" Well, that is not true... because ALL solutions are updated.

Thanks

Hello,

Do you have any plan to improve the search feature on the community web site ? https://community.abp.io

There are plenty of good and useful posts, but without a search engine worthy of the name, the site loses much of its value.

If I key in 3 words in the search, especially if I used the word "to", I don't want to see all posts having one of my 3 words in the title...that's counter intuitive. I want the one having the 3 words firsts... then the ones with a combination of two of them... and so one...

I've tried using double quotes syntax ( "my three words" ) or the plus sign syntax ( my + three + words ) or with named logical operators ( my AND three AND words) and it's all the same sh** results... Well, in facts, it's even worst using AND

The search engine is really better and powerful on the support web site, then why not use the same search engine for both ?!?!

Yes, I know, I can use google search with the site:community.abp.io option, but I think that the search available on the page should just be improved.

Thanks

  • ABP Framework version: v5.3.2, Suite
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace: (see screenshot)
  • Steps to reproduce the issue:"
  1. Using ABP Suite, create a new solution: Blazor, EFCore, Tiered: Yes
  2. In the module section, create a new module (MyNewModule) and wait... and wait... and wait...
    1. What can take so long ?!?!? Oh, yeah... the "super fast" yarn !!! 7 minutes run-time after the 20 seconds time taken to create the module ! But ?!?! Wait ! Where are the sub folders .\angular and .\hosts ?!?!? They got deleted ?!?!? This means that I had to wait 7 minutes for yarn to complete his tasks on projects/folder that got deleted at the end of the module creation process ?!?!? Come on ! Was this really needed ?!?!?
  3. in VS, load/reload solution, compile, run and make sur everything works until now. (Should be good at this point !)
  4. Add a new entity to the newly created module...
    1. Return to main screen and click "add an existing solution"
    2. Enter the path of the newly created module (a browse window would be nice here !)
    3. Add a new entity, with only one property and click save and generate (and be surprised of how fast it could be to generate almost 30 files in less than 2 seconds !!!)
    4. Try to compile and see all the errors...

After having struggled couples of minutes to find a work around, I had the idea to try something, add the "global::" prefix before the "namespace!" inside the the razor page and then I was able to compile the project without any error.

But, I'm not sure if it's a good thing and that we should do have to do this... Anyhow, ABP Suite needs a fix for this I think, right ?

Thanks

ABP Suite Version : 5.3.2

If you create a new entity with a primary key type of string, the generate CRUD pages does not work (the Add New page, at least in Razor mode).

The ID field is not displayed, so, the value cannot be entered and error occurs when you try to save, of course.

(The default size should be asked/entered because the default of 450 seems way too big, especially for a primary key. )

If you create records in background (directly in the DB), the update/delete feature works at least.

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ DONE Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index DONE The exact solution to your question may have been answered before, please use the search on the homepage. : No result for these issues.

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

Hello,

I might have split this "Bug report / feature request" in more than one post, but it's all related to the same...

**The main goal I would like to achieve here would be to "pre-register" some corporate users (using Azure AD) to log in in my application, but without allowing anyone else being able to self register ! And I would also like to use third party authentication in a safe way and right now, it is not because it's too easy to bypass it. ** BUG * I saw that a new "import" button as appeared recently... but it's not working ! A message says "No external login provider available * while this is not true. * My external login provider i**s setup and perfectly working **!!! I would have tried this new feature it but I can't. So, maybe it would do a part of the job when fixed. Actually, when you create a new user, even using the pro modules, there is no way to add an external user manually (let's say using Azure AD but also any other third party external provider). We cannot specify that the user is or will be an external user. Also, you absolutely need to enter a password, that will not be used anyway.

I feel like the default GUI are missing some things... and the overall identification process should be reviewed/improved because it is unsecured and missing some features that should be already there.

Despite the presence of the column IsExternal in table AbpUsers, it seems that nothing is using this column... but it could and should be used...

Here is what I would like to see and/or consider like a bug and/or an important missing feature, especially in a so called PRO module.

  1. Be able to create an external user, meaning also a "password less user", meant to be an external user ONLY.
    1. **BUG **! An external user can easily bypass the third party authentication, just by asking for a password reset and login back as a "internal user". (Note, disabling the internal user login feature is not something that we can do, we need and are using both kind of user login).
      1. To solve this bug:
        1. An external user should never be allowed to login with a password.
        2. The password reset feature should be considering the IsExternal column value and if set to true, refuse to the user a password reset attempt.
    2. Improvements needed.
      1. Put the "Is External" check box on the standard new/edit user form.
      2. When the checkbox is checked, ignore the password field and the fact that this field value is required.
      3. Add tabs to the new/edit form, with titles being the name of enabled external providers...
        1. The tab should provide a field to enter the user unique id for this provider (ObjectId for AD), (the AbpUserLogins.ProviderKey column in DB)
      4. Add the "IsExternal" column in the grid (user list)
      5. Disable the action SetPassword for External user.

P.S. I know that I can download the source code and do all of this myself, but I think that all of this should be "as default", especially for a pro module.

  1. Self registration should be improve for external user...
    1. A new two step self registration should be added for external user.
      1. First, someone should create the user as an external user.
      2. Second, the user identifies itself against the third party identity and then, complete its self registration ABP...
        1. This mean that the actual attempt to create a new user should be skipped (when already existing) and the part where the objectid is saved in AbpUserLogins table should be kept to "finalize" the user registration.
  2. Microsoft authentication should be improved...(google and twitter too...)
    1. Endpoints management should be improved. Actually hard coded (easy code change, I know...), these should be parameters as ClientId and ClientSecret are.
    2. Some optional parameters could be sent with the "oauth request", like "&promp=xxx (xxx being various possible value)" or login_hint=yyyy, etc. These could be nice to add as optional parameters concept and used to append these automatically to the URL.

Thanks

Hello,

I would like to know what is now the best way to deploy the libs folder to a clean/vanilla server (like a fresh new Web App Service in Azure) since this folder has been added to the list of exclusion in the .gitignore file.

------Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ DONE Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index DONE The exact solution to your question may have been answered before, please use the search on the homepage. Found nothing except to run the CLI command "abp install-libs"

  • ABP Framework version: v5.2
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • [ERR] An unhandled exception has occurred while executing the request. Volo.Abp.AbpException: Could not find file '/libs/@fortawesome/fontawesome-free/css/all.css' at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.GetFileInfo(IBundlerContext context, String file) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.GetAndMinifyFileContent(IBundlerContext context, String fileName) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.GetFileContentConsideringMinification(IBundlerContext context, String fileName) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.Bundle(IBundlerContext context) at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundleManager.<>c__DisplayClass16_0.b__0() at System.Collections.Generic.AbpDictionaryExtensions.<>c__DisplayClass7_0`2.b__0(TKey k) [....]
  • Steps to reproduce the issue:" Publish into Azure app service from a Git Branch... new rpoepo in DevIpsipOps.

Locally, the solution to this problem is to run "abp install-libs" and it does the job. But, remotely, the ABP client is not available...

Then, what is your recommandation for the best way to have the libs folder being restored/deployed with the application ?

  1. Remove the .gitignore exclusion and push the libs folder to my source file repository ? (What was the initial goal of this change, then ?!?!?)
  2. Find a way to deploy the ABP CLI application and launch it remotely ? (That sounds a bit complicated....)
  3. Change some files (package.json or whatever related to this) to have the packages automatically restored ? (That should be good for anyone cloning the solution from the repo also)
  4. Other ?

Thanks

Showing 1 to 10 of 10 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11