Activities of "FrancoisLabelle"

Hi,

Do you mean that or that

Regards

Well... the first post https://github.com/abpframework/abp/issues/10016#issuecomment-917707186 mentioned, at the end, that there is no such "abp downgrade" command and that you don't find that this feature would be useful...

So I guess that I have my answer... and that downgrading will remain very painfull... especialy in a large solution with custom modules.

Otherwise, what about this recuring error:

[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...

... repeating for all modules and several times during an update process ?

Hello,

Version 6.0.0 (final release) is OK... well... after a second try. I have updated CLI to 6.0.0 and Suite to 6.0.0, started it... and I got errors while trying to update packages.

2022-10-06 11:08:11.223 -04:00 [ERR] Value cannot be null. (Parameter 'source') System.ArgumentNullException: Value cannot be null. (Parameter 'source') at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable1 source, Func2 predicate, Boolean& found) at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func2 predicate) at Volo.Abp.Cli.ProjectModification.VoloNugetPackagesVersionUpdater.GetLatestVersionFromMyGet(String packageId) in D:\ci\Jenkins\workspace\abp-commercial-release

I closed everything... deleted the suite.dll in my %temp% folder (because I had issues with this previously)... started ABP Suite and proceed to update... Then, everything went well, fast, and without any update of unwanted folders...

Thanks.

The version 6.6.0-rtc.5 is not really better. Well, not yet fully tested I guess...

Packages update is working from the main page. But, when you click on solution and goes the the "crud page"...

  1. The Update menu is not the same. We miss the "switch to xxx " menu items.
  2. If you launch the "update all packages", you will get the famous "An internal error has occurred"

The underlying error is path related. Let's say you have started abp-suite in a command prompt while being in a folder named C:\MyFolder, then, the error message will tell this: ERR] Could not find a part of the path 'c:\MyFolder\MySolutionName'. System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\MyFolder\MySolutionName'.

Again, it makes no sense !?!? Why appending the "startup folder" of abp-suite to the selected solution name... when you already have the full path of the solution selected (in my case, C:\Sources\MySolutionName). ?!?!?

Also, with 5.3.4 and 6 rc5, I recurrently have this error

ERR] The file 'C:\Users\flabelle\AppData\Local\Temp\Suite.dll' already exists. System.IO.IOException: The file 'C:\Users\flabelle\AppData\Local\Temp\Suite.dll' already exists. at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite) at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite) at System.IO.File.Copy(String sourceFileName, String destFileName) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Services.SuiteAssemblyService.B6vUUTF0OS(String )

... Then I close Abp-suite, delete the suite.dll in the temp folder, and restart from scratch. Annoying !

Hello Albert,

I agree that string primary key is not the best approach, and I will not persist that way since the ABP framework does not fully support this.

But in our situation, it was useful to have a human readable key because the staff refers to this code amongst others system.

The plan was to first import the legacy records and then allow them to create new ones too. I was expecting to be able to avoid coding something "special" for it and be able to use the auto-generated pages from ABP Suite but we can't.

Sadly, the more I use ABP Suite, and the more I find this tools useless and very buggy. We had great hope in this tools to help us improve our development speed, but it clearly lacks some useful advance features and the overall quality of the tool is not equal to the quality of the ABP framework itself. Hopefully the framework is more stable. But, yes, it still a good startup point for basic stuff.

Regards

Hello Albert,

Actually, I tried with Blazor and EF Core. Tiered or not, that changes nothing. MVC or Angular, same thing also.

In facts, the main problem is that the primary key (Id) cannot be exposed by default in the CRUD page­. This should be made an option I think.

Id values are usually generated automatically. While it can make sense for GUID, INT and LONG, for string it makes no sense. Well, unless we could provide some kind of formula to autogenerate the Id... Another feature to add some day.

When the primary key type is string, then it makes no sense to not be able to present this field to the end user for the "add page".

But, actually, if you still do, then we cannot add a new entry because the insert will fail with a generic error message. Then, we can say that the provided application is not working.

So, I'm not sure why you have offered this type (string) without really supporting it ?!?!?

We might find this "unfinished feature" useful in some specific situations, but not in ours

