Replies: 2 comments
-
public class LeadPart : ContentPart
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Try to follow the pattern from here: https://github.com/Lombiq/Orchard-Training-Demo-Module/blob/a2dcc8ba17ddaacffa5b097126fb9e668256fb0c/Lombiq.TrainingDemo/Controllers/PersonListController.cs#L148 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
Failed to save contentItem when using "contentItem.As()" in OrchardCore 2.1.3 without exceptions
The result saved to database is :
{"ContentItemId":"4we05tthw9aq15k3tt4m78j9ds","ContentItemVersionId":"4nyw8p39pywx01t6cb8kzdxz4a","ContentType":"Lead","DisplayText":"3333333333333","Latest":true,"Published":true,"ModifiedUtc":"2024-12-20T07:45:14.542097Z","PublishedUtc":"2024-12-20T07:45:14.6086407Z","CreatedUtc":"2024-12-20T07:45:14.542097Z","Owner":"431atmty3vvgf4jbc3v4qhx4cp","Author":"superadmin","TitlePart":{},"LeadPart":{"FirstName":{},"LastName":{},"Company":{},"Email":{},"Phone":{},"Source":{},"Status":{},"Description":{},"Id":null,"CreatedUtc":"2024-12-20T07:43:58Z","LastModifiedUtc":"2024-12-20T07:44:00Z"}}
The modifications made to the leadPart have not taken effect . What's the problem, please?
Orchard Core version
version 2.1.3
Beta Was this translation helpful? Give feedback.
All reactions