Base solution for your next web application

Activities of "dmali"

Hi,

I've noticed that the languages are stored with their traslated names. I think that they should always be stored with their native names.

Example: German -> Deutsch

Kind regards

When I was upgrading my solution to version 4.1.0 I've noticed two things:

  • ScriptPaths.cs: path for angular javascript file is changed from "angular.min.js" to "angular.js". Is there any specific reason for this change?

  • Languages: new column "IsDisabled" is added, but I don't see any code changes to support this column. Are you planning to implement this in next release?

Kind regards

Hi,

you are the best!!!

Thank you for your support.

kind regards

Hi,

today I've tried to upgrade our AngularJs 1.x 4.0.0 solution to 4.1.0, but for some reason after applying "201706200346086_Update_ABP_Migrations" migration, EF thinks that the data model has pending changes.

Steps which I did:

  1. mergin source files
  2. updating nuget packages
  3. updating database

what I noticed is that after updating database structure (201706200346086_Update_ABP_Migrations) I get warning message in PMC saying:

Unable to update database to match the current model because there are pending changes and automatic migration is disabled. Either write the pending model changes to a code-based migration or enable automatic migration. Set DbMigrationsConfiguration.AutomaticMigrationsEnabled to true to enable automatic migration. You can use the Add-Migration command to write the pending model changes to a code-based migration.

In the database I see that the migration was executed(new line in MigrationHistory table).

If I call "Add-Migration" in PMC I will get a migration file with all changes which I did since 4.0.0.

Has anybody an idea what is going on?

Best regards

with ui-jq is working perfectly.

thnx

Question

Hi,

we are tying to use SlimScroll in our project, but for some reason it's not working correctly.

In app.js file from metronic theme everything looks ok.

even if we call App.initSlimScroll('.scroller') doesn't work always.

Does anyone know where the problem is?

thx

Hi,

we solve it like this:

using (CurrentUnitOfWork.DisableFilter(AbpDataFilters.MustHaveTenant, AbpDataFilters.MayHaveTenant))
{             
	var entities = _entityRepository
		.GetAll()
		.WhereIf(AbpSession.TenantId.HasValue, c => c.TenantId == AbpSession.TenantId.Value || c.TenantId == null) // tenant
		.WhereIf(!AbpSession.TenantId.HasValue, c => c.TenantId == null); // host

		...
}

It's working as we want, but we are not sure if it will work in multi database environment.

what's your opinion?

Best regards

Question

Hi,

in our system we would like to share one entity between host and tenant like this:

  • host can add new entities and they are visible to all tenants
  • host can see ony entities added by him (tenant id = null)
  • tenant can see enities added by him or host

Our entity implements FullAuditedEntity, IMayHaveTenant interfaces, but for some reason tenants are not able to see enitites added by host.

basically we would like to have same funcinality like you did with application languages.

Could you please tell us what we are doing wrong?

Kind reagards

Hi,

on our development server we are hosting our application on IIS with virtual directory and we have noticed that we are not able to change language.

I think it has something to do with cookies (wrong path is stored in cookie).

We are using ASP.NET 5 MVC + AngualarJs 1.x solution v3.4.0.0 [20170412] .

Kind regards

I have also noticed that.

Showing 11 to 20 of 21 entries