At least, the documentation should make this clear that this type is not fully supported and that this feature is meant to... (?!?!)....

Regards

Answer
  • many-to-many with supporting custom properties in intermediate tables and wilth fully support on abp.suite
  • many-to-many UI with generated grids with related entity with options "New", "Update", "Link", "Unlink", "Delete" - example how it

Of course we need this !!!

In my humble opinion, it is like a standard basic feature that is missing. Almost all applications needs this, being able to add child records with multiple values/columns. And most, if not all, application template builder from the past 25 years has this kind of features. I'm really surprised that this is not already there in ABP Suite.

  • Actual 1-to-many or many-to-many feature should allow us, at least, to choose more than one field to be the "display property". We should be able to order them and pick the separator characte. Being able to enter something like a "format template", instead of a drop down list, would be good: E.g. {Name} - {Value} (Comments).

  • ID should be one of the available field to be picked as Display Property, especially if you choose it to be something else than a GUID (meaning that it is human readable/usable).

  • When creating a 1-to-many relation, an option should allow us to create the reverse relation at the same time.

**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). To solve this bug ..... Improvements needed. .....

I'm not sure this is a bug, even using Twitter, if I use Google social external login. I also can change the password and send an email to reset the password.

Thanks liangshiwe, I will change my point of view and stop calling this a bug... But let's say it depends of the software you authenticate too and what is the purpose of the "alternate identity provider". In the Twitter situation, they want to give you the choice. In our situation, we want to force them to use the External Provider we choose as being the corporate one. So, ok, let's say is not a bug and we will have to alter the default behavior ourselves.

And I already seen some other platform asking to link "external" and "internal account" when I tried to authenticate using a third party (Facebook, Google, etc.) and had to decide if I want to switch my account. I also seen some other platform sending you to the "Microsoft forget password page" when you have used Microsoft account to login/register.

But, you're right and I agree, usually, must platform do not care about the way you log in. They maintain both the "Internal" and "external" login option and you can use both of them like you want.

But at least, let's consider this as a future development... a parameter that we could set that will prevent the external users to use the "classical login" and prevent password change. Until then, we will customize this for our needs. Thanks.

Hello,

I had a similar issue when I have activated the Microsoft login and tested it locally on my workstation using IIS express.

My solution was to add this configuration in the web.config file of the IdentityServer project.

<system.webServer>
	<security>
		<requestFiltering>
			<!--This is needed with IISEXPRESS to allow the callback from Microsoft OAuth/OIDC authentication with a large query string. (OIDC Specs says max 2047...) -->
			<requestLimits maxQueryString="4096" />
		</requestFiltering>
	</security>
</system.webServer>

Hi, and thanks for your answer.

I admit that I'm not yet familiar with the "Docker sttuff". Will it be easier ? Not sure because I think the problem remains the same.

Actually, I'm using this standard task in Azure to deploy. In the parameters, I just fix to which web app I want to deploy. This web app is "plain", "clean", without any bundle or package installed (well, appart the default standards one provided by Microsoft)

https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/AzureRmWebAppDeploymentV4/README.md

That's what I'm calling "deployment on a clean/vanilla server". The deployment is basically an "unzip of the artifact built during the build process"... so everything should be included during the build, I agree.

Of course, during the build process, there is a sub tasks that launches the "package restore" step. And it's working well with all the NuGet packages. But there is not step (yet) to restore the /libs folder and I don't know how to do this yet because the only way I found to do this is to launch the ABP CLI with the install-libs parameters.

So, how I can do this properly during the build process ? What is the best way to do this ?

Should I insert a new "power shell script" that will launch abp.exe CLI (that I would have to include in my repo somewhere) with the parameter "install-libs" ?
Is abp.exe having dependencies ? Should I provided some environment variables to tell abp.exe where is my licence key ?

If it's not the way to go... then what should be the right method ?

P.S. For now, I just removed the exclusion in the .gitignore file, commit and push and everything has been successfully deployed, but I'm looking for the right way of doing this.

Showing 1 to 9 of 9 entries
Made with ❤️ on ABP v8.3.0-preview Updated on July 05, 2024, 15:13