Base solution for your next web application

Activities of "pradippatil"

Hi,

I am getting following error when I use [UnitOfWork(IsDisabled=true)] on application service method and try to access navigation properties on an entity.

The ObjectContext instance has been disposed and can no longer be used for operations that require a connection.

If I remove that UOW attribute it works just fine.

What can be the issue?

Thanks

Hi,

We store all the dates in UTC format. What will be the best way to read/show all dates from DB in a specific time zone. Does ABP template provides this facility using Clock, if yes, how to use it?

Thanks

Hi,

Unit tests sometimes throw Timeout exception. What can be the cause of this exception? Running the same test again passes successfully, timeout error is inconsistent, sometimes it occurs sometimes not.

Below is the error message: System.Data.Entity.Infrastructure.CommitFailedException : An error was reported while committing a database transaction but it could not be determined whether the transaction succeeded or failed on the database server. See the inner exception and <a class="postlink" href="http://go.microsoft.com/fwlink/?LinkId=313468">http://go.microsoft.com/fwlink/?LinkId=313468</a> for more information. ---- System.Transactions.TransactionAbortedException : The transaction has aborted. -------- System.TimeoutException : Transaction Timeout

Thanks

Hi,

I have created one role and given it permissions of Roles screen's few actions such as Create. But it still shows Actions button with Edit and Delete option, for which I have not granted permissions to that role.

I have checked in js object (abp.auth.grantedPermissions), it also shows Edit and Delete permissions which I have not granted.

Can anyone say why this is happening?

I tried to check in code in GitHub repository, but I was not able to find definition of PermissionChecker.IsGrantedAsync method. It has only implemented in NullPermissionChecker and not able to find PermissionChecker class.

Also, how update permission cache when permissions of role changed?

Any quick help will be much appreciated!

Thanks

Hi,

Can we disable data filters for whole service or module? If yes, how? I need this because I have to disable MayHaveTenant filter at many places.

Thanks

Hi,

Currently, in ABP, in case of impersonation, audit fields are getting updated by the User Id of the user and not of the impersonated user. i.e. If host logs in as tenant then Tenant user id is updated in audit fields while performing any CRUD operation.

I want to change it like if host logs in as tenant and performs any CRUD operation then audit fields should get updated by the host user id instead of tenant user id. Is there any quick way to do it?

I have investigated a bit and got to know that I need to change in methods like "SetCreationAuditProperties", but this method is also not available for override. Any solution will be helpful.

Thanks

Hi,

I want to add a new property in session without changing existing functionality of module zero implemented session. How can I add new property in IAbpSession?

Hi,

Can we add multiple records in AbpUsers table with TenantId as NULL(means it will create multiple Hosts)? If yes, what are the places where we need to take care to not allow other users to be treated as Host? i.e. we need to have single host admin user, but also want to store multiple records in AbpUsers with TenantId as NULL.

Hi,

I want to use multiple resource files to have separation of localized keys/texts. I tried to add multiple resource files in Localization Source list (in PreInitilizae method of Core module) which I was able to do with no issue, but as I see we can only provide one LocalizationSourceName, hence only one resource file.

How can we use multiple resource files?

Thanks

Hi,

I want to add a layer between Host and Tenant. Below is my requirement: Host -> Tenants Host -> Extra Layer(say Reseller) -> Tenants

So, tenants can be added to Host as well as under Reseller. And reseller will be added under host. What will be the best way to add this layer using the ABP framework?

Thanks

Showing 1 to 10 of 10 entries