mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
c5dbb80a725b04c78d4f24d8b1678b958ecca878
The issue was that if you first "new up" a content item, update its content fields, and then invoke "create", its version record will be created, effectively wiping out the content fields' state. Since we already know we want to create the content item, we can new up the content item and go ahead and create its version record, deferring event handlers from being triggered when we would start out with "Create".
Description
About
Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
orchardproject.net
Languages
C#
46.6%
JavaScript
41.2%
HTML
5.6%
CSS
3.3%
SCSS
1.1%
Other
2.1%