It is important to us so generated code runs flawlessly without the need to adjust and fix. Thank you for the feedback and taking care.
The content and history of the repo shall be explanatory and detailed enough.
See private repository in its history showing how the auto-generated tests failed.
https://github.com/magentuseu/abp-MyApp
see revisions 'entity 'Product' generated' and 'fix: let test code be complete'
Hope 'abp suite generate' will generate these tests perfect.
Give detailed help and examples on how to use 'abp suite generate'
Yes, this change makes the code work as expected.
I would kindly recommend implementing and running automates e2e tests of abp cli (and more) to prevent similar problems. It would boost the quality of your product!
Kind regards and thank you.
Thank you for the information.
The initial report was:
Expected: book page (for example https://localhost:44392/Books) to have a working "New book" button
Observed: "New book" button did not work
Did the button work in your docker Linux environment ?
I've been also in technical support and of course software development for a while.
I know that reproducing a problem is sometimes not easy. Right for this reason I provided a .devcontainer folder in the github repo.
Have you used it successfully? Did the devcontainer start and reproduce the problem? Have files under Pages/Books show up on your devcontainer?
I feel the devcontainer is a nearly 100% chance to reproduce, after which, the problem might speak for itself. I feel we made our fair share of effort.
If the above devcontainer procedure leads to no result, I am ok to close this ticket.
The source code actually builds and runs.
To me quality matters. Even such inaccuracies tell about the quality of a product or service.
"If you prefer to regenerate:
Update ABP CLI to the latest version:
dotnet tool update Volo.Abp.Cli -g
Recreate the solution with the same parameters you used. The latest templates are expected to generate correctly named files."
Updated abp cli today, so the latest version has the problem.
Used abp cli to create blazor-server app.
Expected:
source code file names to match namespace names
Observed:
-rw-r--r-- 1 vscode vscode 89 Dec 12 13:47 blazor_server_pwa_no_saas.Blazor.abppkg -rw-r--r-- 1 vscode vscode 4.6K Dec 12 13:40 blazor_server_pwa_no_saas.Blazor.csproj -rw-r--r-- 1 vscode vscode 490 Dec 12 13:40 blazor_server_pwa_no_saasBlazorMappers.cs -rw-r--r-- 1 vscode vscode 18K Dec 12 13:55 blazor_server_pwa_no_saasBlazorModule.cs -rw-r--r-- 1 vscode vscode 640 Dec 12 13:40 blazor_server_pwa_no_saasBrandingProvider.cs -rw-r--r-- 1 vscode vscode 370 Dec 12 13:40 blazor_server_pwa_no_saasComponentBase.cs
Note the missing . (dot) in 4 file names.