But should you?
The libs folder is excluded from source control and abp install-libs
recreates the files.
So your renaming of the file will not last.
There is another ~~unanswered~~ issue like this here. ** I posted a fix (for me) there! **
I have the same issue (in IdentityServer not Blazor)
It happens in the IdentityServer project where I had overridden the page. Can it be that you did that also?
And I want to make it clear that I have cleaned all obj/bin both with Visual Studio and by running delete-bin-obj-folders.bat
I started to get this error periodically sometime after updating to 5.x (can´t remember when it started exactly)
TypeError:Failed to fetch
This is just something that happens randomly (both locally and on Azure) and if I navigate from the page and to it again it is fixed so there is no way to replicate it... so no steps to reproduce at my end.
And the error message says "See the inner exception for details"... there is nothing more... but next time it happens I will add the more screenshots to show that.
But I was wondering if this could be connected to dynamic proxies because sometimes when I run locally the Swagger UI doesn´t display any of my methods and just the abp.io´s ones. When that happens I need to turn off VS and rerun everything for it to pop in again. Would using static proxies fix that issue?
p.s I had created an issue for this here but asked to discuss it here.
ABP Framework version. 5.13, Blazor WASM, EF Core
I can´t seem to change default language to Icelandic (on 5.1.1 but I just haven´t tried changing before) EXCEPT by clicking on the flag on the page. Settings don´t seem to do anything
And both my domain module and host have these
I have gone through these
Am I missing something or is this a bug?
@Sturla did you fix the file upload problem for over 30mb? web.config is being used by IIS. If you are hosting on IIS, then you need to configure it via web.config
I haven't had an opportunity to try it out yet but I will next week when I´ll be creating my production environment. I´m using Azure App Services and that uses IIS to host the application (and acts as a reverse proxy to Kestrel) if I´m not mistaken.
I´ll report back here if this is still a problem.
And one more thing... can you please not remove the comments I put on my properties? That would be awesome ;-)
can you give details and concrete examples about your solution
My services/controllers have more functions than just related to talking to the database so I have stuff like
public interface ICarsAppService : IApplicationService
{
Task<CarsDto> GetAsync(Guid id);
// ...etc. CRUD stuff from Suite
//And then I have custom stuff like this that is not db/crud related
Task UploadCarImageBlobAsync(string blobName);
// ...etc
// all of this gets removed and I need to add it again...
}
But then I also have changes in the CRUD methods e.g. swapping out their content and calling a Manager.
And then Suite also removes all the extra private readonly members (and from the constructors) so I need to add it all back in.
Now I try to add all my changes to code at the bottom so its easier to update with suite. I just copy/paste the removed code back in!
Why not just keep what is not ABP Crud? Why delete it all?
And since we are at it... can we have Suite also have the possibility to have a this. option instead of having all members starting with _ ?
I would go further and do it with services and controllers also!
I´m always adding something custom and its a pain to update. Nb. I´m not still gone live so I can iterate fast but would love to do it even faster!
For some reason all my EF Core repository tests are failing (like https://github.com/abpframework/abp/issues/10822) with the following exception
Volo.Abp.AbpInitializationException : An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module Beinni.BeinniTestBaseModule, Beinni.TestBase, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: String reference not set to an instance of a String. (Parameter 's'). See the inner exception for details.
---- System.ArgumentNullException : String reference not set to an instance of a String. (Parameter 's')
And that is after I had to add the following code in TestBaseModule as recommended after I started getting SqliteConnection does not support nested transactions.
.
Configure<AbpUnitOfWorkDefaultOptions>(options =>
{
options.TransactionBehavior = UnitOfWorkTransactionBehavior.Disabled;
});`
I also tried this this approach but still this ""String reference.. " error.
And its not this either.
I have re-compared everything and there aren´t any changes in the test projects that I'm missing.
Any ideas?
The full stack trace is this
Stack Trace: ModuleManager.InitializeModules(ApplicationInitializationContext context) AbpApplicationBase.InitializeModules() AbpApplicationWithExternalServiceProvider.Initialize(IServiceProvider serviceProvider) AbpIntegratedTest
1.ctor()
BeinniTestBase1.ctor() BeinniEntityFrameworkCoreTestBase.ctor() BankInformationRepositoryTests.ctor() line 15 RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ----- Inner Stack Trace ----- Encoding.GetBytes(String s) UserCustomerSyncronizer.Sign(String method, String urlPath, String salt, Int64 timestamp, String body) line 111 UserCustomerSyncronizer.MakeRequestAsync(Method method, String urlPath, String body) line 80 UserCustomerSyncronizer.HandleEventAsync(EntityCreatedEto
1 eventData) line 42
EventBusBase.TriggerHandlerAsync(IEventHandlerFactory asyncHandlerFactory, Type eventType, Object eventData, List1 exceptions, InboxConfig inboxConfig) AbpExceptionExtensions.ReThrow(Exception exception) EventBusBase.ThrowOriginalExceptions(Type eventType, List
1 exceptions)
EventBusBase.TriggerHandlersAsync(Type eventType, Object eventData)
LocalEventBus.PublishAsync(LocalEventMessage localEventMessage)
LocalEventBus.PublishToEventBusAsync(Type eventType, Object eventData)
EventBusBase.PublishAsync(Type eventType, Object eventData, Boolean onUnitOfWorkComplete)
UnitOfWorkEventPublisher.PublishDistributedEventsAsync(IEnumerable1 distributedEvents) UnitOfWork.CompleteAsync(CancellationToken cancellationToken) UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) CastleAsyncAbpInterceptorAdapter
1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) <<SeedTestData>b__0>d.MoveNext() line 62 --- End of stack trace from previous location --- TaskExtensions.WaitAndUnwrapException(Task task) <>c__DisplayClass15_0.<Run>b__0(Task t) ContinuationTaskFromTask.InnerInvoke() <.cctor>b__272_0(Object obj) ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- TaskExtensions.WaitAndUnwrapException(Task task) AsyncContext.Run(Func
1 action)
AsyncHelper.RunSync(Func1 action) BeinniTestBaseModule.SeedTestData(ApplicationInitializationContext context) line 58 BeinniTestBaseModule.OnApplicationInitialization(ApplicationInitializationContext context) line 53 OnApplicationInitializationModuleLifecycleContributor.Initialize(ApplicationInitializationContext context, IAbpModule module) ModuleManager.InitializeModules(ApplicationInitializationContext context)
Suite is now forcing me to remove TenantId column in a none multitenant table (doesn´t inherit from IMultiTenant)!
Invalid property names! You need to remove the following properties which are reserved properties and come with ABP base classes: TenantId
The thing is I need that column (I'm currently using it) to know what tenant created the record in that table.
The content is available for every other tenant on a central index page (showing stuff from all tenants) and then also used to display just what the individual tenant created on their subdomain page.
Why do you need to restrict this?
And what do you recommend here?