Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'OrchardCore.Deployment.DeploymentStep' can't be serialized. #15624

Closed
SzymonSel opened this issue Mar 29, 2024 · 2 comments
Closed

'OrchardCore.Deployment.DeploymentStep' can't be serialized. #15624

SzymonSel opened this issue Mar 29, 2024 · 2 comments
Labels

Comments

@SzymonSel
Copy link
Member

Describe the bug

After upgradeing our systems from 1.8 to latest nightly build (1.9*) I'm getting this error in randomly on different instances of the same app and different Views. Most notably when trying to browse ContentItems or Deployment Plans.

System.NotSupportedException: Deserialization of types without a parameterless constructor, a singular parameterized constructor, or a parameterized constructor annotated with 'JsonConstructorAttribute' is not supported. Type 'OrchardCore.Deployment.DeploymentStep'. Path: $.DeploymentSteps[0] | LineNumber: 0 | BytePositionInLine: 151. ---> System.NotSupportedException: Deserialization of types without a parameterless constructor, a singular parameterized constructor, or a parameterized constructor annotated with 'JsonConstructorAttribute' is not supported. Type 'OrchardCore.Deployment.DeploymentStep'.

Can't realy tell how to reproduce this, nor how to debug this.

@hyzx86
Copy link
Contributor

hyzx86 commented Mar 29, 2024

@SzymonSel
Copy link
Member Author

Fanstastic, the first one is where I've come from, but the release notes, saved my day!

Thank you kindly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants