Skip to content

Fix error in ContainerSettings while editor validating#8079

Merged
sebastienros merged 1 commit into
OrchardCMS:devfrom
protoncm:patch-1
Jul 12, 2018
Merged

Fix error in ContainerSettings while editor validating#8079
sebastienros merged 1 commit into
OrchardCMS:devfrom
protoncm:patch-1

Conversation

@protoncm

@protoncm protoncm commented Jul 10, 2018

Copy link
Copy Markdown
Contributor

Hi Orchard Team

While i'm working on customize settings for content part / field

Story

so I'm attach ContainerPart in my content type that have too many parts inside. one of part has settings with input validation. when i tried to save with invalid value then we trigger a bug: exception on ...!

My investigation is because null value of ListViewProviders in ContainerSettings.cs that use in ListViewPicker view

To Fix this

ListViewProviders in TypePartEditorUpdate method need initialize

Thanks.

Hi Orchard Team

While i'm working on customize settings for content part / field

## Story 
so I'm attach `ContainerPart` in my content type  that have too many parts inside. one of part has settings with input validation.  when i tried to save with invalid value suddenly expose! 

My investigation is because null value of `ListViewProviders` in `ContainerSettings.cs` that use in `ListViewPicker` view

## To Fix this

`ListViewProviders` in `TypePartEditorUpdate` method need initialize

Thanks.
@sebastienros
sebastienros merged commit 28c547b into OrchardCMS:dev Jul 12, 2018
csutorasr pushed a commit to csutorasr/Orchard that referenced this pull request Aug 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants