seriawei / zkeacms Goto Github PK
View Code? Open in Web Editor NEWZKEACMS build with .Net 8 (.Net CMS)可视化设计在线编辑内容管理系统
Home Page: http://www.zkea.net/cms
License: GNU General Public License v3.0
ZKEACMS build with .Net 8 (.Net CMS)可视化设计在线编辑内容管理系统
Home Page: http://www.zkea.net/cms
License: GNU General Public License v3.0
这是堆栈信息:
System.Data.SqlClient.SqlException (0x80131904): 不允许启动新事务,因为有其他线程正在该会话中运行。
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action
1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.TdsExecuteTransactionManagerRequest(Byte[] buffer, TransactionManagerRequestType request, String transactionName, TransactionManagerIsolationLevel isoLevel, Int32 timeout, SqlInternalTransaction transaction, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlInternalConnectionTds.ExecuteTransactionYukon(TransactionRequest transactionRequest, String transactionName, IsolationLevel iso, SqlInternalTransaction internalTransaction)
at System.Data.SqlClient.SqlInternalConnectionTds.ExecuteTransaction(TransactionRequest transactionRequest, String name, IsolationLevel iso, SqlInternalTransaction internalTransaction)
at System.Data.SqlClient.SqlInternalConnection.BeginSqlTransaction(IsolationLevel iso, String transactionName, Boolean shouldReconnect)
at System.Data.SqlClient.SqlConnection.BeginTransaction(IsolationLevel iso, String transactionName)
at System.Data.SqlClient.SqlConnection.BeginDbTransaction(IsolationLevel isolationLevel)
at System.Data.Common.DbConnection.BeginTransaction(IsolationLevel isolationLevel)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransactionWithNoPreconditions(IsolationLevel isolationLevel)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransaction(IsolationLevel isolationLevel)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.BeginTransaction()
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(Tuple2 parameters) at Microsoft.EntityFrameworkCore.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func
3 operation, Func3 verifySucceeded) at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.Execute[TState,TResult](IExecutionStrategy strategy, TState state, Func
2 operation)
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable1 commandBatches, IRelationalConnection connection) at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IReadOnlyList
1 entries)
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(IReadOnlyList1 entriesToSave) at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Boolean acceptAllChangesOnSuccess) at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean acceptAllChangesOnSuccess) at Microsoft.EntityFrameworkCore.DbContext.SaveChanges() at Easy.RepositoryPattern.ServiceBase
2.Update(T item, Boolean saveImmediately) in G:\TDDownload\ZKEACMS.Core-2.0\ZKEACMS.Core-2.0\src\EasyFrameWork\RepositoryPattern\ServiceBase.cs:line 159
at ZKEACMS.Page.PageService.Update(PageEntity item, Boolean saveImmediately) in G:\TDDownload\ZKEACMS.Core-2.0\ZKEACMS.Core-2.0\src\ZKEACMS\Page\PageService.cs:line 57
at ZKEACMS.Page.PageService.b__13_0(PageEntity m) in G:\TDDownload\ZKEACMS.Core-2.0\ZKEACMS.Core-2.0\src\ZKEACMS\Page\PageService.cs:line 204
at Easy.Extend.ExtIEnumerable.Each[T](IEnumerable1 source, Action
1 fun) in G:\TDDownload\ZKEACMS.Core-2.0\ZKEACMS.Core-2.0\src\EasyFrameWork\Extend\ExtIEnumerable.cs:line 15
at ZKEACMS.Page.PageService.Move(String id, Int32 position, Int32 oldPosition) in G:\TDDownload\ZKEACMS.Core-2.0\ZKEACMS.Core-2.0\src\ZKEACMS\Page\PageService.cs:line 201
at ZKEACMS.Controllers.PageController.MovePage(String id, Int32 position, Int32 oldPosition) in G:\TDDownload\ZKEACMS.Core-2.0\ZKEACMS.Core-2.0\src\ZKEACMS\Controllers\PageController.cs:line 210
at lambda_method(Closure , Object , Object[] )
at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__12.MoveNext()
ClientConnectionId:7a312abb-f653-4942-ae60-2e5fba91118e
Error Number:3988,State:1,Class:16
之前发布的时候,是直接使用debug生成的程序集,现改为 release,发布的程序将会有更好的性能
之前页面切换布局,会导致原组件不能显示在页面上,需要重新将组件拖入页面中。
修改首页布局保存时报错
IService<T>
https://github.com/SeriaWei/ZKEACMS.Core/blob/master/src/EasyFrameWork/RepositoryPattern/IService.cs#L17-L20的Get方法返回的是IEnumerable<T>
类型;RedirectRouteConstraint
https://github.com/SeriaWei/ZKEACMS.Core/blob/master/src/ZKEACMS.Redirection/RedirectRouteConstraint.cs#L17-L18 类型调用Count
、First
都会调用一次数据库,如果这个类型的Match
方法返回的结果是true
,则会查询三次数据库。
建议将返回结果改为IList<T>
或List<T>
。
可直接在系统中查看日志
新建角色保存不能保存权限设置,新建完毕后修改可以
列表排序不对。
文章列表,产品列表排序错误
添加通知中心,邮件发送只作为通知中心之一
文章分类修改报错
直接使用 .cshtml 作为邮件的模板,邮件内容不再拼字符串,更友好。
布局保存失败
由于之前的资源使用了二进制序列话,.net. core 目前无法使用。将通过修改资源格式来共享
Tinymce 编辑器支持粘贴图片自动上传,上传图片一步到位,不用先上传再选了。
用 .net core 2.0 的引用方式,发布以后,包更小
Edit the html widget,but content style not the same with the page.
之前文件上传限制4M大小,现大文件采用分片上传形式上传,将不限制大小。
发布后PLUGIN下的文章、产品等的视图都没有?如何把PLUGIN 下项目的views带上
由于在开发环境依赖项生成的时候不会复制到bin目录,因此需要另外解析程序集。
前台用户登录注册
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.