here is the full stack exception
Test Name: **************Tests.Should_Get_Full Test FullName: **************Tests.Should_Get_Full Test Source: *****************************AppService_Tests.cs : line 24 Test Outcome: Failed Test Duration: 0:00:00.001
Result StackTrace:
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.Execute(IRelationalConnection connection, DbCommandMethod executeMethod, IReadOnlyDictionary2 parameterValues) at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteNonQuery(IRelationalConnection connection, IReadOnlyDictionary
2 parameterValues)
at Microsoft.EntityFrameworkCore.Migrations.MigrationCommand.ExecuteNonQuery(IRelationalConnection connection, IReadOnlyDictionary2 parameterValues) at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationCommandExecutor.ExecuteNonQuery(IEnumerable
1 migrationCommands, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreator.CreateTables()
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreator.EnsureCreated()
at Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade.EnsureCreated()
at *******************.Tests.DependencyInjection.ServiceCollectionRegistrar.Register(IIocManager iocManager) in ***************************\DependencyInjection\ServiceCollectionRegistrar.cs:line 31
at **********************TestModule.Initialize() in ********************************************************.Tests*****************TestModule.cs:line 63
at Abp.Modules.AbpModuleManager.<>c.<StartModules>b__15_1(AbpModuleInfo module)
at System.Collections.Generic.List1.ForEach(Action
1 action)
at Abp.Modules.AbpModuleManager.StartModules()
at Abp.AbpBootstrapper.Initialize()
at Abp.TestBase.AbpIntegratedTestBase1.InitializeAbp() at Abp.TestBase.AbpIntegratedTestBase
1..ctor(Boolean initializeAbp)
at *******************************.Tests.AppTestBase..ctor() in ********************************************************************\AppTestBase.cs:line 27
at **********************_Tests..ctor() in ****************************************************************_Tests.cs:line 17
Result Message: Microsoft.Data.Sqlite.SqliteException : SQLite Error 1: 'near "max": syntax error'.
No matter which test project I try to run I have an exception Message: Microsoft.Data.Sqlite.SqliteException : SQLite Error 1: 'near "max": syntax error'. Can you guys help me with that? This is very annoying.
Regards
Got it working! I had to intialized this that way:
[code] squGenderList: SelectItem[] = [{ label: 'select Gender', value: { label: this.l('None'), value: SquGenderEnum.None } },
{ label: 'Male', value: { label: this.l('Male'), value: SquGenderEnum.Male } },
{ label: 'Female', value: { label: this.l('Female'), value: SquGenderEnum.Female } }];
selectedGender: GenderItem = { label: this.l('None'), value: SquGenderEnum.None };
[/code:eh3us77j]
Hello, I am trying to use a primeng dropdownlist in a modal. Seriously I dont know whats going wrong there. Driving me nuts. Here is the dropdown in the component UI:
<p-dropdown [options]="squGenderList" [styleClass]="'squ-primeng-dropdowlist'" name="selectedGenderName" placeholder="Select gender" [(ngModel)]="selectedGender" optionLabel="name"></p-dropdown>
In the component .ts I am doing this
[code]squGenderList: GenderItem[] = [{ label: this.l('Male'), value: SquGenderEnum.Male }, { label: this.l('Female'), value: SquGenderEnum.Female }];
selectedGender: GenderItem;
[/code:2g5vpp62]
But during saving if I want to retrieve the selected object doing this.selectedGender it doenst return the selected object. It only returns the selected value. what is wrong with that thing?
Hello, I create a project .NetCore Angular2 project. Was working good. I started following the step by step development guide. I added a new component. No compiling error in the project server side or client side. But I am facing the below error. I removed the component. Still that error. I cant figure out why just adding a component makes thing go that bad.
Uncaught SyntaxError: Unexpected token < at p (eval at webpackJsonp.14.module.exports (scripts.bundle.js:266), <anonymous>:2:523) at Function.globalEval (eval at webpackJsonp.14.module.exports (scripts.bundle.js:266), <anonymous>:2:2595) at text script (eval at webpackJsonp.14.module.exports (scripts.bundle.js:266), <anonymous>:4:17204) at Nb (eval at webpackJsonp.14.module.exports (scripts.bundle.js:266), <anonymous>:4:10360) at A (eval at webpackJsonp.14.module.exports (scripts.bundle.js:266), <anonymous>:4:13887) at XMLHttpRequest.eval (eval at webpackJsonp.14.module.exports (scripts.bundle.js:266), <anonymous>:4:16491) at XMLHttpRequest.wrapFn (polyfills.bundle.js:6489) at ZoneDelegate.webpackJsonp.543.ZoneDelegate.invokeTask (polyfills.bundle.js:5614) at Object.onInvokeTask (vendor.bundle.js:39489) at ZoneDelegate.webpackJsonp.543.ZoneDelegate.invokeTask (polyfills.bundle.js:5613) at Zone.webpackJsonp.543.Zone.runTask (polyfills.bundle.js:5413) at XMLHttpRequest.ZoneTask.invoke (polyfills.bundle.js:5667)