Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
javascript
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Dec 2014 at 23:58 UTC
Updated:
8 Dec 2015 at 18:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
yoroy commentedOn a probably unrelated note: timplunket and me both wondered what the 'Parent' column is all about.
Comment #2
yoroy commentedActually, no drag/drop anywhere (menus, blocks page)
Comment #3
tim.plunkettThis broke all of tabledrag. I checked menu UI and block UI as well.
It was just the result of a sloppy change in the other issue.
I manually tested, everything works now.
Comment #4
yoroy commentedChecked in simplytest.me and yes, that puts things right again.
Comment #5
jibranIt is a duplicate of #2387523: Tabledrag broken after JS setting separate asset type
Comment #6
tim.plunkettThis one was tested and RTBC'd.
Committers, please also credit @freblasty
Comment #7
jibranThis is a php code change. Can we add tests for this?
Comment #8
webchickAccording to Tim, this wouldn't give us something we could check in the markup, only in the JS settings. So presumably this needs Behat or similar to actually test meaningfully.
So for now, let's kill the regression. Committed and pushed #3 to 8.0.x. Thanks!
Leaving open/postponed for the tests for when it's possible. Ideally, this would go into some queue somewhere for "front-end stuff we really need to test when we get front-end testing."
Comment #10
tim.plunkettI agree with #8, but in case someone *really* wants to just test the PHP part of this, and assert random keys in a giant array, we could.
Comment #11
jibranWhy can't we just create a simple method just like
Drupal\system\Tests\Theme\TableTest::testThemeTableStickyHeaders()? Or a test same asPathElementFormTestforcore/lib/Drupal/Core/Render/Element/Table.php. In which we create table elements in a form (TableFormTest::buildForm()) and then do some asserts on$form = \Drupal::get('form_builder')->getForm(\Drupal\system\Tests\Element\TableFormTest());Comment #13
pavelculacov commentedjibran
This change help me, thanks!!!
Comment #14
nod_Behat is not for 8.0.x really.
Comment #15
catchJavascript test coverage might be, moving back for now.
Although this is a task.
Comment #17
joelpittetI can't see why this is postponed, it has two commits on it.