Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Follow-up to: #80855: Add element #type table and merge tableselect/tabledrag into it
Blocked by
Goal
- Remove obsolete render element #type 'tableselect'.
Comment | File | Size | Author |
---|---|---|---|
#13 | interdiff.txt | 10.57 KB | star-szr |
#13 | 1876714-13.patch | 16.74 KB | star-szr |
#12 | interdiff.txt | 1.46 KB | star-szr |
#11 | 1876714-11.patch | 6.76 KB | star-szr |
#6 | 1876714-6.patch | 5.45 KB | star-szr |
Comments
Comment #0.0
sunUpdated issue summary.
Comment #1
sunLet's see what breaks.
Expected:
Drupal\comment\Form\CommentAdminOverview
locale_translation_status_form()
Drupal\system\Tests\Form\ElementsTableSelectTest
database_test_theme_tablesort()
_form_test_tableselect_form_builder()
update_manager_update_form()
Comment #2
sunOut of the remaining usages in #1, there only appears to be one issue in the parent/meta list, so we probably have to convert/fix the other instances here.
Comment #4
sunComment #5
star-szrI'm starting to work on this.
Comment #6
star-szrInitial work in progress patch, I know I'm missing something because most or all of the LocaleUpdate* tests are failing but there is only one example that uses the #tableselect => TRUE in core. I need to populate these tables with dummy data because running them through the simpletests is just not covering it.
Comment #8
andypostwhy?
Comment #9
star-szrThat's how it works :) See https://www.drupal.org/node/1876710.
Comment #10
star-szrTaking another run at this.
Comment #11
star-szrThis should be green, I found and modified the #after_build that was previously emptying out rows for languages with no translation updates.
Edit: I also removed the now-redundant Drupal\locale\Form\TranslationStatusForm::validateForm().
Comment #12
star-szrMissing interdiff.
Comment #13
star-szrThis is going to fail but this is as far as I've gotten so far. The colspan test is proving to be tricky. I haven't even begun to look into some of the validation tests.
Comment #15
star-szrUnassigning for now, haven't had the energy to jump back into this one.
Comment #18
Mile23Not actually an issue dealing with deprecation.
Comment #27
andypost