You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2023-11-15 20:29:52 [North Error] Register failed
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 19: 'NOT NULL constraint failed: Users.MaxUploadCapacity'.
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
--- End of stack trace from previous location ---
at SqlSugar.AdoProvider.ExecuteCommandAsync(String sql, SugarParameter[] parameters)
at SqlSugar.InsertableProvider1.ExecuteCommandAsync() at North.Core.Repository.Repository1.AddAsync(T entity) in C:\Users\31506\Documents\GitHub\North\src\North.Core\Repository\Repository.cs:line 78
at North.Pages.Auth.Register.UserRegister() in C:\Users\31506\Documents\GitHub\North\src\North\Pages\Auth\Register.razor.cs:line 89
这似乎是在UserEntity 类中缺少重要字段:MaxUploadCapacity
我尝试在UserEntity中 添加了以下字段,注册成功了,但是登录无法跳转
public int MaxUploadCapacity { get; set; } = 0;
public double MaxUploadCapacityByte => MaxUploadCapacity * 1024 * 1024;
Activity
Redns commentedon Nov 16, 2023
关于注册
计划中软件初次安装会有 引导程序,但因为很多重要功能一直没有完成,引导程序的优先级比较低,所以一直还没做。后面考虑我自己开发时间不太多,计划先把 引导程序、图片上传、仪表盘、相册管理 等功能完善起来,插件系统 等后期迭代更新
部分功能无法使用
插件系统的引入重写了很多逻辑和 UI,因为很多页面还没有进行适配,为了调试就直接将这些页面屏蔽了
BallM8964 commentedon Nov 18, 2023
还是期待先把用户注册、授权、用户名密码登录这套东西搞起来,现在等于是裸奔,不敢用啊
Redns commentedon Nov 19, 2023
收到,快马加鞭更新😂