Why this should be an RC target:

Field group module is broken without it. This is also a regression introduced from #1938900: Convert theme_field_ui_table into a template

Problem/Motivation

The Field UI tables is broken in conjunction with field group module. Because field group module creates nested elements in the table. I tracked it down to the #prefix in the table element.

Before

After

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

webflo created an issue. See original summary.

webflo’s picture

Status: Active » Needs review
StatusFileSize
new881 bytes
webflo’s picture

Issue summary: View changes
StatusFileSize
new185.96 KB
new191.72 KB
webflo’s picture

swentel’s picture

Status: Needs review » Reviewed & tested by the community

Looks sane to me - we should probably also credit zuuperman because of #2605518: Table drag indentation is not rendered - both patches were created independent.

axe312’s picture

Tested it and it works. RTBC + 1

it-cru’s picture

I think this should help others to better find this patch. Perhaps this could be included in issue title ;)

field_group elements prefix with Array

nils.destoop’s picture

Webflo added a reference to the fieldgroup issue.

jcnventura’s picture

Tested also and it fixes the problem. RTBC++

alexpott’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: -rc eligible +Needs tests

This is a runtime code fix and therefore not covered but the rc eligible rules. Also it looks at though we're missing test coverage.

swentel’s picture

Really, this blocks the one of the top 30 (well, technically top 31) used contrib modules for Drupal - one that is basically ready for release, together with Display Suite. Only those two modules interact on a fundamental level with Field UI that this is really rc eligble. Not having this in, would basically mean people have to patch drupal core on day one it's released, which is just silly.

Will look for tests this evening, unless someone beats me to it the next 8 hours, but after that this is RTBC.

aspilicious’s picture

I fully agree with Swentel on this one...

webflo’s picture

Issue summary: View changes
Issue tags: +rc target triage
swentel’s picture

swentel’s picture

Status: Needs work » Needs review
Issue tags: -Needs tests
StatusFileSize
new3.7 KB
new4.56 KB

Test only + fix - took me a while to find a good entry point for this, I almost started porting field group into core, something for 8.1 maybe :p

The last submitted patch, 15: 2611758-15-fail.patch, failed testing.

The last submitted patch, 15: 2611758-15.patch, failed testing.

aspilicious’s picture

Status: Needs review » Reviewed & tested by the community

That first testbot fail was very weird and unrelated to this issue...

The last submitted patch, 15: 2611758-15-fail.patch, failed testing.

jcnventura’s picture

RTBC++

nils.destoop’s picture

RTBC++

swentel’s picture

Issue tags: -Contributed project blocker, -rc target triage

No need for those tags anymore I guess. Would be great to see this for the next minor release though.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 2: 2611758-2.patch, failed testing.

webflo’s picture

Status: Needs work » Needs review
aspilicious’s picture

Status: Needs review » Reviewed & tested by the community
cameron tod’s picture

I have applied this on a D8 project already to use field group, adding to the noise in hoping it gets into 8.0.1.

  • catch committed 5ad5797 on 8.1.x
    Issue #2611758 by swentel, webflo, zuuperman: Field UI table is broken...

  • catch committed cfe6c4e on
    Issue #2611758 by swentel, webflo, zuuperman: Field UI table is broken...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.1.x and cherry-picked to 8.0.x, thanks!

Should we have a follow-up to allow #prefix to take render arrays?

andypost’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.