We are on version AspNetZero 5.2 and I have updated the TimeZoneConverter to 2.4.1
If I change the site's time zone to anything but UTC I get the above error on GetScripts and all the action menus have disappeared.
Is there a fix for this?
We are building on Mac OSX and AWS Containers
Hi there
I have added this to my table but unsure how the create record works
Is the org Id set automatically based on log on details?
Do we need to get the org Id and set the value on the table as part of the create?
If a user belongs to more that one item in the org chart how does this work? Which id is used?
Can we restrict the user to only belong to one item in the Org chart?
Can we get a list of user that sit under the current user i.e he is a manager of a department
thanks
Sorry for so many questions :(
Hi there
I have records inserting to the database via a background hang fire process
question I have is, how can I ensure the record is insert as a Tennant user i.e FullAuditedEntity, IMustHaveTenant
I will be processing different records on behave of different users in different tenants
thanks
Hi,
Is there a different approach to have the user log on to the correct tenant via the mobile app. Is it possible to pick the tenancy from of the login process?
thanks
After enabling scrolling to show all columns in the datatables the action menu gets cropped if there is only one row in the table see attached image
Is there a way to ensure the menu is` shown
https://www.dropbox.com/s/b1jv9r0bkuseq ... d.PNG?dl=0
[https://www.dropbox.com/s/b1jv9r0bkuseqyx/menucropped.PNG?dl=0])
hi there
I have tried all options and I can not get the table to show all columns - It always show the blue expand button to show the extra columns
Is there a way to enable horizontal scroll? for example the users table
.core jquery
thanks
After building and testing the project on my local machine I tried to publish to AZURE
I am getting very strange UI behaviors
The flags are missing on register user Fonts are not correct The menu on the portal does not work When I sign in the browser shows the result in text view , does not redirect to the dashboard Customize the UI hides the menu
All this is perfect on local VS run
Is there some extra step I need to do deploy the project
thanks
Hi there,
I am starting with a clean build as I had issue with the JS bundling and thought I might have made a change to cause this error but on a clean downloaded version I am getting the following errors. I am trying to include another JS library but would like the client to be running without errors before I add/port my old project across to v5. thanks I think there may be an issue with the bundle process....
VS 15.4.5
Navigated to <a class="postlink" href="http://localhost:62114/Account/Login">http://localhost:62114/Account/Login</a> GET <a class="postlink" href="http://localhost:62114/Account/Login">http://localhost:62114/Account/Login</a> [HTTP/1.1 200 OK 64ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/vendors.bundle.css">http://localhost:62114/view-resources/A ... bundle.css</a> [HTTP/1.1 404 Not Found 62ms] GET <a class="postlink" href="http://localhost:62114/metronic/dist/html/default/assets/demo/default/base/style.bundle.css">http://localhost:62114/metronic/dist/ht ... bundle.css</a> [HTTP/1.1 200 OK 432ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/account-layout-libs.css">http://localhost:62114/view-resources/A ... t-libs.css</a> [HTTP/1.1 404 Not Found 54ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/common-styles.css">http://localhost:62114/view-resources/A ... styles.css</a> [HTTP/1.1 404 Not Found 84ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Views/Account/_Layout.css">http://localhost:62114/view-resources/V ... Layout.css</a> [HTTP/1.1 200 OK 296ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/account-layout-libs.js">http://localhost:62114/view-resources/A ... ut-libs.js</a> [HTTP/1.1 404 Not Found 59ms] GET <a class="postlink" href="http://localhost:62114/AbpServiceProxies/GetAll">http://localhost:62114/AbpServiceProxies/GetAll</a> [HTTP/1.1 200 OK 398ms] GET <a class="postlink" href="http://localhost:62114/AbpScripts/GetScripts">http://localhost:62114/AbpScripts/GetScripts</a> [HTTP/1.1 200 OK 442ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/common-scripts.js">http://localhost:62114/view-resources/A ... scripts.js</a> [HTTP/1.1 404 Not Found 225ms] GET <a class="postlink" href="http://localhost:62114/Common/Scripts/_empty.js">http://localhost:62114/Common/Scripts/_empty.js</a> [HTTP/1.1 200 OK 227ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Views/Account/Login.js">http://localhost:62114/view-resources/V ... t/Login.js</a> [HTTP/1.1 200 OK 343ms] GET <a class="postlink" href="http://localhost:62114/Common/Images/app-logo-on-light.png">http://localhost:62114/Common/Images/ap ... -light.png</a> GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/account-layout-libs.js">http://localhost:62114/view-resources/A ... ut-libs.js</a> [HTTP/1.1 404 Not Found 27ms] Loading failed for the <script> with source “http://localhost:62114/view-resources/Areas/App/Views/_Bundles/account-layout-libs.js”. Login:149 TypeError: abp.timing is undefined [Learn More] GetScripts:1082:5 <anonymous> <a class="postlink" href="http://localhost:62114/AbpScripts/GetScripts:1082:5">http://localhost:62114/AbpScripts/GetScripts:1082:5</a> <anonymous> <a class="postlink" href="http://localhost:62114/AbpScripts/GetScripts:1081:2">http://localhost:62114/AbpScripts/GetScripts:1081:2</a> GET <a class="postlink" href="http://localhost:62114/metronic/src/media/app/img/bg/bg-4.jpg">http://localhost:62114/metronic/src/med ... g/bg-4.jpg</a> [HTTP/1.1 200 OK 41ms] GET <a class="postlink" href="http://localhost:62114/view-resources/Areas/App/Views/_Bundles/common-scripts.js">http://localhost:62114/view-resources/A ... scripts.js</a> [HTTP/1.1 404 Not Found 27ms] Loading failed for the <script> with source “http://localhost:62114/view-resources/Areas/App/Views/_Bundles/common-scripts.js”. Login:155 ReferenceError: jQuery is not defined [Learn More] Login:165:9 <anonymous> <a class="postlink" href="http://localhost:62114/Account/Login:165:9">http://localhost:62114/Account/Login:165:9</a>
I might not be understanding how the database UOW and async calls work as when I do the following - I get an error that the user record 'n' does not exist. What is the correct way to update the user record inside the one call from the Browser.
thanks
CheckErrors(await _userManager.CreateAsync(user));
await CurrentUnitOfWork.SaveChangesAsync();
user.UserName = $"{DateTime.Now.Year}_{userName}_{user.Id}";
await _userManager.UpdateAsync(user);
await CurrentUnitOfWork.SaveChangesAsync();
This table is not referenced in any other table
Test_AddUsersToOrganizationUnit [0:00.001] Failed: System.InvalidOperationException : The property 'Id' on entity type 'SelectItemValue' has a temporary value while attempting to change the entity's state to 'Unchanged'. Either set a permanent value explicitly or ensure that the database is configured to generate values for this property.
System.InvalidOperationException : The property 'Id' on entity type 'SelectItemValue' has a temporary value while attempting to change the entity's state to 'Unchanged'. Either set a permanent value explicitly or ensure that the database is configured to generate values for this property.
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState oldState, EntityState newState, Boolean acceptChanges)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.SetEntityState(EntityState entityState, Boolean acceptChanges, Boolean forceStateWhenUnknownKey)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.AcceptChanges()
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.AcceptAllChanges(IEnumerable1 changedEntries) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Boolean acceptAllChangesOnSuccess) at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean acceptAllChangesOnSuccess) at Abp.EntityFrameworkCore.AbpDbContext.SaveChanges() in D:\Github\aspnetboilerplate\src\Abp.EntityFrameworkCore\EntityFrameworkCore\AbpDbContext.cs:line 199 at Furiosotoro.Furiosotoro.Migrations.Seed.Host.DefaultSelectItemValuesCreator.AddValueIfNotExists(SelectItemValue value) in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\src\Furiosotoro.Furiosotoro.EntityFrameworkCore\Migrations\Seed\Host\DefaultSelectItemValues.cs:line 103 at Furiosotoro.Furiosotoro.Migrations.Seed.Host.DefaultSelectItemValuesCreator.CreateValues() in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\src\Furiosotoro.Furiosotoro.EntityFrameworkCore\Migrations\Seed\Host\DefaultSelectItemValues.cs:line 90 at Furiosotoro.Furiosotoro.Migrations.Seed.Host.DefaultSelectItemValuesCreator.Create() in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\src\Furiosotoro.Furiosotoro.EntityFrameworkCore\Migrations\Seed\Host\DefaultSelectItemValues.cs:line 83 at Furiosotoro.Furiosotoro.Migrations.Seed.Host.InitialHostDbBuilder.Create() in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\src\Furiosotoro.Furiosotoro.EntityFrameworkCore\Migrations\Seed\Host\InitialHostDbBuilder.cs:line 20 at Furiosotoro.Furiosotoro.Migrations.Seed.SeedHelper.SeedHostDb(FuriosotoroDbContext context) in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\src\Furiosotoro.Furiosotoro.EntityFrameworkCore\Migrations\Seed\SeedHelper.cs:line 26 at Furiosotoro.Furiosotoro.Migrations.Seed.SeedHelper.WithDbContext[TDbContext](IIocResolver iocResolver, Action
1 contextAction) in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\src\Furiosotoro.Furiosotoro.EntityFrameworkCore\Migrations\Seed\SeedHelper.cs:line 42
at Furiosotoro.Furiosotoro.Migrations.Seed.SeedHelper.SeedHostDb(IIocResolver iocResolver) in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\src\Furiosotoro.Furiosotoro.EntityFrameworkCore\Migrations\Seed\SeedHelper.cs:line 18
at Furiosotoro.Furiosotoro.EntityFrameworkCore.FuriosotoroEntityFrameworkCoreModule.PostInitialize() in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\src\Furiosotoro.Furiosotoro.EntityFrameworkCore\EntityFrameworkCore\FuriosotoroEntityFrameworkCoreModule.cs:line 49
at System.Collections.Generic.List1.ForEach(Action
1 action)
at Abp.AbpBootstrapper.Initialize() in D:\Github\aspnetboilerplate\src\Abp\AbpBootstrapper.cs:line 152
at Abp.TestBase.AbpIntegratedTestBase`1.InitializeAbp() in D:\Github\aspnetboilerplate\src\Abp.TestBase\TestBase\AbpIntegratedTestBase.cs:line 47
at Furiosotoro.Furiosotoro.Tests.AppTestBase..ctor() in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\test\Furiosotoro.Furiosotoro.Tests\AppTestBase.cs:line 27
at Furiosotoro.Furiosotoro.Tests.Organizations.OrganizationUnitAppService_Tests..ctor() in C:\Users\julian\Source\Repos\Furiosotoro\Furiosotoro\test\Furiosotoro.Furiosotoro.Tests\Organizations\OrganizationUnitAppService_Tests.cs:line 19
I have create this entity using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;
namespace Furiosotoro.Furiosotoro.Configuration { [Table("SelectItemValue")] public class SelectItemValue : Entity
[Required]
[MaxLength(MaxCategoryLength)]
public virtual string Category { get; set; }
[Required]
[MaxLength(MaxNameLength)]
public virtual string Name { get; set; }
[Required]
[MaxLength(MaxValueLength)]
public virtual string Value { get; set; }
public virtual int Order { get; set; }
}
}