When I select "Display Suite" as a style in Views and then again when trying to access the settings I get "Undefined index: delta_fields". The settings page can not open.

Changing from $this->options['delta_fields'] to $this->options['delta_fieldset']['delta_fields'] seems to resolve the issue.

I have attached a patch with this change.

Files: 
CommentFileSizeAuthor
#2 1940618-2.patch1.82 KBswentel
ds_delta_fields_option_fix.patch1.12 KBfrjo

Comments

interdruper’s picture

Status:Needs review» Reviewed & tested by the community

I reproduced the error and tested the patch submitted by frjo. It also has fixed the error for me.

swentel’s picture

Version:7.x-2.x-dev» 8.x-2.x-dev
Status:Reviewed & tested by the community» Patch (to be ported)
StatusFileSize
new1.82 KB

The patch was not entirely right, attached is the good one fixing another notice as well.

aspilicious’s picture

Issue summary:View changes
Status:Patch (to be ported)» Fixed

I didn't port the delta field stuff yet because it wasn't clear me to me what it does, why we need it.
So marking this fixed for now.

aspilicious’s picture

Status:Fixed» Closed (fixed)