Starts in:
2 DAYS
10 HRS
55 MIN
30 SEC
Starts in:
2 D
10 H
55 M
30 S

Activities of "rcalv002"

Shared via email, thanks

For the virtual file system problem, i installed the virtual file system ui package and saw that even though I used option-2 here, which says This approach allows you to locate templates in any folder instead of the folder defined by the depended module. It did not register the virtual file path as /Templates/NewUser.cshtml, instead it registered it as My.Project.Templates so I had to change the path to

.WithVirtualFilePath(
    "/My/Project/Templates/NewUser.cshtml",
    isInlineLocalized: true
);

This then causes a problem with the following piece of code thats intended to make dev easier because then it kind find it with the new /My/Project/Templates path.

private void ConfigureVirtualFileSystem(IWebHostEnvironment hostingEnvironment)
{
    if (hostingEnvironment.IsDevelopment())
        {
            Configure<AbpVirtualFileSystemOptions>(options =>
            {
                options.FileSets.ReplaceEmbeddedByPhysical<MyProjectDomainSharedModule>(Path.Combine(hostingEnvironment.ContentRootPath, $"..{Path.DirectorySeparatorChar}Cns.MyProject.Domain.Shared"));
                options.FileSets.ReplaceEmbeddedByPhysical<MyProjectDomainModule>(Path.Combine(hostingEnvironment.ContentRootPath, $"..{Path.DirectorySeparatorChar}Cns.MyProject.Domain"));
                options.FileSets.ReplaceEmbeddedByPhysical<MyProjectApplicationContractsModule>(Path.Combine(hostingEnvironment.ContentRootPath, $"..{Path.DirectorySeparatorChar}Cns.MyProject.Application.Contracts"));
                options.FileSets.ReplaceEmbeddedByPhysical<MyProjectApplicationModule>(Path.Combine(hostingEnvironment.ContentRootPath, $"..{Path.DirectorySeparatorChar}Cns.MyProject.Application"));
            options.FileSets.ReplaceEmbeddedByPhysical<MyProjectBlazorModule>(hostingEnvironment.ContentRootPath);
        });
    }
}

What's the correct way for this to work for both dev and prod?

We still have not receive any feedback regarding the bundling problem i detailed in the op either. Could you please help us?

Well if its copying to output directory it doesn't really make sense to have it embedded, but I tried it anyway and published, this did copy the files to Templates, but still I deployed this and still the same issue

I can confirm that the files ended up on the file system of the docker container

Bump?

Well if its copying to output directory it doesn't really make sense to have it embedded, but I tried it anyway and published, this did copy the files to Templates, but still I deployed this and still the same issue

I can confirm that the files ended up on the file system of the docker container

Answer

The issue is that this is missing in the file ProjectBlazorHostModule on the blazor.server.host project...

Configure<AbpMultiTenancyOptions>(options =>
{
    options.IsEnabled = MultiTenancyConsts.IsEnabled;
});
Answer

Using "brave" and "edge" in incognito, same problem.

Answer

Blazor.Server.Host is the startup project

I have manually changed everything to leptonx in the module successfully, but the tenant missing issue is happening straight from module creation.

Answer

Generated by ABP suite with new module solution wizard

Same error. I've uploaded a fresh project for you, just created now with abp new abpupdate -v 7.2.2 please unzip and run abp update -v 7.2.3 on this project.

Does this mean my abp login or a login for a specific project?

I replicated this on another machine by

  1. installing abp cli
  2. login to cli with my commercial account
  3. abp new -v 7.2.2
  4. abp update -v 7.2.3
Showing 11 to 20 of 63 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06