I installed a 4.4.rc2 installation
Did the DBMigrations.
When I tried to run the .Web program for the first time
AbpException: Could not find the bundle file '/libs/abp/core/abp.css' for the bundle 'Lepton.Global'!
Ok.. Thank you. I will close this ticket.
I think I may have answered my own question here.. But I'd appreciate any feedback on this:
https://docs.abp.io/en/abp/latest/Data-Filtering
Adapted from the link above. Disable the IMulitiTenant data filter.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Data;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Domain.Repositories;
namespace Acme.BookStore
{
public class MyBookService : ITransientDependency
{
private readonly IDataFilter _dataFilter;
private readonly IRepository<Book, Guid> _bookRepository;
public MyBookService(
IDataFilter dataFilter,
IRepository<Book, Guid> bookRepository)
{
_dataFilter = dataFilter;
_bookRepository = bookRepository;
}
public async Task<List<Book>> GetAllBooksForAllTenantsAsync()
{
//Temporary disable the IMultitenant filter
using (_dataFilter.Disable<IMultiTenant>())
{
return await _bookRepository.GetListAsync();
}
}
}
}
This has been asked many times before.... Including by myself.
Here was/is the temporary solution from my existing ticket.
https://support.abp.io/QA/Questions/1386/Can't-log-in-as-new-tenant
Im not sure if this is considered an error or not or what are the plans for ameliorating the issue.
Good luck! --Dave
yep that solved the issue.
For other people:
In the Domain project go to <ProjectName>TenantDatabaseMigrationHandler.cs
under the private async Task MigrateAndseedForTenantAsync method
// Create database tables if needed using (var uow = _unitOfWorkManager.Begin(requiresNew:** false** /*<- change me to false */, isTransactional: false))
// Seed data using (var uow = _unitOfWorkManager.Begin(requiresNew: false /*<- change me to false */, isTransactional: true))
Hi there; Sorry I don't have an answer to your question. But Im also a DevExtreme user and have found it difficult to integrate DevExtreme with ABP.IO (and aspnetzero).
Do you have problems with the .Key("id") part? i've found that since ABP uses inherited ID numbers, DevExtreme has a hard time finding the ID. i've had limited success working with the JSON configuration (camel case vs pascal case).
Sorry, didn't mean to hijack your post, Im looking forward to their response as well.
Best, --Dave
Yep the exact same thing was/is happening to me.
When an entity is created, and if you make an alteration to that entity, it adds the same line to the Menu file.
I did. Saw a SQL Server error,
I emailed you the error part of the logs